GenericLinuxImageProps

class aws_cdk.aws_ec2.GenericLinuxImageProps(*, user_data=None)

Bases: object

Configuration options for GenericLinuxImage.

Parameters:

user_data (Optional[UserData]) – Initial user data. Default: - Empty UserData for Linux machines

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

# user_data: ec2.UserData

generic_linux_image_props = ec2.GenericLinuxImageProps(
    user_data=user_data
)

Attributes

user_data

Initial user data.

Default:
  • Empty UserData for Linux machines