LaunchTemplateState class

Input properties used for looking up and filtering LaunchTemplate resources.

Constructors

LaunchTemplateState({Input<String?>? arn, Input<List<LaunchTemplateBlockDeviceMapping>?>? blockDeviceMappings, Input<LaunchTemplateCapacityReservationSpecification?>? capacityReservationSpecification, Input<LaunchTemplateCpuOptions?>? cpuOptions, Input<LaunchTemplateCreditSpecification?>? creditSpecification, Input<int?>? defaultVersion, Input<String?>? description, Input<bool?>? disableApiStop, Input<bool?>? disableApiTermination, Input<String?>? ebsOptimized, Input<LaunchTemplateEnclaveOptions?>? enclaveOptions, Input<LaunchTemplateHibernationOptions?>? hibernationOptions, Input<LaunchTemplateIamInstanceProfile?>? iamInstanceProfile, Input<String?>? imageId, Input<String?>? instanceInitiatedShutdownBehavior, Input<LaunchTemplateInstanceMarketOptions?>? instanceMarketOptions, Input<LaunchTemplateInstanceRequirements?>? instanceRequirements, Input<String?>? instanceType, Input<String?>? kernelId, Input<String?>? keyName, Input<int?>? latestVersion, Input<List<LaunchTemplateLicenseSpecification>?>? licenseSpecifications, Input<LaunchTemplateMaintenanceOptions?>? maintenanceOptions, Input<LaunchTemplateMetadataOptions?>? metadataOptions, Input<LaunchTemplateMonitoring?>? monitoring, Input<String?>? name, Input<String?>? namePrefix, Input<List<LaunchTemplateNetworkInterface>?>? networkInterfaces, Input<LaunchTemplateNetworkPerformanceOptions?>? networkPerformanceOptions, Input<LaunchTemplatePlacement?>? placement, Input<LaunchTemplatePrivateDnsNameOptions?>? privateDnsNameOptions, Input<String?>? ramDiskId, Input<String?>? region, Input<List<LaunchTemplateSecondaryInterface>?>? secondaryInterfaces, Input<List<String>?>? securityGroupNames, Input<List<LaunchTemplateTagSpecification>?>? tagSpecifications, Input<Map<String, String>?>? tags, Input<Map<String, String>?>? tagsAll, Input<bool?>? updateDefaultVersion, Input<String?>? userData, Input<List<String>?>? vpcSecurityGroupIds})
Creates a new LaunchTemplateState. arn ARN of the launch template. blockDeviceMappings Specify volumes to attach to the instance besides the volumes specified by the AMI. capacityReservationSpecification Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details. cpuOptions The CPU options for the instance. See CPU Options below for more details. creditSpecification Customize the credit specification of the instance. See Credit defaultVersion Default Version of the launch template. description Description of the launch template version (VersionDescription in the EC2 API). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes. disableApiStop If true, enables EC2 Instance Stop Protection. disableApiTermination If true, enables [EC2 Instance ebsOptimized If true, the launched EC2 instance will be EBS-optimized. enclaveOptions Enable Nitro Enclaves on launched instances. See Enclave Options below for more details. hibernationOptions The hibernation options for the instance. See Hibernation Options below for more details. iamInstanceProfile The IAM Instance Profile to launch the instance with. See Instance Profile imageId The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details. instanceInitiatedShutdownBehavior Shutdown behavior for the instance. Can be stop or terminate. instanceMarketOptions The market (purchasing) option for the instance. See Market Options instanceRequirements The attribute requirements for the type of instance. If present then instanceType cannot be present. instanceType The type of the instance. If present then instanceRequirements cannot be present. kernelId The kernel ID. keyName The key name to use for the instance. latestVersion The latest version of the launch template. licenseSpecifications A list of license specifications to associate with. See License Specification below for more details. maintenanceOptions The maintenance options for the instance. See Maintenance Options below for more details. metadataOptions Customize the metadata options for the instance. See Metadata Options below for more details. monitoring The monitoring option for the instance. See Monitoring below for more details. name The name of the launch template. If you leave this blank, the provider will auto-generate a unique name. namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name. networkInterfaces Customize network interfaces to be attached at instance boot time. See Network networkPerformanceOptions Optional. placement The placement of the instance. See Placement below for more details. privateDnsNameOptions The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details. ramDiskId The ID of the RAM disk. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secondaryInterfaces Secondary interfaces to associate with instances launched from the template. See Secondary securityGroupNames A list of security group names to associate with. If you are creating Instances in a VPC, use tagSpecifications The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created. tags A map of tags to assign to the launch template. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block. updateDefaultVersion Whether to update Default Version each update. Conflicts with defaultVersion. userData The base64-encoded user data to provide when launching the instance. vpcSecurityGroupIds A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
const
LaunchTemplateState.fromMap(Map<String, dynamic> map)
factory

Properties

arn → Input<String?>?
ARN of the launch template.
final
blockDeviceMappings → Input<List<LaunchTemplateBlockDeviceMapping>?>?
Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
final
capacityReservationSpecification → Input<LaunchTemplateCapacityReservationSpecification?>?
Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
final
cpuOptions → Input<LaunchTemplateCpuOptions?>?
The CPU options for the instance. See CPU Options below for more details.
final
creditSpecification → Input<LaunchTemplateCreditSpecification?>?
Customize the credit specification of the instance. See Credit Specification below for more details.
final
defaultVersion → Input<int?>?
Default Version of the launch template.
final
description → Input<String?>?
Description of the launch template version (VersionDescription in the EC2 API). Launch templates in AWS do not have a template-level description; whenever a change to this resource creates a new version, the new version is created with this description. To give each version a distinct description, update this argument in the same apply as the other changes.
final
disableApiStop → Input<bool?>?
If true, enables EC2 Instance Stop Protection.
final
disableApiTermination → Input<bool?>?
If true, enables EC2 Instance Termination Protection
final
ebsOptimized → Input<String?>?
If true, the launched EC2 instance will be EBS-optimized.
final
enclaveOptions → Input<LaunchTemplateEnclaveOptions?>?
Enable Nitro Enclaves on launched instances. See Enclave Options below for more details.
final
hashCode → int
The hash code for this object.
no setterinherited
hibernationOptions → Input<LaunchTemplateHibernationOptions?>?
The hibernation options for the instance. See Hibernation Options below for more details.
final
iamInstanceProfile → Input<LaunchTemplateIamInstanceProfile?>?
The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
final
imageId → Input<String?>?
The AMI from which to launch the instance or use a Systems Manager parameter convention e.g. resolve:ssm:parameter-name. See docs for more details.
final
instanceInitiatedShutdownBehavior → Input<String?>?
Shutdown behavior for the instance. Can be stop or terminate. (Default: stop).
final
instanceMarketOptions → Input<LaunchTemplateInstanceMarketOptions?>?
The market (purchasing) option for the instance. See Market Options below for details.
final
instanceRequirements → Input<LaunchTemplateInstanceRequirements?>?
The attribute requirements for the type of instance. If present then instanceType cannot be present.
final
instanceType → Input<String?>?
The type of the instance. If present then instanceRequirements cannot be present.
final
kernelId → Input<String?>?
The kernel ID.
final
keyName → Input<String?>?
The key name to use for the instance.
final
latestVersion → Input<int?>?
The latest version of the launch template.
final
licenseSpecifications → Input<List<LaunchTemplateLicenseSpecification>?>?
A list of license specifications to associate with. See License Specification below for more details.
final
maintenanceOptions → Input<LaunchTemplateMaintenanceOptions?>?
The maintenance options for the instance. See Maintenance Options below for more details.
final
metadataOptions → Input<LaunchTemplateMetadataOptions?>?
Customize the metadata options for the instance. See Metadata Options below for more details.
final
monitoring → Input<LaunchTemplateMonitoring?>?
The monitoring option for the instance. See Monitoring below for more details.
final
name → Input<String?>?
The name of the launch template. If you leave this blank, the provider will auto-generate a unique name.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
networkInterfaces → Input<List<LaunchTemplateNetworkInterface>?>?
Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
final
networkPerformanceOptions → Input<LaunchTemplateNetworkPerformanceOptions?>?
final
placement → Input<LaunchTemplatePlacement?>?
The placement of the instance. See Placement below for more details.
final
privateDnsNameOptions → Input<LaunchTemplatePrivateDnsNameOptions?>?
The options for the instance hostname. The default values are inherited from the subnet. See Private DNS Name Options below for more details.
final
ramDiskId → Input<String?>?
The ID of the RAM disk.
final
region → Input<String?>?
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secondaryInterfaces → Input<List<LaunchTemplateSecondaryInterface>?>?
Secondary interfaces to associate with instances launched from the template. See Secondary Interfaces below for more details.
final
securityGroupNames → Input<List<String>?>?
A list of security group names to associate with. If you are creating Instances in a VPC, use vpcSecurityGroupIds instead.
final
tags → Input<Map<String, String>?>?
A map of tags to assign to the launch template. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
final
tagsAll → Input<Map<String, String>?>?
A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
final
tagSpecifications → Input<List<LaunchTemplateTagSpecification>?>?
The tags to apply to the resources during launch. See Tag Specifications below for more details. Default tags are currently not propagated to ASG created resources so you may wish to inject your default tags into this variable against the relevant child resource types created.
final
updateDefaultVersion → Input<bool?>?
Whether to update Default Version each update. Conflicts with defaultVersion.
final
userData → Input<String?>?
The base64-encoded user data to provide when launching the instance.
final
vpcSecurityGroupIds → Input<List<String>?>?
A list of security group IDs to associate with. Conflicts with network_interfaces.security_groups
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited