Show / Hide Table of Contents

Class LaunchTemplateState

Inheritance
System.Object
InputArgs
ResourceArgs
LaunchTemplateState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LaunchTemplateState : ResourceArgs

Constructors

View Source

LaunchTemplateState()

Declaration
public LaunchTemplateState()

Properties

View Source

Arn

The Amazon Resource Name (ARN) of the instance profile.

Declaration
public Input<string> Arn { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

DefaultVersion

The default version of the launch template.

Declaration
public Input<int> DefaultVersion { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Description

Description of the launch template.

Declaration
public Input<string> Description { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DisableApiTermination

If true, enables EC2 Instance Termination Protection

Declaration
public Input<bool> DisableApiTermination { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

ImageId

The AMI from which to launch the instance.

Declaration
public Input<string> ImageId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

InstanceType

The type of the instance.

Declaration
public Input<string> InstanceType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

KernelId

The kernel ID.

Declaration
public Input<string> KernelId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

KeyName

The key name to use for the instance.

Declaration
public Input<string> KeyName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LatestVersion

The latest version of the launch template.

Declaration
public Input<int> LatestVersion { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

RamDiskId

The ID of the RAM disk.

Declaration
public Input<string> RamDiskId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

VpcSecurityGroupIds

A list of security group IDs to associate with.

Declaration
public InputList<string> VpcSecurityGroupIds { get; set; }
Property Value
Type Description
InputList<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.