LaunchTemplateAttributes
- class aws_cdk.aws_ec2.LaunchTemplateAttributes(*, launch_template_id=None, launch_template_name=None, version_number=None)
Bases:
object
Attributes for an imported LaunchTemplate.
- Parameters:
launch_template_id (
Optional
[str
]) – The identifier of the Launch Template. Exactly one oflaunchTemplateId
andlaunchTemplateName
may be set. Default: Nonelaunch_template_name (
Optional
[str
]) – The name of the Launch Template. Exactly one oflaunchTemplateId
andlaunchTemplateName
may be set. Default: Noneversion_number (
Optional
[str
]) – The version number of this launch template to use. Default: Version: “$Default”
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_ec2 as ec2 launch_template_attributes = ec2.LaunchTemplateAttributes( launch_template_id="launchTemplateId", launch_template_name="launchTemplateName", version_number="versionNumber" )
Attributes
- launch_template_id
The identifier of the Launch Template.
Exactly one of
launchTemplateId
andlaunchTemplateName
may be set.- Default:
None
- launch_template_name
The name of the Launch Template.
Exactly one of
launchTemplateId
andlaunchTemplateName
may be set.- Default:
None
- version_number
The version number of this launch template to use.
- Default:
Version: “$Default”