CfnLaunchConfigurationProps

class aws_cdk.aws_autoscaling.CfnLaunchConfigurationProps(*, image_id, instance_type, associate_public_ip_address=None, block_device_mappings=None, classic_link_vpc_id=None, classic_link_vpc_security_groups=None, ebs_optimized=None, iam_instance_profile=None, instance_id=None, instance_monitoring=None, kernel_id=None, key_name=None, launch_configuration_name=None, placement_tenancy=None, ram_disk_id=None, security_groups=None, spot_price=None, user_data=None)

Bases: object

__init__(*, image_id, instance_type, associate_public_ip_address=None, block_device_mappings=None, classic_link_vpc_id=None, classic_link_vpc_security_groups=None, ebs_optimized=None, iam_instance_profile=None, instance_id=None, instance_monitoring=None, kernel_id=None, key_name=None, launch_configuration_name=None, placement_tenancy=None, ram_disk_id=None, security_groups=None, spot_price=None, user_data=None)

Properties for defining a AWS::AutoScaling::LaunchConfiguration.

Parameters
  • image_id (str) – AWS::AutoScaling::LaunchConfiguration.ImageId.

  • instance_type (str) – AWS::AutoScaling::LaunchConfiguration.InstanceType.

  • associate_public_ip_address (Union[bool, None, IResolvable]) – AWS::AutoScaling::LaunchConfiguration.AssociatePublicIpAddress.

  • block_device_mappings (Union[IResolvable, None, List[Union[IResolvable, BlockDeviceMappingProperty]]]) – AWS::AutoScaling::LaunchConfiguration.BlockDeviceMappings.

  • classic_link_vpc_id (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.ClassicLinkVPCId.

  • classic_link_vpc_security_groups (Optional[List[str]]) – AWS::AutoScaling::LaunchConfiguration.ClassicLinkVPCSecurityGroups.

  • ebs_optimized (Union[bool, None, IResolvable]) – AWS::AutoScaling::LaunchConfiguration.EbsOptimized.

  • iam_instance_profile (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.IamInstanceProfile.

  • instance_id (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.InstanceId.

  • instance_monitoring (Union[bool, None, IResolvable]) – AWS::AutoScaling::LaunchConfiguration.InstanceMonitoring.

  • kernel_id (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.KernelId.

  • key_name (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.KeyName.

  • launch_configuration_name (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.LaunchConfigurationName.

  • placement_tenancy (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.PlacementTenancy.

  • ram_disk_id (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.RamDiskId.

  • security_groups (Optional[List[str]]) – AWS::AutoScaling::LaunchConfiguration.SecurityGroups.

  • spot_price (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.SpotPrice.

  • user_data (Optional[str]) – AWS::AutoScaling::LaunchConfiguration.UserData.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html

Attributes

associate_public_ip_address

AWS::AutoScaling::LaunchConfiguration.AssociatePublicIpAddress.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cf-as-launchconfig-associatepubip

Return type

Union[bool, None, IResolvable]

block_device_mappings

AWS::AutoScaling::LaunchConfiguration.BlockDeviceMappings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-blockdevicemappings

Return type

Union[IResolvable, None, List[Union[IResolvable, BlockDeviceMappingProperty]]]

AWS::AutoScaling::LaunchConfiguration.ClassicLinkVPCId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-classiclinkvpcid

Return type

Optional[str]

AWS::AutoScaling::LaunchConfiguration.ClassicLinkVPCSecurityGroups.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-classiclinkvpcsecuritygroups

Return type

Optional[List[str]]

ebs_optimized

AWS::AutoScaling::LaunchConfiguration.EbsOptimized.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-ebsoptimized

Return type

Union[bool, None, IResolvable]

iam_instance_profile

AWS::AutoScaling::LaunchConfiguration.IamInstanceProfile.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-iaminstanceprofile

Return type

Optional[str]

image_id

AWS::AutoScaling::LaunchConfiguration.ImageId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-imageid

Return type

str

instance_id

AWS::AutoScaling::LaunchConfiguration.InstanceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-instanceid

Return type

Optional[str]

instance_monitoring

AWS::AutoScaling::LaunchConfiguration.InstanceMonitoring.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-instancemonitoring

Return type

Union[bool, None, IResolvable]

instance_type

AWS::AutoScaling::LaunchConfiguration.InstanceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-instancetype

Return type

str

kernel_id

AWS::AutoScaling::LaunchConfiguration.KernelId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-kernelid

Return type

Optional[str]

key_name

AWS::AutoScaling::LaunchConfiguration.KeyName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-keyname

Return type

Optional[str]

launch_configuration_name

AWS::AutoScaling::LaunchConfiguration.LaunchConfigurationName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-autoscaling-launchconfig-launchconfigurationname

Return type

Optional[str]

placement_tenancy

AWS::AutoScaling::LaunchConfiguration.PlacementTenancy.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-placementtenancy

Return type

Optional[str]

ram_disk_id

AWS::AutoScaling::LaunchConfiguration.RamDiskId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-ramdiskid

Return type

Optional[str]

security_groups

AWS::AutoScaling::LaunchConfiguration.SecurityGroups.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-securitygroups

Return type

Optional[List[str]]

spot_price

AWS::AutoScaling::LaunchConfiguration.SpotPrice.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-spotprice

Return type

Optional[str]

user_data

AWS::AutoScaling::LaunchConfiguration.UserData.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-launchconfig.html#cfn-as-launchconfig-userdata

Return type

Optional[str]