Class LaunchTemplateState
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LaunchTemplateState : ResourceArgs
Constructors
View SourceLaunchTemplateState()
Declaration
public LaunchTemplateState()
Properties
View SourceArn
The Amazon Resource Name (ARN) of the instance profile.
Declaration
public Input<string> Arn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
BlockDeviceMappings
Specify volumes to attach to the instance besides the volumes specified by the AMI. See Block Devices below for details.
Declaration
public InputList<LaunchTemplateBlockDeviceMappingGetArgs> BlockDeviceMappings { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchTemplateBlockDeviceMappingGetArgs> |
CapacityReservationSpecification
Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.
Declaration
public Input<LaunchTemplateCapacityReservationSpecificationGetArgs> CapacityReservationSpecification { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateCapacityReservationSpecificationGetArgs> |
CpuOptions
The CPU options for the instance. See CPU Options below for more details.
Declaration
public Input<LaunchTemplateCpuOptionsGetArgs> CpuOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateCpuOptionsGetArgs> |
CreditSpecification
Customize the credit specification of the instance. See Credit Specification below for more details.
Declaration
public Input<LaunchTemplateCreditSpecificationGetArgs> CreditSpecification { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateCreditSpecificationGetArgs> |
DefaultVersion
The default version of the launch template.
Declaration
public Input<int> DefaultVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Description
Description of the launch template.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DisableApiTermination
If true, enables EC2 Instance
Termination Protection
Declaration
public Input<bool> DisableApiTermination { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EbsOptimized
If true, the launched EC2 instance will be EBS-optimized.
Declaration
public Input<string> EbsOptimized { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ElasticGpuSpecifications
The elastic GPU to attach to the instance. See Elastic GPU below for more details.
Declaration
public InputList<LaunchTemplateElasticGpuSpecificationGetArgs> ElasticGpuSpecifications { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchTemplateElasticGpuSpecificationGetArgs> |
ElasticInferenceAccelerator
Configuration block containing an Elastic Inference Accelerator to attach to the instance. See Elastic Inference Accelerator below for more details.
Declaration
public Input<LaunchTemplateElasticInferenceAcceleratorGetArgs> ElasticInferenceAccelerator { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateElasticInferenceAcceleratorGetArgs> |
HibernationOptions
The hibernation options for the instance. See Hibernation Options below for more details.
Declaration
public Input<LaunchTemplateHibernationOptionsGetArgs> HibernationOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateHibernationOptionsGetArgs> |
IamInstanceProfile
The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.
Declaration
public Input<LaunchTemplateIamInstanceProfileGetArgs> IamInstanceProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateIamInstanceProfileGetArgs> |
ImageId
The AMI from which to launch the instance.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceInitiatedShutdownBehavior
Shutdown behavior for the instance. Can be stop or terminate.
(Default: stop).
Declaration
public Input<string> InstanceInitiatedShutdownBehavior { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceMarketOptions
The market (purchasing) option for the instance. See Market Options below for details.
Declaration
public Input<LaunchTemplateInstanceMarketOptionsGetArgs> InstanceMarketOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateInstanceMarketOptionsGetArgs> |
InstanceType
The type of the instance.
Declaration
public Input<string> InstanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KernelId
The kernel ID.
Declaration
public Input<string> KernelId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyName
The key name to use for the instance.
Declaration
public Input<string> KeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
LatestVersion
The latest version of the launch template.
Declaration
public Input<int> LatestVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
LicenseSpecifications
A list of license specifications to associate with. See License Specification below for more details.
Declaration
public InputList<LaunchTemplateLicenseSpecificationGetArgs> LicenseSpecifications { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchTemplateLicenseSpecificationGetArgs> |
MetadataOptions
Customize the metadata options for the instance. See Metadata Options below for more details.
Declaration
public Input<LaunchTemplateMetadataOptionsGetArgs> MetadataOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateMetadataOptionsGetArgs> |
Monitoring
The monitoring option for the instance. See Monitoring below for more details.
Declaration
public Input<LaunchTemplateMonitoringGetArgs> Monitoring { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplateMonitoringGetArgs> |
Name
The name of the launch template. If you leave this blank, this provider will auto-generate a unique name.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NamePrefix
Creates a unique name beginning with the specified prefix. Conflicts with name.
Declaration
public Input<string> NamePrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
NetworkInterfaces
Customize network interfaces to be attached at instance boot time. See Network Interfaces below for more details.
Declaration
public InputList<LaunchTemplateNetworkInterfaceGetArgs> NetworkInterfaces { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchTemplateNetworkInterfaceGetArgs> |
Placement
The placement of the instance. See Placement below for more details.
Declaration
public Input<LaunchTemplatePlacementGetArgs> Placement { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchTemplatePlacementGetArgs> |
RamDiskId
The ID of the RAM disk.
Declaration
public Input<string> RamDiskId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SecurityGroupNames
A list of security group names to associate with. If you are creating Instances in a VPC, use
vpc_security_group_ids instead.
Declaration
public InputList<string> SecurityGroupNames { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
Tags
A map of tags to assign to the launch template.
Declaration
public InputMap<object> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
TagSpecifications
The tags to apply to the resources during launch. See Tag Specifications below for more details.
Declaration
public InputList<LaunchTemplateTagSpecificationGetArgs> TagSpecifications { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchTemplateTagSpecificationGetArgs> |
UserData
The Base64-encoded user data to provide when launching the instance.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpcSecurityGroupIds
A list of security group IDs to associate with.
Declaration
public InputList<string> VpcSecurityGroupIds { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |