Class LaunchConfigurationArgs
Inherited Members
Namespace: Pulumi.Aws.Ec2
Assembly: Pulumi.Aws.dll
Syntax
public sealed class LaunchConfigurationArgs : ResourceArgs
Constructors
View SourceLaunchConfigurationArgs()
Declaration
public LaunchConfigurationArgs()
Properties
View SourceAssociatePublicIpAddress
Associate a public ip address with an instance in a VPC.
Declaration
public Input<bool> AssociatePublicIpAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EbsBlockDevices
Additional EBS block devices to attach to the instance. See Block Devices below for details.
Declaration
public InputList<LaunchConfigurationEbsBlockDeviceArgs> EbsBlockDevices { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchConfigurationEbsBlockDeviceArgs> |
EbsOptimized
If true, the launched EC2 instance will be EBS-optimized.
Declaration
public Input<bool> EbsOptimized { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EnableMonitoring
Enables/disables detailed monitoring. This is enabled by default.
Declaration
public Input<bool> EnableMonitoring { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
EphemeralBlockDevices
Customize Ephemeral (also known as "Instance Store") volumes on the instance. See Block Devices below for details.
Declaration
public InputList<LaunchConfigurationEphemeralBlockDeviceArgs> EphemeralBlockDevices { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<LaunchConfigurationEphemeralBlockDeviceArgs> |
IamInstanceProfile
The name attribute of the IAM instance profile to associate with launched instances.
Declaration
public Input<string> IamInstanceProfile { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ImageId
The EC2 image ID to launch.
Declaration
public Input<string> ImageId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
InstanceType
The size of instance to launch.
Declaration
public Input<string> InstanceType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
KeyName
The key name that should be used for the instance.
Declaration
public Input<string> KeyName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
The name of the launch configuration. 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> |
PlacementTenancy
The tenancy of the instance. Valid values are
"default" or "dedicated", see AWS's Create Launch Configuration
for more details
Declaration
public Input<string> PlacementTenancy { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
RootBlockDevice
Customize details about the root block device of the instance. See Block Devices below for details.
Declaration
public Input<LaunchConfigurationRootBlockDeviceArgs> RootBlockDevice { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<LaunchConfigurationRootBlockDeviceArgs> |
SecurityGroups
A list of associated security group IDS.
Declaration
public InputList<string> SecurityGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |
SpotPrice
The maximum price to use for reserving spot instances.
Declaration
public Input<string> SpotPrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UserData
The user data to provide when launching the instance. Do not pass gzip-compressed data via this argument; see user_data_base64 instead.
Declaration
public Input<string> UserData { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
UserDataBase64
Can be used instead of user_data to pass base64-encoded binary data directly. Use this instead of user_data whenever the value is not a valid UTF-8 string. For example, gzip-encoded user data must be base64-encoded and passed via this argument to avoid corruption.
Declaration
public Input<string> UserDataBase64 { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpcClassicLinkId
The ID of a ClassicLink-enabled VPC. Only applies to EC2-Classic instances. (eg. vpc-2730681a)
Declaration
public Input<string> VpcClassicLinkId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
VpcClassicLinkSecurityGroups
The IDs of one or more security groups for the specified ClassicLink-enabled VPC (eg. sg-46ae3d11).
Declaration
public InputList<string> VpcClassicLinkSecurityGroups { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |