Show / Hide Table of Contents

Class LaunchTemplateArgs

Inheritance
System.Object
InputArgs
ResourceArgs
LaunchTemplateArgs
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 LaunchTemplateArgs : ResourceArgs

Constructors

View Source

LaunchTemplateArgs()

Declaration
public LaunchTemplateArgs()

Properties

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<LaunchTemplateBlockDeviceMappingArgs> BlockDeviceMappings { get; set; }
Property Value
Type Description
InputList<LaunchTemplateBlockDeviceMappingArgs>
View Source

CapacityReservationSpecification

Targeting for EC2 capacity reservations. See Capacity Reservation Specification below for more details.

Declaration
public Input<LaunchTemplateCapacityReservationSpecificationArgs> CapacityReservationSpecification { get; set; }
Property Value
Type Description
Input<LaunchTemplateCapacityReservationSpecificationArgs>
View Source

CpuOptions

The CPU options for the instance. See CPU Options below for more details.

Declaration
public Input<LaunchTemplateCpuOptionsArgs> CpuOptions { get; set; }
Property Value
Type Description
Input<LaunchTemplateCpuOptionsArgs>
View Source

CreditSpecification

Customize the credit specification of the instance. See Credit Specification below for more details.

Declaration
public Input<LaunchTemplateCreditSpecificationArgs> CreditSpecification { get; set; }
Property Value
Type Description
Input<LaunchTemplateCreditSpecificationArgs>
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<LaunchTemplateElasticGpuSpecificationArgs> ElasticGpuSpecifications { get; set; }
Property Value
Type Description
InputList<LaunchTemplateElasticGpuSpecificationArgs>
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<LaunchTemplateElasticInferenceAcceleratorArgs> ElasticInferenceAccelerator { get; set; }
Property Value
Type Description
Input<LaunchTemplateElasticInferenceAcceleratorArgs>
View Source

HibernationOptions

The hibernation options for the instance. See Hibernation Options below for more details.

Declaration
public Input<LaunchTemplateHibernationOptionsArgs> HibernationOptions { get; set; }
Property Value
Type Description
Input<LaunchTemplateHibernationOptionsArgs>
View Source

IamInstanceProfile

The IAM Instance Profile to launch the instance with. See Instance Profile below for more details.

Declaration
public Input<LaunchTemplateIamInstanceProfileArgs> IamInstanceProfile { get; set; }
Property Value
Type Description
Input<LaunchTemplateIamInstanceProfileArgs>
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<LaunchTemplateInstanceMarketOptionsArgs> InstanceMarketOptions { get; set; }
Property Value
Type Description
Input<LaunchTemplateInstanceMarketOptionsArgs>
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

LicenseSpecifications

A list of license specifications to associate with. See License Specification below for more details.

Declaration
public InputList<LaunchTemplateLicenseSpecificationArgs> LicenseSpecifications { get; set; }
Property Value
Type Description
InputList<LaunchTemplateLicenseSpecificationArgs>
View Source

MetadataOptions

Customize the metadata options for the instance. See Metadata Options below for more details.

Declaration
public Input<LaunchTemplateMetadataOptionsArgs> MetadataOptions { get; set; }
Property Value
Type Description
Input<LaunchTemplateMetadataOptionsArgs>
View Source

Monitoring

The monitoring option for the instance. See Monitoring below for more details.

Declaration
public Input<LaunchTemplateMonitoringArgs> Monitoring { get; set; }
Property Value
Type Description
Input<LaunchTemplateMonitoringArgs>
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<LaunchTemplateNetworkInterfaceArgs> NetworkInterfaces { get; set; }
Property Value
Type Description
InputList<LaunchTemplateNetworkInterfaceArgs>
View Source

Placement

The placement of the instance. See Placement below for more details.

Declaration
public Input<LaunchTemplatePlacementArgs> Placement { get; set; }
Property Value
Type Description
Input<LaunchTemplatePlacementArgs>
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<LaunchTemplateTagSpecificationArgs> TagSpecifications { get; set; }
Property Value
Type Description
InputList<LaunchTemplateTagSpecificationArgs>
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.