aws.ec2.getInstance
Explore with Pulumi AI
Use this data source to get the ID of an Amazon EC2 Instance for use in other resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const foo = aws.ec2.getInstance({
    instanceId: "i-instanceid",
    filters: [
        {
            name: "image-id",
            values: ["ami-xxxxxxxx"],
        },
        {
            name: "tag:Name",
            values: ["instance-name-tag"],
        },
    ],
});
import pulumi
import pulumi_aws as aws
foo = aws.ec2.get_instance(instance_id="i-instanceid",
    filters=[
        {
            "name": "image-id",
            "values": ["ami-xxxxxxxx"],
        },
        {
            "name": "tag:Name",
            "values": ["instance-name-tag"],
        },
    ])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.LookupInstance(ctx, &ec2.LookupInstanceArgs{
			InstanceId: pulumi.StringRef("i-instanceid"),
			Filters: []ec2.GetInstanceFilter{
				{
					Name: "image-id",
					Values: []string{
						"ami-xxxxxxxx",
					},
				},
				{
					Name: "tag:Name",
					Values: []string{
						"instance-name-tag",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var foo = Aws.Ec2.GetInstance.Invoke(new()
    {
        InstanceId = "i-instanceid",
        Filters = new[]
        {
            new Aws.Ec2.Inputs.GetInstanceFilterInputArgs
            {
                Name = "image-id",
                Values = new[]
                {
                    "ami-xxxxxxxx",
                },
            },
            new Aws.Ec2.Inputs.GetInstanceFilterInputArgs
            {
                Name = "tag:Name",
                Values = new[]
                {
                    "instance-name-tag",
                },
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.Ec2Functions;
import com.pulumi.aws.ec2.inputs.GetInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var foo = Ec2Functions.getInstance(GetInstanceArgs.builder()
            .instanceId("i-instanceid")
            .filters(            
                GetInstanceFilterArgs.builder()
                    .name("image-id")
                    .values("ami-xxxxxxxx")
                    .build(),
                GetInstanceFilterArgs.builder()
                    .name("tag:Name")
                    .values("instance-name-tag")
                    .build())
            .build());
    }
}
variables:
  foo:
    fn::invoke:
      function: aws:ec2:getInstance
      arguments:
        instanceId: i-instanceid
        filters:
          - name: image-id
            values:
              - ami-xxxxxxxx
          - name: tag:Name
            values:
              - instance-name-tag
Using getInstance
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>def get_instance(filters: Optional[Sequence[GetInstanceFilter]] = None,
                 get_password_data: Optional[bool] = None,
                 get_user_data: Optional[bool] = None,
                 instance_id: Optional[str] = None,
                 instance_tags: Optional[Mapping[str, str]] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstanceFilterArgs]]]] = None,
                 get_password_data: Optional[pulumi.Input[bool]] = None,
                 get_user_data: Optional[pulumi.Input[bool]] = None,
                 instance_id: Optional[pulumi.Input[str]] = None,
                 instance_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                 tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput> Note: This function is named LookupInstance in the Go SDK.
public static class GetInstance 
{
    public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
  function: aws:ec2/getInstance:getInstance
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Filters
List<GetInstance Filter> 
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
- GetPassword boolData 
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_dataattribute. See GetPasswordData for more information.
- GetUser boolData 
- Retrieve Base64 encoded User Data contents into the - user_data_base64attribute. A SHA-1 hash of the User Data contents will always be present in the- user_dataattribute. Defaults to- false.- NOTE: At least one of - filter,- instance_tags, or- instance_idmust be specified.- NOTE: If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only. 
- InstanceId string
- Specify the exact Instance ID with which to populate the data source.
- Dictionary<string, string>
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
- Dictionary<string, string>
- Map of tags assigned to the Instance.
- Filters
[]GetInstance Filter 
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
- GetPassword boolData 
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_dataattribute. See GetPasswordData for more information.
- GetUser boolData 
- Retrieve Base64 encoded User Data contents into the - user_data_base64attribute. A SHA-1 hash of the User Data contents will always be present in the- user_dataattribute. Defaults to- false.- NOTE: At least one of - filter,- instance_tags, or- instance_idmust be specified.- NOTE: If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only. 
- InstanceId string
- Specify the exact Instance ID with which to populate the data source.
- map[string]string
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
- map[string]string
- Map of tags assigned to the Instance.
- filters
List<GetInstance Filter> 
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
- getPassword BooleanData 
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_dataattribute. See GetPasswordData for more information.
- getUser BooleanData 
- Retrieve Base64 encoded User Data contents into the - user_data_base64attribute. A SHA-1 hash of the User Data contents will always be present in the- user_dataattribute. Defaults to- false.- NOTE: At least one of - filter,- instance_tags, or- instance_idmust be specified.- NOTE: If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only. 
- instanceId String
- Specify the exact Instance ID with which to populate the data source.
- Map<String,String>
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
- Map<String,String>
- Map of tags assigned to the Instance.
- filters
GetInstance Filter[] 
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
- getPassword booleanData 
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_dataattribute. See GetPasswordData for more information.
- getUser booleanData 
- Retrieve Base64 encoded User Data contents into the - user_data_base64attribute. A SHA-1 hash of the User Data contents will always be present in the- user_dataattribute. Defaults to- false.- NOTE: At least one of - filter,- instance_tags, or- instance_idmust be specified.- NOTE: If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only. 
- instanceId string
- Specify the exact Instance ID with which to populate the data source.
- {[key: string]: string}
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
- {[key: string]: string}
- Map of tags assigned to the Instance.
- filters
Sequence[GetInstance Filter] 
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
- get_password_ booldata 
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_dataattribute. See GetPasswordData for more information.
- get_user_ booldata 
- Retrieve Base64 encoded User Data contents into the - user_data_base64attribute. A SHA-1 hash of the User Data contents will always be present in the- user_dataattribute. Defaults to- false.- NOTE: At least one of - filter,- instance_tags, or- instance_idmust be specified.- NOTE: If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only. 
- instance_id str
- Specify the exact Instance ID with which to populate the data source.
- Mapping[str, str]
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
- Mapping[str, str]
- Map of tags assigned to the Instance.
- filters List<Property Map>
- One or more name/value pairs to use as filters. There are several valid keys, for a full reference, check out [describe-instances in the AWS CLI reference][1].
- getPassword BooleanData 
- If true, wait for password data to become available and retrieve it. Useful for getting the administrator password for instances running Microsoft Windows. The password data is exported to the password_dataattribute. See GetPasswordData for more information.
- getUser BooleanData 
- Retrieve Base64 encoded User Data contents into the - user_data_base64attribute. A SHA-1 hash of the User Data contents will always be present in the- user_dataattribute. Defaults to- false.- NOTE: At least one of - filter,- instance_tags, or- instance_idmust be specified.- NOTE: If anything other than a single match is returned by the search, this call will fail. Ensure that your search is specific enough to return a single Instance ID only. 
- instanceId String
- Specify the exact Instance ID with which to populate the data source.
- Map<String>
- Map of tags, each pair of which must exactly match a pair on the desired Instance.
- Map<String>
- Map of tags assigned to the Instance.
getInstance Result
The following output properties are available:
- Ami string
- ID of the AMI used to launch the instance.
- Arn string
- ARN of the instance.
- AssociatePublic boolIp Address 
- Whether or not the Instance is associated with a public IP address or not (Boolean).
- AvailabilityZone string
- Availability zone of the Instance.
- CreditSpecifications List<GetInstance Credit Specification> 
- Credit specification of the Instance.
- DisableApi boolStop 
- Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
- DisableApi boolTermination 
- Whether or not EC2 Instance Termination Protection is enabled (Boolean).
- EbsBlock List<GetDevices Instance Ebs Block Device> 
- EBS block device mappings of the Instance.
- EbsOptimized bool
- Whether the Instance is EBS optimized or not (Boolean).
- EnclaveOptions List<GetInstance Enclave Option> 
- Enclave options of the instance.
- EphemeralBlock List<GetDevices Instance Ephemeral Block Device> 
- Ephemeral block device mappings of the Instance.
- HostId string
- ID of the dedicated host the instance will be assigned to.
- HostResource stringGroup Arn 
- ARN of the host resource group the instance is associated with.
- IamInstance stringProfile 
- Name of the instance profile associated with the Instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceState string
- State of the instance. One of: pending,running,shutting-down,terminated,stopping,stopped. See Instance Lifecycle for more information.
- Dictionary<string, string>
- InstanceType string
- Type of the Instance.
- Ipv6Addresses List<string>
- IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
- KeyName string
- Key name of the Instance.
- LaunchTime string
- Time the instance was launched.
- MaintenanceOptions List<GetInstance Maintenance Option> 
- Maintenance and recovery options for the instance.
- MetadataOptions List<GetInstance Metadata Option> 
- Metadata options of the Instance.
- Monitoring bool
- Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
- NetworkInterface stringId 
- ID of the network interface that was created with the Instance.
- OutpostArn string
- ARN of the Outpost.
- PasswordData string
- Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_datais true. See GetPasswordData for more information.
- PlacementGroup string
- Placement group of the Instance.
- PlacementPartition intNumber 
- Number of the partition the instance is in.
- PrivateDns string
- Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
- PrivateDns List<GetName Options Instance Private Dns Name Option> 
- Options for the instance hostname.
- PrivateIp string
- Private IP address assigned to the Instance.
- PublicDns string
- Public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
- PublicIp string
- Public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eipwith your instance, you should refer to the EIP's address directly and not usepublic_ip, as this field will change after the EIP is attached.
- RootBlock List<GetDevices Instance Root Block Device> 
- Root block device mappings of the Instance
- SecondaryPrivate List<string>Ips 
- Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
- SecurityGroups List<string>
- Associated security groups.
- SourceDest boolCheck 
- Whether the network interface performs source/destination checking (Boolean).
- SubnetId string
- VPC subnet ID.
- Dictionary<string, string>
- Map of tags assigned to the Instance.
- Tenancy string
- Tenancy of the instance: dedicated,default,host.
- UserData string
- SHA-1 hash of User Data supplied to the Instance.
- UserData stringBase64 
- Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_datais true.
- VpcSecurity List<string>Group Ids 
- Associated security groups in a non-default VPC.
- Filters
List<GetInstance Filter> 
- GetPassword boolData 
- GetUser boolData 
- InstanceId string
- Ami string
- ID of the AMI used to launch the instance.
- Arn string
- ARN of the instance.
- AssociatePublic boolIp Address 
- Whether or not the Instance is associated with a public IP address or not (Boolean).
- AvailabilityZone string
- Availability zone of the Instance.
- CreditSpecifications []GetInstance Credit Specification 
- Credit specification of the Instance.
- DisableApi boolStop 
- Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
- DisableApi boolTermination 
- Whether or not EC2 Instance Termination Protection is enabled (Boolean).
- EbsBlock []GetDevices Instance Ebs Block Device 
- EBS block device mappings of the Instance.
- EbsOptimized bool
- Whether the Instance is EBS optimized or not (Boolean).
- EnclaveOptions []GetInstance Enclave Option 
- Enclave options of the instance.
- EphemeralBlock []GetDevices Instance Ephemeral Block Device 
- Ephemeral block device mappings of the Instance.
- HostId string
- ID of the dedicated host the instance will be assigned to.
- HostResource stringGroup Arn 
- ARN of the host resource group the instance is associated with.
- IamInstance stringProfile 
- Name of the instance profile associated with the Instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceState string
- State of the instance. One of: pending,running,shutting-down,terminated,stopping,stopped. See Instance Lifecycle for more information.
- map[string]string
- InstanceType string
- Type of the Instance.
- Ipv6Addresses []string
- IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
- KeyName string
- Key name of the Instance.
- LaunchTime string
- Time the instance was launched.
- MaintenanceOptions []GetInstance Maintenance Option 
- Maintenance and recovery options for the instance.
- MetadataOptions []GetInstance Metadata Option 
- Metadata options of the Instance.
- Monitoring bool
- Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
- NetworkInterface stringId 
- ID of the network interface that was created with the Instance.
- OutpostArn string
- ARN of the Outpost.
- PasswordData string
- Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_datais true. See GetPasswordData for more information.
- PlacementGroup string
- Placement group of the Instance.
- PlacementPartition intNumber 
- Number of the partition the instance is in.
- PrivateDns string
- Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
- PrivateDns []GetName Options Instance Private Dns Name Option 
- Options for the instance hostname.
- PrivateIp string
- Private IP address assigned to the Instance.
- PublicDns string
- Public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
- PublicIp string
- Public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eipwith your instance, you should refer to the EIP's address directly and not usepublic_ip, as this field will change after the EIP is attached.
- RootBlock []GetDevices Instance Root Block Device 
- Root block device mappings of the Instance
- SecondaryPrivate []stringIps 
- Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
- SecurityGroups []string
- Associated security groups.
- SourceDest boolCheck 
- Whether the network interface performs source/destination checking (Boolean).
- SubnetId string
- VPC subnet ID.
- map[string]string
- Map of tags assigned to the Instance.
- Tenancy string
- Tenancy of the instance: dedicated,default,host.
- UserData string
- SHA-1 hash of User Data supplied to the Instance.
- UserData stringBase64 
- Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_datais true.
- VpcSecurity []stringGroup Ids 
- Associated security groups in a non-default VPC.
- Filters
[]GetInstance Filter 
- GetPassword boolData 
- GetUser boolData 
- InstanceId string
- ami String
- ID of the AMI used to launch the instance.
- arn String
- ARN of the instance.
- associatePublic BooleanIp Address 
- Whether or not the Instance is associated with a public IP address or not (Boolean).
- availabilityZone String
- Availability zone of the Instance.
- creditSpecifications List<GetInstance Credit Specification> 
- Credit specification of the Instance.
- disableApi BooleanStop 
- Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
- disableApi BooleanTermination 
- Whether or not EC2 Instance Termination Protection is enabled (Boolean).
- ebsBlock List<GetDevices Instance Ebs Block Device> 
- EBS block device mappings of the Instance.
- ebsOptimized Boolean
- Whether the Instance is EBS optimized or not (Boolean).
- enclaveOptions List<GetInstance Enclave Option> 
- Enclave options of the instance.
- ephemeralBlock List<GetDevices Instance Ephemeral Block Device> 
- Ephemeral block device mappings of the Instance.
- hostId String
- ID of the dedicated host the instance will be assigned to.
- hostResource StringGroup Arn 
- ARN of the host resource group the instance is associated with.
- iamInstance StringProfile 
- Name of the instance profile associated with the Instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceState String
- State of the instance. One of: pending,running,shutting-down,terminated,stopping,stopped. See Instance Lifecycle for more information.
- Map<String,String>
- instanceType String
- Type of the Instance.
- ipv6Addresses List<String>
- IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
- keyName String
- Key name of the Instance.
- launchTime String
- Time the instance was launched.
- maintenanceOptions List<GetInstance Maintenance Option> 
- Maintenance and recovery options for the instance.
- metadataOptions List<GetInstance Metadata Option> 
- Metadata options of the Instance.
- monitoring Boolean
- Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
- networkInterface StringId 
- ID of the network interface that was created with the Instance.
- outpostArn String
- ARN of the Outpost.
- passwordData String
- Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_datais true. See GetPasswordData for more information.
- placementGroup String
- Placement group of the Instance.
- placementPartition IntegerNumber 
- Number of the partition the instance is in.
- privateDns String
- Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
- privateDns List<GetName Options Instance Private Dns Name Option> 
- Options for the instance hostname.
- privateIp String
- Private IP address assigned to the Instance.
- publicDns String
- Public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
- publicIp String
- Public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eipwith your instance, you should refer to the EIP's address directly and not usepublic_ip, as this field will change after the EIP is attached.
- rootBlock List<GetDevices Instance Root Block Device> 
- Root block device mappings of the Instance
- secondaryPrivate List<String>Ips 
- Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
- securityGroups List<String>
- Associated security groups.
- sourceDest BooleanCheck 
- Whether the network interface performs source/destination checking (Boolean).
- subnetId String
- VPC subnet ID.
- Map<String,String>
- Map of tags assigned to the Instance.
- tenancy String
- Tenancy of the instance: dedicated,default,host.
- userData String
- SHA-1 hash of User Data supplied to the Instance.
- userData StringBase64 
- Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_datais true.
- vpcSecurity List<String>Group Ids 
- Associated security groups in a non-default VPC.
- filters
List<GetInstance Filter> 
- getPassword BooleanData 
- getUser BooleanData 
- instanceId String
- ami string
- ID of the AMI used to launch the instance.
- arn string
- ARN of the instance.
- associatePublic booleanIp Address 
- Whether or not the Instance is associated with a public IP address or not (Boolean).
- availabilityZone string
- Availability zone of the Instance.
- creditSpecifications GetInstance Credit Specification[] 
- Credit specification of the Instance.
- disableApi booleanStop 
- Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
- disableApi booleanTermination 
- Whether or not EC2 Instance Termination Protection is enabled (Boolean).
- ebsBlock GetDevices Instance Ebs Block Device[] 
- EBS block device mappings of the Instance.
- ebsOptimized boolean
- Whether the Instance is EBS optimized or not (Boolean).
- enclaveOptions GetInstance Enclave Option[] 
- Enclave options of the instance.
- ephemeralBlock GetDevices Instance Ephemeral Block Device[] 
- Ephemeral block device mappings of the Instance.
- hostId string
- ID of the dedicated host the instance will be assigned to.
- hostResource stringGroup Arn 
- ARN of the host resource group the instance is associated with.
- iamInstance stringProfile 
- Name of the instance profile associated with the Instance.
- id string
- The provider-assigned unique ID for this managed resource.
- instanceState string
- State of the instance. One of: pending,running,shutting-down,terminated,stopping,stopped. See Instance Lifecycle for more information.
- {[key: string]: string}
- instanceType string
- Type of the Instance.
- ipv6Addresses string[]
- IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
- keyName string
- Key name of the Instance.
- launchTime string
- Time the instance was launched.
- maintenanceOptions GetInstance Maintenance Option[] 
- Maintenance and recovery options for the instance.
- metadataOptions GetInstance Metadata Option[] 
- Metadata options of the Instance.
- monitoring boolean
- Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
- networkInterface stringId 
- ID of the network interface that was created with the Instance.
- outpostArn string
- ARN of the Outpost.
- passwordData string
- Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_datais true. See GetPasswordData for more information.
- placementGroup string
- Placement group of the Instance.
- placementPartition numberNumber 
- Number of the partition the instance is in.
- privateDns string
- Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
- privateDns GetName Options Instance Private Dns Name Option[] 
- Options for the instance hostname.
- privateIp string
- Private IP address assigned to the Instance.
- publicDns string
- Public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
- publicIp string
- Public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eipwith your instance, you should refer to the EIP's address directly and not usepublic_ip, as this field will change after the EIP is attached.
- rootBlock GetDevices Instance Root Block Device[] 
- Root block device mappings of the Instance
- secondaryPrivate string[]Ips 
- Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
- securityGroups string[]
- Associated security groups.
- sourceDest booleanCheck 
- Whether the network interface performs source/destination checking (Boolean).
- subnetId string
- VPC subnet ID.
- {[key: string]: string}
- Map of tags assigned to the Instance.
- tenancy string
- Tenancy of the instance: dedicated,default,host.
- userData string
- SHA-1 hash of User Data supplied to the Instance.
- userData stringBase64 
- Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_datais true.
- vpcSecurity string[]Group Ids 
- Associated security groups in a non-default VPC.
- filters
GetInstance Filter[] 
- getPassword booleanData 
- getUser booleanData 
- instanceId string
- ami str
- ID of the AMI used to launch the instance.
- arn str
- ARN of the instance.
- associate_public_ boolip_ address 
- Whether or not the Instance is associated with a public IP address or not (Boolean).
- availability_zone str
- Availability zone of the Instance.
- credit_specifications Sequence[GetInstance Credit Specification] 
- Credit specification of the Instance.
- disable_api_ boolstop 
- Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
- disable_api_ booltermination 
- Whether or not EC2 Instance Termination Protection is enabled (Boolean).
- ebs_block_ Sequence[Getdevices Instance Ebs Block Device] 
- EBS block device mappings of the Instance.
- ebs_optimized bool
- Whether the Instance is EBS optimized or not (Boolean).
- enclave_options Sequence[GetInstance Enclave Option] 
- Enclave options of the instance.
- ephemeral_block_ Sequence[Getdevices Instance Ephemeral Block Device] 
- Ephemeral block device mappings of the Instance.
- host_id str
- ID of the dedicated host the instance will be assigned to.
- host_resource_ strgroup_ arn 
- ARN of the host resource group the instance is associated with.
- iam_instance_ strprofile 
- Name of the instance profile associated with the Instance.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_state str
- State of the instance. One of: pending,running,shutting-down,terminated,stopping,stopped. See Instance Lifecycle for more information.
- Mapping[str, str]
- instance_type str
- Type of the Instance.
- ipv6_addresses Sequence[str]
- IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
- key_name str
- Key name of the Instance.
- launch_time str
- Time the instance was launched.
- maintenance_options Sequence[GetInstance Maintenance Option] 
- Maintenance and recovery options for the instance.
- metadata_options Sequence[GetInstance Metadata Option] 
- Metadata options of the Instance.
- monitoring bool
- Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
- network_interface_ strid 
- ID of the network interface that was created with the Instance.
- outpost_arn str
- ARN of the Outpost.
- password_data str
- Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_datais true. See GetPasswordData for more information.
- placement_group str
- Placement group of the Instance.
- placement_partition_ intnumber 
- Number of the partition the instance is in.
- private_dns str
- Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
- private_dns_ Sequence[Getname_ options Instance Private Dns Name Option] 
- Options for the instance hostname.
- private_ip str
- Private IP address assigned to the Instance.
- public_dns str
- Public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
- public_ip str
- Public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eipwith your instance, you should refer to the EIP's address directly and not usepublic_ip, as this field will change after the EIP is attached.
- root_block_ Sequence[Getdevices Instance Root Block Device] 
- Root block device mappings of the Instance
- secondary_private_ Sequence[str]ips 
- Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
- security_groups Sequence[str]
- Associated security groups.
- source_dest_ boolcheck 
- Whether the network interface performs source/destination checking (Boolean).
- subnet_id str
- VPC subnet ID.
- Mapping[str, str]
- Map of tags assigned to the Instance.
- tenancy str
- Tenancy of the instance: dedicated,default,host.
- user_data str
- SHA-1 hash of User Data supplied to the Instance.
- user_data_ strbase64 
- Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_datais true.
- vpc_security_ Sequence[str]group_ ids 
- Associated security groups in a non-default VPC.
- filters
Sequence[GetInstance Filter] 
- get_password_ booldata 
- get_user_ booldata 
- instance_id str
- ami String
- ID of the AMI used to launch the instance.
- arn String
- ARN of the instance.
- associatePublic BooleanIp Address 
- Whether or not the Instance is associated with a public IP address or not (Boolean).
- availabilityZone String
- Availability zone of the Instance.
- creditSpecifications List<Property Map>
- Credit specification of the Instance.
- disableApi BooleanStop 
- Whether or not EC2 Instance Stop Protection](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#Using_StopProtection) is enabled (Boolean).
- disableApi BooleanTermination 
- Whether or not EC2 Instance Termination Protection is enabled (Boolean).
- ebsBlock List<Property Map>Devices 
- EBS block device mappings of the Instance.
- ebsOptimized Boolean
- Whether the Instance is EBS optimized or not (Boolean).
- enclaveOptions List<Property Map>
- Enclave options of the instance.
- ephemeralBlock List<Property Map>Devices 
- Ephemeral block device mappings of the Instance.
- hostId String
- ID of the dedicated host the instance will be assigned to.
- hostResource StringGroup Arn 
- ARN of the host resource group the instance is associated with.
- iamInstance StringProfile 
- Name of the instance profile associated with the Instance.
- id String
- The provider-assigned unique ID for this managed resource.
- instanceState String
- State of the instance. One of: pending,running,shutting-down,terminated,stopping,stopped. See Instance Lifecycle for more information.
- Map<String>
- instanceType String
- Type of the Instance.
- ipv6Addresses List<String>
- IPv6 addresses associated to the Instance, if applicable. NOTE: Unlike the IPv4 address, this doesn't change if you attach an EIP to the instance.
- keyName String
- Key name of the Instance.
- launchTime String
- Time the instance was launched.
- maintenanceOptions List<Property Map>
- Maintenance and recovery options for the instance.
- metadataOptions List<Property Map>
- Metadata options of the Instance.
- monitoring Boolean
- Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
- networkInterface StringId 
- ID of the network interface that was created with the Instance.
- outpostArn String
- ARN of the Outpost.
- passwordData String
- Base-64 encoded encrypted password data for the instance. Useful for getting the administrator password for instances running Microsoft Windows. This attribute is only exported if get_password_datais true. See GetPasswordData for more information.
- placementGroup String
- Placement group of the Instance.
- placementPartition NumberNumber 
- Number of the partition the instance is in.
- privateDns String
- Private DNS name assigned to the Instance. Can only be used inside the Amazon EC2, and only available if you've enabled DNS hostnames for your VPC.
- privateDns List<Property Map>Name Options 
- Options for the instance hostname.
- privateIp String
- Private IP address assigned to the Instance.
- publicDns String
- Public DNS name assigned to the Instance. For EC2-VPC, this is only available if you've enabled DNS hostnames for your VPC.
- publicIp String
- Public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eipwith your instance, you should refer to the EIP's address directly and not usepublic_ip, as this field will change after the EIP is attached.
- rootBlock List<Property Map>Devices 
- Root block device mappings of the Instance
- secondaryPrivate List<String>Ips 
- Secondary private IPv4 addresses assigned to the instance's primary network interface (eth0) in a VPC.
- securityGroups List<String>
- Associated security groups.
- sourceDest BooleanCheck 
- Whether the network interface performs source/destination checking (Boolean).
- subnetId String
- VPC subnet ID.
- Map<String>
- Map of tags assigned to the Instance.
- tenancy String
- Tenancy of the instance: dedicated,default,host.
- userData String
- SHA-1 hash of User Data supplied to the Instance.
- userData StringBase64 
- Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_datais true.
- vpcSecurity List<String>Group Ids 
- Associated security groups in a non-default VPC.
- filters List<Property Map>
- getPassword BooleanData 
- getUser BooleanData 
- instanceId String
Supporting Types
GetInstanceCreditSpecification   
- CpuCredits string
- CpuCredits string
- cpuCredits String
- cpuCredits string
- cpu_credits str
- cpuCredits String
GetInstanceEbsBlockDevice    
- DeleteOn boolTermination 
- If the root block device will be deleted on termination.
- DeviceName string
- Physical name of the device.
- Encrypted bool
- If the EBS volume is encrypted.
- Iops int
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- KmsKey stringId 
- SnapshotId string
- ID of the snapshot.
- Dictionary<string, string>
- Map of tags assigned to the Instance.
- Throughput int
- Throughput of the volume, in MiB/s.
- VolumeId string
- VolumeSize int
- Size of the volume, in GiB.
- VolumeType string
- Type of the volume.
- DeleteOn boolTermination 
- If the root block device will be deleted on termination.
- DeviceName string
- Physical name of the device.
- Encrypted bool
- If the EBS volume is encrypted.
- Iops int
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- KmsKey stringId 
- SnapshotId string
- ID of the snapshot.
- map[string]string
- Map of tags assigned to the Instance.
- Throughput int
- Throughput of the volume, in MiB/s.
- VolumeId string
- VolumeSize int
- Size of the volume, in GiB.
- VolumeType string
- Type of the volume.
- deleteOn BooleanTermination 
- If the root block device will be deleted on termination.
- deviceName String
- Physical name of the device.
- encrypted Boolean
- If the EBS volume is encrypted.
- iops Integer
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kmsKey StringId 
- snapshotId String
- ID of the snapshot.
- Map<String,String>
- Map of tags assigned to the Instance.
- throughput Integer
- Throughput of the volume, in MiB/s.
- volumeId String
- volumeSize Integer
- Size of the volume, in GiB.
- volumeType String
- Type of the volume.
- deleteOn booleanTermination 
- If the root block device will be deleted on termination.
- deviceName string
- Physical name of the device.
- encrypted boolean
- If the EBS volume is encrypted.
- iops number
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kmsKey stringId 
- snapshotId string
- ID of the snapshot.
- {[key: string]: string}
- Map of tags assigned to the Instance.
- throughput number
- Throughput of the volume, in MiB/s.
- volumeId string
- volumeSize number
- Size of the volume, in GiB.
- volumeType string
- Type of the volume.
- delete_on_ booltermination 
- If the root block device will be deleted on termination.
- device_name str
- Physical name of the device.
- encrypted bool
- If the EBS volume is encrypted.
- iops int
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kms_key_ strid 
- snapshot_id str
- ID of the snapshot.
- Mapping[str, str]
- Map of tags assigned to the Instance.
- throughput int
- Throughput of the volume, in MiB/s.
- volume_id str
- volume_size int
- Size of the volume, in GiB.
- volume_type str
- Type of the volume.
- deleteOn BooleanTermination 
- If the root block device will be deleted on termination.
- deviceName String
- Physical name of the device.
- encrypted Boolean
- If the EBS volume is encrypted.
- iops Number
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kmsKey StringId 
- snapshotId String
- ID of the snapshot.
- Map<String>
- Map of tags assigned to the Instance.
- throughput Number
- Throughput of the volume, in MiB/s.
- volumeId String
- volumeSize Number
- Size of the volume, in GiB.
- volumeType String
- Type of the volume.
GetInstanceEnclaveOption   
- Enabled bool
- Whether Nitro Enclaves are enabled.
- Enabled bool
- Whether Nitro Enclaves are enabled.
- enabled Boolean
- Whether Nitro Enclaves are enabled.
- enabled boolean
- Whether Nitro Enclaves are enabled.
- enabled bool
- Whether Nitro Enclaves are enabled.
- enabled Boolean
- Whether Nitro Enclaves are enabled.
GetInstanceEphemeralBlockDevice    
- DeviceName string
- Physical name of the device.
- NoDevice bool
- Whether the specified device included in the device mapping was suppressed or not (Boolean).
- VirtualName string
- Virtual device name.
- DeviceName string
- Physical name of the device.
- NoDevice bool
- Whether the specified device included in the device mapping was suppressed or not (Boolean).
- VirtualName string
- Virtual device name.
- deviceName String
- Physical name of the device.
- noDevice Boolean
- Whether the specified device included in the device mapping was suppressed or not (Boolean).
- virtualName String
- Virtual device name.
- deviceName string
- Physical name of the device.
- noDevice boolean
- Whether the specified device included in the device mapping was suppressed or not (Boolean).
- virtualName string
- Virtual device name.
- device_name str
- Physical name of the device.
- no_device bool
- Whether the specified device included in the device mapping was suppressed or not (Boolean).
- virtual_name str
- Virtual device name.
- deviceName String
- Physical name of the device.
- noDevice Boolean
- Whether the specified device included in the device mapping was suppressed or not (Boolean).
- virtualName String
- Virtual device name.
GetInstanceFilter  
GetInstanceMaintenanceOption   
- AutoRecovery string
- Automatic recovery behavior of the instance.
- AutoRecovery string
- Automatic recovery behavior of the instance.
- autoRecovery String
- Automatic recovery behavior of the instance.
- autoRecovery string
- Automatic recovery behavior of the instance.
- auto_recovery str
- Automatic recovery behavior of the instance.
- autoRecovery String
- Automatic recovery behavior of the instance.
GetInstanceMetadataOption   
- HttpEndpoint string
- State of the metadata service: enabled,disabled.
- HttpProtocol stringIpv6 
- Whether the IPv6 endpoint for the instance metadata service is enabledordisabled
- HttpPut intResponse Hop Limit 
- Desired HTTP PUT response hop limit for instance metadata requests.
- HttpTokens string
- If session tokens are required: optional,required.
- string
- If access to instance tags is allowed from the metadata service: enabled,disabled.
- HttpEndpoint string
- State of the metadata service: enabled,disabled.
- HttpProtocol stringIpv6 
- Whether the IPv6 endpoint for the instance metadata service is enabledordisabled
- HttpPut intResponse Hop Limit 
- Desired HTTP PUT response hop limit for instance metadata requests.
- HttpTokens string
- If session tokens are required: optional,required.
- string
- If access to instance tags is allowed from the metadata service: enabled,disabled.
- httpEndpoint String
- State of the metadata service: enabled,disabled.
- httpProtocol StringIpv6 
- Whether the IPv6 endpoint for the instance metadata service is enabledordisabled
- httpPut IntegerResponse Hop Limit 
- Desired HTTP PUT response hop limit for instance metadata requests.
- httpTokens String
- If session tokens are required: optional,required.
- String
- If access to instance tags is allowed from the metadata service: enabled,disabled.
- httpEndpoint string
- State of the metadata service: enabled,disabled.
- httpProtocol stringIpv6 
- Whether the IPv6 endpoint for the instance metadata service is enabledordisabled
- httpPut numberResponse Hop Limit 
- Desired HTTP PUT response hop limit for instance metadata requests.
- httpTokens string
- If session tokens are required: optional,required.
- string
- If access to instance tags is allowed from the metadata service: enabled,disabled.
- http_endpoint str
- State of the metadata service: enabled,disabled.
- http_protocol_ stripv6 
- Whether the IPv6 endpoint for the instance metadata service is enabledordisabled
- http_put_ intresponse_ hop_ limit 
- Desired HTTP PUT response hop limit for instance metadata requests.
- http_tokens str
- If session tokens are required: optional,required.
- str
- If access to instance tags is allowed from the metadata service: enabled,disabled.
- httpEndpoint String
- State of the metadata service: enabled,disabled.
- httpProtocol StringIpv6 
- Whether the IPv6 endpoint for the instance metadata service is enabledordisabled
- httpPut NumberResponse Hop Limit 
- Desired HTTP PUT response hop limit for instance metadata requests.
- httpTokens String
- If session tokens are required: optional,required.
- String
- If access to instance tags is allowed from the metadata service: enabled,disabled.
GetInstancePrivateDnsNameOption     
- EnableResource boolName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- EnableResource boolName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- HostnameType string
- Type of hostname for EC2 instances.
- EnableResource boolName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- EnableResource boolName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- HostnameType string
- Type of hostname for EC2 instances.
- enableResource BooleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource BooleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType String
- Type of hostname for EC2 instances.
- enableResource booleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource booleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType string
- Type of hostname for EC2 instances.
- enable_resource_ boolname_ dns_ a_ record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enable_resource_ boolname_ dns_ aaaa_ record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostname_type str
- Type of hostname for EC2 instances.
- enableResource BooleanName Dns ARecord 
- Indicates whether to respond to DNS queries for instance hostnames with DNS A records.
- enableResource BooleanName Dns Aaaa Record 
- Indicates whether to respond to DNS queries for instance hostnames with DNS AAAA records.
- hostnameType String
- Type of hostname for EC2 instances.
GetInstanceRootBlockDevice    
- DeleteOn boolTermination 
- If the root block device will be deleted on termination.
- DeviceName string
- Physical name of the device.
- Encrypted bool
- If the EBS volume is encrypted.
- Iops int
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- KmsKey stringId 
- Dictionary<string, string>
- Map of tags assigned to the Instance.
- Throughput int
- Throughput of the volume, in MiB/s.
- VolumeId string
- VolumeSize int
- Size of the volume, in GiB.
- VolumeType string
- Type of the volume.
- DeleteOn boolTermination 
- If the root block device will be deleted on termination.
- DeviceName string
- Physical name of the device.
- Encrypted bool
- If the EBS volume is encrypted.
- Iops int
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- KmsKey stringId 
- map[string]string
- Map of tags assigned to the Instance.
- Throughput int
- Throughput of the volume, in MiB/s.
- VolumeId string
- VolumeSize int
- Size of the volume, in GiB.
- VolumeType string
- Type of the volume.
- deleteOn BooleanTermination 
- If the root block device will be deleted on termination.
- deviceName String
- Physical name of the device.
- encrypted Boolean
- If the EBS volume is encrypted.
- iops Integer
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kmsKey StringId 
- Map<String,String>
- Map of tags assigned to the Instance.
- throughput Integer
- Throughput of the volume, in MiB/s.
- volumeId String
- volumeSize Integer
- Size of the volume, in GiB.
- volumeType String
- Type of the volume.
- deleteOn booleanTermination 
- If the root block device will be deleted on termination.
- deviceName string
- Physical name of the device.
- encrypted boolean
- If the EBS volume is encrypted.
- iops number
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kmsKey stringId 
- {[key: string]: string}
- Map of tags assigned to the Instance.
- throughput number
- Throughput of the volume, in MiB/s.
- volumeId string
- volumeSize number
- Size of the volume, in GiB.
- volumeType string
- Type of the volume.
- delete_on_ booltermination 
- If the root block device will be deleted on termination.
- device_name str
- Physical name of the device.
- encrypted bool
- If the EBS volume is encrypted.
- iops int
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kms_key_ strid 
- Mapping[str, str]
- Map of tags assigned to the Instance.
- throughput int
- Throughput of the volume, in MiB/s.
- volume_id str
- volume_size int
- Size of the volume, in GiB.
- volume_type str
- Type of the volume.
- deleteOn BooleanTermination 
- If the root block device will be deleted on termination.
- deviceName String
- Physical name of the device.
- encrypted Boolean
- If the EBS volume is encrypted.
- iops Number
- 0If the volume is not a provisioned IOPS image, otherwise the supported IOPS count.
- kmsKey StringId 
- Map<String>
- Map of tags assigned to the Instance.
- throughput Number
- Throughput of the volume, in MiB/s.
- volumeId String
- volumeSize Number
- Size of the volume, in GiB.
- volumeType String
- Type of the volume.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.