1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. Instance

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ec2.Instance

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Resource Type definition for AWS::EC2::Instance

Create Instance Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Instance(name: string, args?: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
             args: Optional[InstanceArgs] = None,
             opts: Optional[ResourceOptions] = None)

@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             additional_info: Optional[str] = None,
             affinity: Optional[InstanceAffinity] = None,
             availability_zone: Optional[str] = None,
             block_device_mappings: Optional[Sequence[InstanceBlockDeviceMappingArgs]] = None,
             cpu_options: Optional[CpuOptionsPropertiesArgs] = None,
             credit_specification: Optional[CreditSpecificationPropertiesArgs] = None,
             disable_api_termination: Optional[bool] = None,
             ebs_optimized: Optional[bool] = None,
             elastic_gpu_specifications: Optional[Sequence[InstanceElasticGpuSpecificationArgs]] = None,
             elastic_inference_accelerators: Optional[Sequence[InstanceElasticInferenceAcceleratorArgs]] = None,
             enclave_options: Optional[EnclaveOptionsPropertiesArgs] = None,
             hibernation_options: Optional[HibernationOptionsPropertiesArgs] = None,
             host_id: Optional[str] = None,
             host_resource_group_arn: Optional[str] = None,
             iam_instance_profile: Optional[str] = None,
             image_id: Optional[str] = None,
             instance_initiated_shutdown_behavior: Optional[str] = None,
             instance_type: Optional[str] = None,
             ipv6_address_count: Optional[int] = None,
             ipv6_addresses: Optional[Sequence[InstanceIpv6AddressArgs]] = None,
             kernel_id: Optional[str] = None,
             key_name: Optional[str] = None,
             launch_template: Optional[InstanceLaunchTemplateSpecificationArgs] = None,
             license_specifications: Optional[Sequence[InstanceLicenseSpecificationArgs]] = None,
             monitoring: Optional[bool] = None,
             network_interfaces: Optional[Sequence[InstanceNetworkInterfaceArgs]] = None,
             placement_group_name: Optional[str] = None,
             private_dns_name_options: Optional[InstancePrivateDnsNameOptionsArgs] = None,
             private_ip_address: Optional[str] = None,
             propagate_tags_to_volume_on_creation: Optional[bool] = None,
             ramdisk_id: Optional[str] = None,
             security_group_ids: Optional[Sequence[str]] = None,
             security_groups: Optional[Sequence[str]] = None,
             source_dest_check: Optional[bool] = None,
             ssm_associations: Optional[Sequence[InstanceSsmAssociationArgs]] = None,
             subnet_id: Optional[str] = None,
             tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
             tenancy: Optional[str] = None,
             user_data: Optional[str] = None,
             volumes: Optional[Sequence[InstanceVolumeArgs]] = None)
func NewInstance(ctx *Context, name string, args *InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs? args = null, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: aws-native:ec2:Instance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args InstanceArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InstanceArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Instance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Instance resource accepts the following input properties:

AdditionalInfo string
This property is reserved for internal use. If you use it, the stack fails with this error: Bad property set: [Testing this property] (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: 0XXXXXX-49c7-4b40-8bcc-76885dcXXXXX).
Affinity Pulumi.AwsNative.Ec2.InstanceAffinity
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
AvailabilityZone string
The Availability Zone of the instance.
BlockDeviceMappings List<Pulumi.AwsNative.Ec2.Inputs.InstanceBlockDeviceMapping>
The block device mapping entries that defines the block devices to attach to the instance at launch.
CpuOptions Pulumi.AwsNative.Ec2.Inputs.CpuOptionsProperties
The CPU options for the instance.
CreditSpecification Pulumi.AwsNative.Ec2.Inputs.CreditSpecificationProperties
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited.
DisableApiTermination bool
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can.
EbsOptimized bool
Indicates whether the instance is optimized for Amazon EBS I/O.
ElasticGpuSpecifications List<Pulumi.AwsNative.Ec2.Inputs.InstanceElasticGpuSpecification>
An elastic GPU to associate with the instance.
ElasticInferenceAccelerators List<Pulumi.AwsNative.Ec2.Inputs.InstanceElasticInferenceAccelerator>
An elastic inference accelerator to associate with the instance.
EnclaveOptions Pulumi.AwsNative.Ec2.Inputs.EnclaveOptionsProperties
Indicates whether the instance is enabled for AWS Nitro Enclaves.
HibernationOptions Pulumi.AwsNative.Ec2.Inputs.HibernationOptionsProperties
Indicates whether an instance is enabled for hibernation.
HostId string
If you specify host for the Affinity property, the ID of a dedicated host that the instance is associated with. If you don't specify an ID, Amazon EC2 launches the instance onto any available, compatible dedicated host in your account.
HostResourceGroupArn string
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
IamInstanceProfile string
The IAM instance profile.
ImageId string
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
InstanceInitiatedShutdownBehavior string
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
InstanceType string
The instance type.
Ipv6AddressCount int
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
Ipv6Addresses List<Pulumi.AwsNative.Ec2.Inputs.InstanceIpv6Address>
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
KernelId string
The ID of the kernel.
KeyName string
The name of the key pair.
LaunchTemplate Pulumi.AwsNative.Ec2.Inputs.InstanceLaunchTemplateSpecification
The launch template to use to launch the instances.
LicenseSpecifications List<Pulumi.AwsNative.Ec2.Inputs.InstanceLicenseSpecification>
The license configurations.
Monitoring bool
Specifies whether detailed monitoring is enabled for the instance.
NetworkInterfaces List<Pulumi.AwsNative.Ec2.Inputs.InstanceNetworkInterface>
The network interfaces to associate with the instance.
PlacementGroupName string
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
PrivateDnsNameOptions Pulumi.AwsNative.Ec2.Inputs.InstancePrivateDnsNameOptions
The options for the instance hostname.
PrivateIpAddress string
[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
PropagateTagsToVolumeOnCreation bool
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch. If you specify true and you assign tags to the instance, those tags are automatically assigned to all of the volumes that you attach to the instance at launch. If you specify false, those tags are not assigned to the attached volumes.
RamdiskId string
The ID of the RAM disk to select.
SecurityGroupIds List<string>
The IDs of the security groups.
SecurityGroups List<string>
the names of the security groups. For a nondefault VPC, you must use security group IDs instead.
SourceDestCheck bool
Specifies whether to enable an instance launched in a VPC to perform NAT.
SsmAssociations List<Pulumi.AwsNative.Ec2.Inputs.InstanceSsmAssociation>
The SSM document and parameter values in AWS Systems Manager to associate with this instance.
SubnetId string
[EC2-VPC] The ID of the subnet to launch the instance into.
Tags List<Pulumi.AwsNative.Inputs.Tag>
The tags to add to the instance.
Tenancy string
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
UserData string
The user data to make available to the instance.
Volumes List<Pulumi.AwsNative.Ec2.Inputs.InstanceVolume>
The volumes to attach to the instance.
AdditionalInfo string
This property is reserved for internal use. If you use it, the stack fails with this error: Bad property set: [Testing this property] (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: 0XXXXXX-49c7-4b40-8bcc-76885dcXXXXX).
Affinity InstanceAffinity
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
AvailabilityZone string
The Availability Zone of the instance.
BlockDeviceMappings []InstanceBlockDeviceMappingArgs
The block device mapping entries that defines the block devices to attach to the instance at launch.
CpuOptions CpuOptionsPropertiesArgs
The CPU options for the instance.
CreditSpecification CreditSpecificationPropertiesArgs
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited.
DisableApiTermination bool
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can.
EbsOptimized bool
Indicates whether the instance is optimized for Amazon EBS I/O.
ElasticGpuSpecifications []InstanceElasticGpuSpecificationArgs
An elastic GPU to associate with the instance.
ElasticInferenceAccelerators []InstanceElasticInferenceAcceleratorArgs
An elastic inference accelerator to associate with the instance.
EnclaveOptions EnclaveOptionsPropertiesArgs
Indicates whether the instance is enabled for AWS Nitro Enclaves.
HibernationOptions HibernationOptionsPropertiesArgs
Indicates whether an instance is enabled for hibernation.
HostId string
If you specify host for the Affinity property, the ID of a dedicated host that the instance is associated with. If you don't specify an ID, Amazon EC2 launches the instance onto any available, compatible dedicated host in your account.
HostResourceGroupArn string
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
IamInstanceProfile string
The IAM instance profile.
ImageId string
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
InstanceInitiatedShutdownBehavior string
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
InstanceType string
The instance type.
Ipv6AddressCount int
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
Ipv6Addresses []InstanceIpv6AddressArgs
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
KernelId string
The ID of the kernel.
KeyName string
The name of the key pair.
LaunchTemplate InstanceLaunchTemplateSpecificationArgs
The launch template to use to launch the instances.
LicenseSpecifications []InstanceLicenseSpecificationArgs
The license configurations.
Monitoring bool
Specifies whether detailed monitoring is enabled for the instance.
NetworkInterfaces []InstanceNetworkInterfaceArgs
The network interfaces to associate with the instance.
PlacementGroupName string
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
PrivateDnsNameOptions InstancePrivateDnsNameOptionsArgs
The options for the instance hostname.
PrivateIpAddress string
[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
PropagateTagsToVolumeOnCreation bool
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch. If you specify true and you assign tags to the instance, those tags are automatically assigned to all of the volumes that you attach to the instance at launch. If you specify false, those tags are not assigned to the attached volumes.
RamdiskId string
The ID of the RAM disk to select.
SecurityGroupIds []string
The IDs of the security groups.
SecurityGroups []string
the names of the security groups. For a nondefault VPC, you must use security group IDs instead.
SourceDestCheck bool
Specifies whether to enable an instance launched in a VPC to perform NAT.
SsmAssociations []InstanceSsmAssociationArgs
The SSM document and parameter values in AWS Systems Manager to associate with this instance.
SubnetId string
[EC2-VPC] The ID of the subnet to launch the instance into.
Tags TagArgs
The tags to add to the instance.
Tenancy string
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
UserData string
The user data to make available to the instance.
Volumes []InstanceVolumeArgs
The volumes to attach to the instance.
additionalInfo String
This property is reserved for internal use. If you use it, the stack fails with this error: Bad property set: [Testing this property] (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: 0XXXXXX-49c7-4b40-8bcc-76885dcXXXXX).
affinity InstanceAffinity
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
availabilityZone String
The Availability Zone of the instance.
blockDeviceMappings List<InstanceBlockDeviceMapping>
The block device mapping entries that defines the block devices to attach to the instance at launch.
cpuOptions CpuOptionsProperties
The CPU options for the instance.
creditSpecification CreditSpecificationProperties
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited.
disableApiTermination Boolean
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can.
ebsOptimized Boolean
Indicates whether the instance is optimized for Amazon EBS I/O.
elasticGpuSpecifications List<InstanceElasticGpuSpecification>
An elastic GPU to associate with the instance.
elasticInferenceAccelerators List<InstanceElasticInferenceAccelerator>
An elastic inference accelerator to associate with the instance.
enclaveOptions EnclaveOptionsProperties
Indicates whether the instance is enabled for AWS Nitro Enclaves.
hibernationOptions HibernationOptionsProperties
Indicates whether an instance is enabled for hibernation.
hostId String
If you specify host for the Affinity property, the ID of a dedicated host that the instance is associated with. If you don't specify an ID, Amazon EC2 launches the instance onto any available, compatible dedicated host in your account.
hostResourceGroupArn String
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
iamInstanceProfile String
The IAM instance profile.
imageId String
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
instanceInitiatedShutdownBehavior String
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceType String
The instance type.
ipv6AddressCount Integer
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
ipv6Addresses List<InstanceIpv6Address>
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
kernelId String
The ID of the kernel.
keyName String
The name of the key pair.
launchTemplate InstanceLaunchTemplateSpecification
The launch template to use to launch the instances.
licenseSpecifications List<InstanceLicenseSpecification>
The license configurations.
monitoring Boolean
Specifies whether detailed monitoring is enabled for the instance.
networkInterfaces List<InstanceNetworkInterface>
The network interfaces to associate with the instance.
placementGroupName String
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
privateDnsNameOptions InstancePrivateDnsNameOptions
The options for the instance hostname.
privateIpAddress String
[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
propagateTagsToVolumeOnCreation Boolean
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch. If you specify true and you assign tags to the instance, those tags are automatically assigned to all of the volumes that you attach to the instance at launch. If you specify false, those tags are not assigned to the attached volumes.
ramdiskId String
The ID of the RAM disk to select.
securityGroupIds List<String>
The IDs of the security groups.
securityGroups List<String>
the names of the security groups. For a nondefault VPC, you must use security group IDs instead.
sourceDestCheck Boolean
Specifies whether to enable an instance launched in a VPC to perform NAT.
ssmAssociations List<InstanceSsmAssociation>
The SSM document and parameter values in AWS Systems Manager to associate with this instance.
subnetId String
[EC2-VPC] The ID of the subnet to launch the instance into.
tags List<Tag>
The tags to add to the instance.
tenancy String
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
userData String
The user data to make available to the instance.
volumes List<InstanceVolume>
The volumes to attach to the instance.
additionalInfo string
This property is reserved for internal use. If you use it, the stack fails with this error: Bad property set: [Testing this property] (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: 0XXXXXX-49c7-4b40-8bcc-76885dcXXXXX).
affinity InstanceAffinity
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
availabilityZone string
The Availability Zone of the instance.
blockDeviceMappings InstanceBlockDeviceMapping[]
The block device mapping entries that defines the block devices to attach to the instance at launch.
cpuOptions CpuOptionsProperties
The CPU options for the instance.
creditSpecification CreditSpecificationProperties
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited.
disableApiTermination boolean
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can.
ebsOptimized boolean
Indicates whether the instance is optimized for Amazon EBS I/O.
elasticGpuSpecifications InstanceElasticGpuSpecification[]
An elastic GPU to associate with the instance.
elasticInferenceAccelerators InstanceElasticInferenceAccelerator[]
An elastic inference accelerator to associate with the instance.
enclaveOptions EnclaveOptionsProperties
Indicates whether the instance is enabled for AWS Nitro Enclaves.
hibernationOptions HibernationOptionsProperties
Indicates whether an instance is enabled for hibernation.
hostId string
If you specify host for the Affinity property, the ID of a dedicated host that the instance is associated with. If you don't specify an ID, Amazon EC2 launches the instance onto any available, compatible dedicated host in your account.
hostResourceGroupArn string
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
iamInstanceProfile string
The IAM instance profile.
imageId string
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
instanceInitiatedShutdownBehavior string
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceType string
The instance type.
ipv6AddressCount number
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
ipv6Addresses InstanceIpv6Address[]
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
kernelId string
The ID of the kernel.
keyName string
The name of the key pair.
launchTemplate InstanceLaunchTemplateSpecification
The launch template to use to launch the instances.
licenseSpecifications InstanceLicenseSpecification[]
The license configurations.
monitoring boolean
Specifies whether detailed monitoring is enabled for the instance.
networkInterfaces InstanceNetworkInterface[]
The network interfaces to associate with the instance.
placementGroupName string
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
privateDnsNameOptions InstancePrivateDnsNameOptions
The options for the instance hostname.
privateIpAddress string
[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
propagateTagsToVolumeOnCreation boolean
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch. If you specify true and you assign tags to the instance, those tags are automatically assigned to all of the volumes that you attach to the instance at launch. If you specify false, those tags are not assigned to the attached volumes.
ramdiskId string
The ID of the RAM disk to select.
securityGroupIds string[]
The IDs of the security groups.
securityGroups string[]
the names of the security groups. For a nondefault VPC, you must use security group IDs instead.
sourceDestCheck boolean
Specifies whether to enable an instance launched in a VPC to perform NAT.
ssmAssociations InstanceSsmAssociation[]
The SSM document and parameter values in AWS Systems Manager to associate with this instance.
subnetId string
[EC2-VPC] The ID of the subnet to launch the instance into.
tags Tag[]
The tags to add to the instance.
tenancy string
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
userData string
The user data to make available to the instance.
volumes InstanceVolume[]
The volumes to attach to the instance.
additional_info str
This property is reserved for internal use. If you use it, the stack fails with this error: Bad property set: [Testing this property] (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: 0XXXXXX-49c7-4b40-8bcc-76885dcXXXXX).
affinity InstanceAffinity
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
availability_zone str
The Availability Zone of the instance.
block_device_mappings Sequence[InstanceBlockDeviceMappingArgs]
The block device mapping entries that defines the block devices to attach to the instance at launch.
cpu_options CpuOptionsPropertiesArgs
The CPU options for the instance.
credit_specification CreditSpecificationPropertiesArgs
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited.
disable_api_termination bool
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can.
ebs_optimized bool
Indicates whether the instance is optimized for Amazon EBS I/O.
elastic_gpu_specifications Sequence[InstanceElasticGpuSpecificationArgs]
An elastic GPU to associate with the instance.
elastic_inference_accelerators Sequence[InstanceElasticInferenceAcceleratorArgs]
An elastic inference accelerator to associate with the instance.
enclave_options EnclaveOptionsPropertiesArgs
Indicates whether the instance is enabled for AWS Nitro Enclaves.
hibernation_options HibernationOptionsPropertiesArgs
Indicates whether an instance is enabled for hibernation.
host_id str
If you specify host for the Affinity property, the ID of a dedicated host that the instance is associated with. If you don't specify an ID, Amazon EC2 launches the instance onto any available, compatible dedicated host in your account.
host_resource_group_arn str
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
iam_instance_profile str
The IAM instance profile.
image_id str
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
instance_initiated_shutdown_behavior str
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instance_type str
The instance type.
ipv6_address_count int
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
ipv6_addresses Sequence[InstanceIpv6AddressArgs]
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
kernel_id str
The ID of the kernel.
key_name str
The name of the key pair.
launch_template InstanceLaunchTemplateSpecificationArgs
The launch template to use to launch the instances.
license_specifications Sequence[InstanceLicenseSpecificationArgs]
The license configurations.
monitoring bool
Specifies whether detailed monitoring is enabled for the instance.
network_interfaces Sequence[InstanceNetworkInterfaceArgs]
The network interfaces to associate with the instance.
placement_group_name str
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
private_dns_name_options InstancePrivateDnsNameOptionsArgs
The options for the instance hostname.
private_ip_address str
[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
propagate_tags_to_volume_on_creation bool
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch. If you specify true and you assign tags to the instance, those tags are automatically assigned to all of the volumes that you attach to the instance at launch. If you specify false, those tags are not assigned to the attached volumes.
ramdisk_id str
The ID of the RAM disk to select.
security_group_ids Sequence[str]
The IDs of the security groups.
security_groups Sequence[str]
the names of the security groups. For a nondefault VPC, you must use security group IDs instead.
source_dest_check bool
Specifies whether to enable an instance launched in a VPC to perform NAT.
ssm_associations Sequence[InstanceSsmAssociationArgs]
The SSM document and parameter values in AWS Systems Manager to associate with this instance.
subnet_id str
[EC2-VPC] The ID of the subnet to launch the instance into.
tags Sequence[TagArgs]
The tags to add to the instance.
tenancy str
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
user_data str
The user data to make available to the instance.
volumes Sequence[InstanceVolumeArgs]
The volumes to attach to the instance.
additionalInfo String
This property is reserved for internal use. If you use it, the stack fails with this error: Bad property set: [Testing this property] (Service: AmazonEC2; Status Code: 400; Error Code: InvalidParameterCombination; Request ID: 0XXXXXX-49c7-4b40-8bcc-76885dcXXXXX).
affinity "default" | "host"
Indicates whether the instance is associated with a dedicated host. If you want the instance to always restart on the same host on which it was launched, specify host. If you want the instance to restart on any available host, but try to launch onto the last host it ran on (on a best-effort basis), specify default.
availabilityZone String
The Availability Zone of the instance.
blockDeviceMappings List<Property Map>
The block device mapping entries that defines the block devices to attach to the instance at launch.
cpuOptions Property Map
The CPU options for the instance.
creditSpecification Property Map
The credit option for CPU usage of the burstable performance instance. Valid values are standard and unlimited.
disableApiTermination Boolean
If you set this parameter to true, you can't terminate the instance using the Amazon EC2 console, CLI, or API; otherwise, you can.
ebsOptimized Boolean
Indicates whether the instance is optimized for Amazon EBS I/O.
elasticGpuSpecifications List<Property Map>
An elastic GPU to associate with the instance.
elasticInferenceAccelerators List<Property Map>
An elastic inference accelerator to associate with the instance.
enclaveOptions Property Map
Indicates whether the instance is enabled for AWS Nitro Enclaves.
hibernationOptions Property Map
Indicates whether an instance is enabled for hibernation.
hostId String
If you specify host for the Affinity property, the ID of a dedicated host that the instance is associated with. If you don't specify an ID, Amazon EC2 launches the instance onto any available, compatible dedicated host in your account.
hostResourceGroupArn String
The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.
iamInstanceProfile String
The IAM instance profile.
imageId String
The ID of the AMI. An AMI ID is required to launch an instance and must be specified here or in a launch template.
instanceInitiatedShutdownBehavior String
Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
instanceType String
The instance type.
ipv6AddressCount Number
[EC2-VPC] The number of IPv6 addresses to associate with the primary network interface. Amazon EC2 chooses the IPv6 addresses from the range of your subnet.
ipv6Addresses List<Property Map>
[EC2-VPC] The IPv6 addresses from the range of the subnet to associate with the primary network interface.
kernelId String
The ID of the kernel.
keyName String
The name of the key pair.
launchTemplate Property Map
The launch template to use to launch the instances.
licenseSpecifications List<Property Map>
The license configurations.
monitoring Boolean
Specifies whether detailed monitoring is enabled for the instance.
networkInterfaces List<Property Map>
The network interfaces to associate with the instance.
placementGroupName String
The name of an existing placement group that you want to launch the instance into (cluster | partition | spread).
privateDnsNameOptions Property Map
The options for the instance hostname.
privateIpAddress String
[EC2-VPC] The primary IPv4 address. You must specify a value from the IPv4 address range of the subnet.
propagateTagsToVolumeOnCreation Boolean
Indicates whether to assign the tags from the instance to all of the volumes attached to the instance at launch. If you specify true and you assign tags to the instance, those tags are automatically assigned to all of the volumes that you attach to the instance at launch. If you specify false, those tags are not assigned to the attached volumes.
ramdiskId String
The ID of the RAM disk to select.
securityGroupIds List<String>
The IDs of the security groups.
securityGroups List<String>
the names of the security groups. For a nondefault VPC, you must use security group IDs instead.
sourceDestCheck Boolean
Specifies whether to enable an instance launched in a VPC to perform NAT.
ssmAssociations List<Property Map>
The SSM document and parameter values in AWS Systems Manager to associate with this instance.
subnetId String
[EC2-VPC] The ID of the subnet to launch the instance into.
tags List<Property Map>
The tags to add to the instance.
tenancy String
The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.
userData String
The user data to make available to the instance.
volumes List<Property Map>
The volumes to attach to the instance.

Outputs

All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
InstanceId string
The EC2 Instance ID.
PrivateDnsName string
The private DNS name of the specified instance. For example: ip-10-24-34-0.ec2.internal.
PrivateIp string
The private IP address of the specified instance. For example: 10.24.34.0.
PublicDnsName string
The public DNS name of the specified instance. For example: ec2-107-20-50-45.compute-1.amazonaws.com.
PublicIp string
The public IP address of the specified instance. For example: 192.0.2.0.
State Pulumi.AwsNative.Ec2.Outputs.InstanceState
The current state of the instance.
VpcId string
The ID of the VPC that the instance is running in.
Id string
The provider-assigned unique ID for this managed resource.
InstanceId string
The EC2 Instance ID.
PrivateDnsName string
The private DNS name of the specified instance. For example: ip-10-24-34-0.ec2.internal.
PrivateIp string
The private IP address of the specified instance. For example: 10.24.34.0.
PublicDnsName string
The public DNS name of the specified instance. For example: ec2-107-20-50-45.compute-1.amazonaws.com.
PublicIp string
The public IP address of the specified instance. For example: 192.0.2.0.
State InstanceStateType
The current state of the instance.
VpcId string
The ID of the VPC that the instance is running in.
id String
The provider-assigned unique ID for this managed resource.
instanceId String
The EC2 Instance ID.
privateDnsName String
The private DNS name of the specified instance. For example: ip-10-24-34-0.ec2.internal.
privateIp String
The private IP address of the specified instance. For example: 10.24.34.0.
publicDnsName String
The public DNS name of the specified instance. For example: ec2-107-20-50-45.compute-1.amazonaws.com.
publicIp String
The public IP address of the specified instance. For example: 192.0.2.0.
state InstanceState
The current state of the instance.
vpcId String
The ID of the VPC that the instance is running in.
id string
The provider-assigned unique ID for this managed resource.
instanceId string
The EC2 Instance ID.
privateDnsName string
The private DNS name of the specified instance. For example: ip-10-24-34-0.ec2.internal.
privateIp string
The private IP address of the specified instance. For example: 10.24.34.0.
publicDnsName string
The public DNS name of the specified instance. For example: ec2-107-20-50-45.compute-1.amazonaws.com.
publicIp string
The public IP address of the specified instance. For example: 192.0.2.0.
state InstanceState
The current state of the instance.
vpcId string
The ID of the VPC that the instance is running in.
id str
The provider-assigned unique ID for this managed resource.
instance_id str
The EC2 Instance ID.
private_dns_name str
The private DNS name of the specified instance. For example: ip-10-24-34-0.ec2.internal.
private_ip str
The private IP address of the specified instance. For example: 10.24.34.0.
public_dns_name str
The public DNS name of the specified instance. For example: ec2-107-20-50-45.compute-1.amazonaws.com.
public_ip str
The public IP address of the specified instance. For example: 192.0.2.0.
state InstanceState
The current state of the instance.
vpc_id str
The ID of the VPC that the instance is running in.
id String
The provider-assigned unique ID for this managed resource.
instanceId String
The EC2 Instance ID.
privateDnsName String
The private DNS name of the specified instance. For example: ip-10-24-34-0.ec2.internal.
privateIp String
The private IP address of the specified instance. For example: 10.24.34.0.
publicDnsName String
The public DNS name of the specified instance. For example: ec2-107-20-50-45.compute-1.amazonaws.com.
publicIp String
The public IP address of the specified instance. For example: 192.0.2.0.
state Property Map
The current state of the instance.
vpcId String
The ID of the VPC that the instance is running in.

Supporting Types

CpuOptionsProperties
, CpuOptionsPropertiesArgs

CoreCount int
The number of CPU cores for the instance.
ThreadsPerCore int
The number of threads per CPU core.
CoreCount int
The number of CPU cores for the instance.
ThreadsPerCore int
The number of threads per CPU core.
coreCount Integer
The number of CPU cores for the instance.
threadsPerCore Integer
The number of threads per CPU core.
coreCount number
The number of CPU cores for the instance.
threadsPerCore number
The number of threads per CPU core.
core_count int
The number of CPU cores for the instance.
threads_per_core int
The number of threads per CPU core.
coreCount Number
The number of CPU cores for the instance.
threadsPerCore Number
The number of threads per CPU core.

CreditSpecificationProperties
, CreditSpecificationPropertiesArgs

CpuCredits string

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

CpuCredits string

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

cpuCredits String

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

cpuCredits string

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

cpu_credits str

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

cpuCredits String

The credit option for CPU usage of the instance.

Valid values: standard | unlimited

T3 instances with host tenancy do not support the unlimited CPU credit option.

EnclaveOptionsProperties
, EnclaveOptionsPropertiesArgs

Enabled bool
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
Enabled bool
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
enabled Boolean
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
enabled boolean
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
enabled bool
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.
enabled Boolean
If this parameter is set to true, the instance is enabled for AWS Nitro Enclaves; otherwise, it is not enabled for AWS Nitro Enclaves.

HibernationOptionsProperties
, HibernationOptionsPropertiesArgs

Configured bool
If you set this parameter to true, your instance is enabled for hibernation.
Configured bool
If you set this parameter to true, your instance is enabled for hibernation.
configured Boolean
If you set this parameter to true, your instance is enabled for hibernation.
configured boolean
If you set this parameter to true, your instance is enabled for hibernation.
configured bool
If you set this parameter to true, your instance is enabled for hibernation.
configured Boolean
If you set this parameter to true, your instance is enabled for hibernation.

InstanceAffinity
, InstanceAffinityArgs

Default
default
Host
host
InstanceAffinityDefault
default
InstanceAffinityHost
host
Default
default
Host
host
Default
default
Host
host
DEFAULT
default
HOST
host
"default"
default
"host"
host

InstanceAssociationParameter
, InstanceAssociationParameterArgs

Key This property is required. string
The name of an input parameter that is in the associated SSM document.
Value This property is required. List<string>
The value of an input parameter.
Key This property is required. string
The name of an input parameter that is in the associated SSM document.
Value This property is required. []string
The value of an input parameter.
key This property is required. String
The name of an input parameter that is in the associated SSM document.
value This property is required. List<String>
The value of an input parameter.
key This property is required. string
The name of an input parameter that is in the associated SSM document.
value This property is required. string[]
The value of an input parameter.
key This property is required. str
The name of an input parameter that is in the associated SSM document.
value This property is required. Sequence[str]
The value of an input parameter.
key This property is required. String
The name of an input parameter that is in the associated SSM document.
value This property is required. List<String>
The value of an input parameter.

InstanceBlockDeviceMapping
, InstanceBlockDeviceMappingArgs

DeviceName This property is required. string
The device name (for example, /dev/sdh or xvdh).
Ebs Pulumi.AwsNative.Ec2.Inputs.InstanceEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
NoDevice object

To omit the device from the block device mapping, specify an empty string.

After the instance is running, modifying this parameter results in instance replacement .

VirtualName string

The virtual device name ( ephemeral N). The name must be in the form ephemeral X where X is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

After the instance is running, modifying this parameter results in instance replacement .

DeviceName This property is required. string
The device name (for example, /dev/sdh or xvdh).
Ebs InstanceEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
NoDevice interface{}

To omit the device from the block device mapping, specify an empty string.

After the instance is running, modifying this parameter results in instance replacement .

VirtualName string

The virtual device name ( ephemeral N). The name must be in the form ephemeral X where X is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

After the instance is running, modifying this parameter results in instance replacement .

deviceName This property is required. String
The device name (for example, /dev/sdh or xvdh).
ebs InstanceEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
noDevice Object

To omit the device from the block device mapping, specify an empty string.

After the instance is running, modifying this parameter results in instance replacement .

virtualName String

The virtual device name ( ephemeral N). The name must be in the form ephemeral X where X is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

After the instance is running, modifying this parameter results in instance replacement .

deviceName This property is required. string
The device name (for example, /dev/sdh or xvdh).
ebs InstanceEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
noDevice any

To omit the device from the block device mapping, specify an empty string.

After the instance is running, modifying this parameter results in instance replacement .

virtualName string

The virtual device name ( ephemeral N). The name must be in the form ephemeral X where X is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

After the instance is running, modifying this parameter results in instance replacement .

device_name This property is required. str
The device name (for example, /dev/sdh or xvdh).
ebs InstanceEbs
Parameters used to automatically set up EBS volumes when the instance is launched.
no_device Any

To omit the device from the block device mapping, specify an empty string.

After the instance is running, modifying this parameter results in instance replacement .

virtual_name str

The virtual device name ( ephemeral N). The name must be in the form ephemeral X where X is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

After the instance is running, modifying this parameter results in instance replacement .

deviceName This property is required. String
The device name (for example, /dev/sdh or xvdh).
ebs Property Map
Parameters used to automatically set up EBS volumes when the instance is launched.
noDevice Any

To omit the device from the block device mapping, specify an empty string.

After the instance is running, modifying this parameter results in instance replacement .

virtualName String

The virtual device name ( ephemeral N). The name must be in the form ephemeral X where X is a number starting from zero (0). For example, an instance type with 2 available instance store volumes can specify mappings for ephemeral0 and ephemeral1 . The number of available instance store volumes depends on the instance type. After you connect to the instance, you must mount the volume.

NVMe instance store volumes are automatically enumerated and assigned a device name. Including them in your block device mapping has no effect.

Constraints : For M3 instances, you must specify instance store volumes in the block device mapping for the instance. When you launch an M3 instance, we ignore any instance store volumes specified in the block device mapping for the AMI.

After the instance is running, modifying this parameter results in instance replacement .

InstanceEbs
, InstanceEbsArgs

DeleteOnTermination bool
Indicates whether the EBS volume is deleted on instance termination.
Encrypted bool
Indicates whether the volume should be encrypted.
Iops int
The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
KmsKeyId string
The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used.
SnapshotId string
The ID of the snapshot.
VolumeSize int
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
VolumeType string
The volume type.
DeleteOnTermination bool
Indicates whether the EBS volume is deleted on instance termination.
Encrypted bool
Indicates whether the volume should be encrypted.
Iops int
The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
KmsKeyId string
The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used.
SnapshotId string
The ID of the snapshot.
VolumeSize int
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
VolumeType string
The volume type.
deleteOnTermination Boolean
Indicates whether the EBS volume is deleted on instance termination.
encrypted Boolean
Indicates whether the volume should be encrypted.
iops Integer
The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
kmsKeyId String
The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used.
snapshotId String
The ID of the snapshot.
volumeSize Integer
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
volumeType String
The volume type.
deleteOnTermination boolean
Indicates whether the EBS volume is deleted on instance termination.
encrypted boolean
Indicates whether the volume should be encrypted.
iops number
The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
kmsKeyId string
The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used.
snapshotId string
The ID of the snapshot.
volumeSize number
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
volumeType string
The volume type.
delete_on_termination bool
Indicates whether the EBS volume is deleted on instance termination.
encrypted bool
Indicates whether the volume should be encrypted.
iops int
The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
kms_key_id str
The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used.
snapshot_id str
The ID of the snapshot.
volume_size int
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
volume_type str
The volume type.
deleteOnTermination Boolean
Indicates whether the EBS volume is deleted on instance termination.
encrypted Boolean
Indicates whether the volume should be encrypted.
iops Number
The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.
kmsKeyId String
The identifier of the AWS Key Management Service (AWS KMS) customer managed CMK to use for Amazon EBS encryption. If KmsKeyId is specified, the encrypted state must be true. If the encrypted state is true but you do not specify KmsKeyId, your AWS managed CMK for EBS is used.
snapshotId String
The ID of the snapshot.
volumeSize Number
The size of the volume, in GiBs. You must specify either a snapshot ID or a volume size. If you specify a snapshot, the default is the snapshot size. You can specify a volume size that is equal to or larger than the snapshot size.
volumeType String
The volume type.

InstanceElasticGpuSpecification
, InstanceElasticGpuSpecificationArgs

Type This property is required. string
The type of Elastic Graphics accelerator.
Type This property is required. string
The type of Elastic Graphics accelerator.
type This property is required. String
The type of Elastic Graphics accelerator.
type This property is required. string
The type of Elastic Graphics accelerator.
type This property is required. str
The type of Elastic Graphics accelerator.
type This property is required. String
The type of Elastic Graphics accelerator.

InstanceElasticInferenceAccelerator
, InstanceElasticInferenceAcceleratorArgs

Type This property is required. string
The type of elastic inference accelerator.
Count int
The number of elastic inference accelerators to attach to the instance.
Type This property is required. string
The type of elastic inference accelerator.
Count int
The number of elastic inference accelerators to attach to the instance.
type This property is required. String
The type of elastic inference accelerator.
count Integer
The number of elastic inference accelerators to attach to the instance.
type This property is required. string
The type of elastic inference accelerator.
count number
The number of elastic inference accelerators to attach to the instance.
type This property is required. str
The type of elastic inference accelerator.
count int
The number of elastic inference accelerators to attach to the instance.
type This property is required. String
The type of elastic inference accelerator.
count Number
The number of elastic inference accelerators to attach to the instance.

InstanceEnaSrdSpecification
, InstanceEnaSrdSpecificationArgs

EnaSrdEnabled bool
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
EnaSrdUdpSpecification Pulumi.AwsNative.Ec2.Inputs.InstanceEnaSrdUdpSpecification
Configures ENA Express for UDP network traffic.
EnaSrdEnabled bool
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
EnaSrdUdpSpecification InstanceEnaSrdUdpSpecification
Configures ENA Express for UDP network traffic.
enaSrdEnabled Boolean
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
enaSrdUdpSpecification InstanceEnaSrdUdpSpecification
Configures ENA Express for UDP network traffic.
enaSrdEnabled boolean
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
enaSrdUdpSpecification InstanceEnaSrdUdpSpecification
Configures ENA Express for UDP network traffic.
ena_srd_enabled bool
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
ena_srd_udp_specification InstanceEnaSrdUdpSpecification
Configures ENA Express for UDP network traffic.
enaSrdEnabled Boolean
Specifies whether ENA Express is enabled for the network interface when you launch an instance.
enaSrdUdpSpecification Property Map
Configures ENA Express for UDP network traffic.

InstanceEnaSrdUdpSpecification
, InstanceEnaSrdUdpSpecificationArgs

EnaSrdUdpEnabled bool
Indicates whether UDP traffic uses ENA Express for your instance.
EnaSrdUdpEnabled bool
Indicates whether UDP traffic uses ENA Express for your instance.
enaSrdUdpEnabled Boolean
Indicates whether UDP traffic uses ENA Express for your instance.
enaSrdUdpEnabled boolean
Indicates whether UDP traffic uses ENA Express for your instance.
ena_srd_udp_enabled bool
Indicates whether UDP traffic uses ENA Express for your instance.
enaSrdUdpEnabled Boolean
Indicates whether UDP traffic uses ENA Express for your instance.

InstanceIpv6Address
, InstanceIpv6AddressArgs

Ipv6Address This property is required. string
The IPv6 address.
Ipv6Address This property is required. string
The IPv6 address.
ipv6Address This property is required. String
The IPv6 address.
ipv6Address This property is required. string
The IPv6 address.
ipv6_address This property is required. str
The IPv6 address.
ipv6Address This property is required. String
The IPv6 address.

InstanceLaunchTemplateSpecification
, InstanceLaunchTemplateSpecificationArgs

LaunchTemplateId string
The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
LaunchTemplateName string
The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
Version string
The version number of the launch template.
LaunchTemplateId string
The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
LaunchTemplateName string
The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
Version string
The version number of the launch template.
launchTemplateId String
The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
launchTemplateName String
The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
version String
The version number of the launch template.
launchTemplateId string
The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
launchTemplateName string
The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
version string
The version number of the launch template.
launch_template_id str
The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
launch_template_name str
The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
version str
The version number of the launch template.
launchTemplateId String
The ID of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
launchTemplateName String
The name of the launch template. You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.
version String
The version number of the launch template.

InstanceLicenseSpecification
, InstanceLicenseSpecificationArgs

LicenseConfigurationArn This property is required. string
The Amazon Resource Name (ARN) of the license configuration.
LicenseConfigurationArn This property is required. string
The Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn This property is required. String
The Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn This property is required. string
The Amazon Resource Name (ARN) of the license configuration.
license_configuration_arn This property is required. str
The Amazon Resource Name (ARN) of the license configuration.
licenseConfigurationArn This property is required. String
The Amazon Resource Name (ARN) of the license configuration.

InstanceNetworkInterface
, InstanceNetworkInterfaceArgs

DeviceIndex This property is required. string
The position of the network interface in the attachment order. A primary network interface has a device index of 0.
AssociateCarrierIpAddress bool
Not currently supported by AWS CloudFormation.
AssociatePublicIpAddress bool
Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.
DeleteOnTermination bool
If set to true, the interface is deleted when the instance is terminated.
Description string
The description of the network interface.
EnaSrdSpecification Pulumi.AwsNative.Ec2.Inputs.InstanceEnaSrdSpecification
Configures ENA Express for UDP network traffic.
GroupSet List<string>
The IDs of the security groups for the network interface.
Ipv6AddressCount int
A number of IPv6 addresses to assign to the network interface.
Ipv6Addresses List<Pulumi.AwsNative.Ec2.Inputs.InstanceIpv6Address>
The IPv6 addresses associated with the network interface.
NetworkInterfaceId string
The ID of the network interface.
PrivateIpAddress string
The private IPv4 address of the network interface.
PrivateIpAddresses List<Pulumi.AwsNative.Ec2.Inputs.InstancePrivateIpAddressSpecification>
One or more private IPv4 addresses to assign to the network interface.
SecondaryPrivateIpAddressCount int
The number of secondary private IPv4 addresses.
SubnetId string
The ID of the subnet.
DeviceIndex This property is required. string
The position of the network interface in the attachment order. A primary network interface has a device index of 0.
AssociateCarrierIpAddress bool
Not currently supported by AWS CloudFormation.
AssociatePublicIpAddress bool
Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.
DeleteOnTermination bool
If set to true, the interface is deleted when the instance is terminated.
Description string
The description of the network interface.
EnaSrdSpecification InstanceEnaSrdSpecification
Configures ENA Express for UDP network traffic.
GroupSet []string
The IDs of the security groups for the network interface.
Ipv6AddressCount int
A number of IPv6 addresses to assign to the network interface.
Ipv6Addresses []InstanceIpv6Address
The IPv6 addresses associated with the network interface.
NetworkInterfaceId string
The ID of the network interface.
PrivateIpAddress string
The private IPv4 address of the network interface.
PrivateIpAddresses []InstancePrivateIpAddressSpecification
One or more private IPv4 addresses to assign to the network interface.
SecondaryPrivateIpAddressCount int
The number of secondary private IPv4 addresses.
SubnetId string
The ID of the subnet.
deviceIndex This property is required. String
The position of the network interface in the attachment order. A primary network interface has a device index of 0.
associateCarrierIpAddress Boolean
Not currently supported by AWS CloudFormation.
associatePublicIpAddress Boolean
Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.
deleteOnTermination Boolean
If set to true, the interface is deleted when the instance is terminated.
description String
The description of the network interface.
enaSrdSpecification InstanceEnaSrdSpecification
Configures ENA Express for UDP network traffic.
groupSet List<String>
The IDs of the security groups for the network interface.
ipv6AddressCount Integer
A number of IPv6 addresses to assign to the network interface.
ipv6Addresses List<InstanceIpv6Address>
The IPv6 addresses associated with the network interface.
networkInterfaceId String
The ID of the network interface.
privateIpAddress String
The private IPv4 address of the network interface.
privateIpAddresses List<InstancePrivateIpAddressSpecification>
One or more private IPv4 addresses to assign to the network interface.
secondaryPrivateIpAddressCount Integer
The number of secondary private IPv4 addresses.
subnetId String
The ID of the subnet.
deviceIndex This property is required. string
The position of the network interface in the attachment order. A primary network interface has a device index of 0.
associateCarrierIpAddress boolean
Not currently supported by AWS CloudFormation.
associatePublicIpAddress boolean
Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.
deleteOnTermination boolean
If set to true, the interface is deleted when the instance is terminated.
description string
The description of the network interface.
enaSrdSpecification InstanceEnaSrdSpecification
Configures ENA Express for UDP network traffic.
groupSet string[]
The IDs of the security groups for the network interface.
ipv6AddressCount number
A number of IPv6 addresses to assign to the network interface.
ipv6Addresses InstanceIpv6Address[]
The IPv6 addresses associated with the network interface.
networkInterfaceId string
The ID of the network interface.
privateIpAddress string
The private IPv4 address of the network interface.
privateIpAddresses InstancePrivateIpAddressSpecification[]
One or more private IPv4 addresses to assign to the network interface.
secondaryPrivateIpAddressCount number
The number of secondary private IPv4 addresses.
subnetId string
The ID of the subnet.
device_index This property is required. str
The position of the network interface in the attachment order. A primary network interface has a device index of 0.
associate_carrier_ip_address bool
Not currently supported by AWS CloudFormation.
associate_public_ip_address bool
Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.
delete_on_termination bool
If set to true, the interface is deleted when the instance is terminated.
description str
The description of the network interface.
ena_srd_specification InstanceEnaSrdSpecification
Configures ENA Express for UDP network traffic.
group_set Sequence[str]
The IDs of the security groups for the network interface.
ipv6_address_count int
A number of IPv6 addresses to assign to the network interface.
ipv6_addresses Sequence[InstanceIpv6Address]
The IPv6 addresses associated with the network interface.
network_interface_id str
The ID of the network interface.
private_ip_address str
The private IPv4 address of the network interface.
private_ip_addresses Sequence[InstancePrivateIpAddressSpecification]
One or more private IPv4 addresses to assign to the network interface.
secondary_private_ip_address_count int
The number of secondary private IPv4 addresses.
subnet_id str
The ID of the subnet.
deviceIndex This property is required. String
The position of the network interface in the attachment order. A primary network interface has a device index of 0.
associateCarrierIpAddress Boolean
Not currently supported by AWS CloudFormation.
associatePublicIpAddress Boolean
Indicates whether to assign a public IPv4 address to an instance you launch in a VPC.
deleteOnTermination Boolean
If set to true, the interface is deleted when the instance is terminated.
description String
The description of the network interface.
enaSrdSpecification Property Map
Configures ENA Express for UDP network traffic.
groupSet List<String>
The IDs of the security groups for the network interface.
ipv6AddressCount Number
A number of IPv6 addresses to assign to the network interface.
ipv6Addresses List<Property Map>
The IPv6 addresses associated with the network interface.
networkInterfaceId String
The ID of the network interface.
privateIpAddress String
The private IPv4 address of the network interface.
privateIpAddresses List<Property Map>
One or more private IPv4 addresses to assign to the network interface.
secondaryPrivateIpAddressCount Number
The number of secondary private IPv4 addresses.
subnetId String
The ID of the subnet.

InstancePrivateDnsNameOptions
, InstancePrivateDnsNameOptionsArgs

EnableResourceNameDnsARecord bool
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
EnableResourceNameDnsAaaaRecord bool
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
HostnameType Pulumi.AwsNative.Ec2.InstancePrivateDnsNameOptionsHostnameType
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
EnableResourceNameDnsARecord bool
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
EnableResourceNameDnsAaaaRecord bool
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
HostnameType InstancePrivateDnsNameOptionsHostnameType
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enableResourceNameDnsARecord Boolean
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enableResourceNameDnsAaaaRecord Boolean
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
hostnameType InstancePrivateDnsNameOptionsHostnameType
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enableResourceNameDnsARecord boolean
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enableResourceNameDnsAaaaRecord boolean
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
hostnameType InstancePrivateDnsNameOptionsHostnameType
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enable_resource_name_dns_a_record bool
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enable_resource_name_dns_aaaa_record bool
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
hostname_type InstancePrivateDnsNameOptionsHostnameType
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enableResourceNameDnsARecord Boolean
Indicates whether to respond to DNS queries for instance hostnames with DNS A records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
enableResourceNameDnsAaaaRecord Boolean
Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.
hostnameType "ip-name" | "resource-name"
The type of hostnames to assign to instances in the subnet at launch. For IPv4 only subnets, an instance DNS name must be based on the instance IPv4 address. For IPv6 only subnets, an instance DNS name must be based on the instance ID. For dual-stack subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. For more information, see Amazon EC2 instance hostname types in the Amazon Elastic Compute Cloud User Guide.

InstancePrivateDnsNameOptionsHostnameType
, InstancePrivateDnsNameOptionsHostnameTypeArgs

IpName
ip-name
ResourceName
resource-name
InstancePrivateDnsNameOptionsHostnameTypeIpName
ip-name
InstancePrivateDnsNameOptionsHostnameTypeResourceName
resource-name
IpName
ip-name
ResourceName
resource-name
IpName
ip-name
ResourceName
resource-name
IP_NAME
ip-name
RESOURCE_NAME
resource-name
"ip-name"
ip-name
"resource-name"
resource-name

InstancePrivateIpAddressSpecification
, InstancePrivateIpAddressSpecificationArgs

Primary This property is required. bool
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
PrivateIpAddress This property is required. string
The private IPv4 addresses.
Primary This property is required. bool
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
PrivateIpAddress This property is required. string
The private IPv4 addresses.
primary This property is required. Boolean
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
privateIpAddress This property is required. String
The private IPv4 addresses.
primary This property is required. boolean
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
privateIpAddress This property is required. string
The private IPv4 addresses.
primary This property is required. bool
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
private_ip_address This property is required. str
The private IPv4 addresses.
primary This property is required. Boolean
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
privateIpAddress This property is required. String
The private IPv4 addresses.

InstanceSsmAssociation
, InstanceSsmAssociationArgs

DocumentName This property is required. string
The name of an SSM document to associate with the instance.
AssociationParameters List<Pulumi.AwsNative.Ec2.Inputs.InstanceAssociationParameter>
The input parameter values to use with the associated SSM document.
DocumentName This property is required. string
The name of an SSM document to associate with the instance.
AssociationParameters []InstanceAssociationParameter
The input parameter values to use with the associated SSM document.
documentName This property is required. String
The name of an SSM document to associate with the instance.
associationParameters List<InstanceAssociationParameter>
The input parameter values to use with the associated SSM document.
documentName This property is required. string
The name of an SSM document to associate with the instance.
associationParameters InstanceAssociationParameter[]
The input parameter values to use with the associated SSM document.
document_name This property is required. str
The name of an SSM document to associate with the instance.
association_parameters Sequence[InstanceAssociationParameter]
The input parameter values to use with the associated SSM document.
documentName This property is required. String
The name of an SSM document to associate with the instance.
associationParameters List<Property Map>
The input parameter values to use with the associated SSM document.

InstanceState
, InstanceStateArgs

Code string
The state of the instance as a 16-bit unsigned integer.
Name string
The current state of the instance.
Code string
The state of the instance as a 16-bit unsigned integer.
Name string
The current state of the instance.
code String
The state of the instance as a 16-bit unsigned integer.
name String
The current state of the instance.
code string
The state of the instance as a 16-bit unsigned integer.
name string
The current state of the instance.
code str
The state of the instance as a 16-bit unsigned integer.
name str
The current state of the instance.
code String
The state of the instance as a 16-bit unsigned integer.
name String
The current state of the instance.

InstanceVolume
, InstanceVolumeArgs

Device This property is required. string
The device name (for example, /dev/sdh or xvdh).
VolumeId This property is required. string
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
Device This property is required. string
The device name (for example, /dev/sdh or xvdh).
VolumeId This property is required. string
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
device This property is required. String
The device name (for example, /dev/sdh or xvdh).
volumeId This property is required. String
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
device This property is required. string
The device name (for example, /dev/sdh or xvdh).
volumeId This property is required. string
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
device This property is required. str
The device name (for example, /dev/sdh or xvdh).
volume_id This property is required. str
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
device This property is required. String
The device name (for example, /dev/sdh or xvdh).
volumeId This property is required. String
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.

Tag
, TagArgs

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi