Get Instance Result
data class GetInstanceResult(val ami: String, val arn: String, val associatePublicIpAddress: Boolean, val availabilityZone: String, val creditSpecifications: List<GetInstanceCreditSpecification>, val disableApiStop: Boolean, val disableApiTermination: Boolean, val ebsBlockDevices: List<GetInstanceEbsBlockDevice>, val ebsOptimized: Boolean, val enclaveOptions: List<GetInstanceEnclaveOption>, val ephemeralBlockDevices: List<GetInstanceEphemeralBlockDevice>, val filters: List<GetInstanceFilter>? = null, val getPasswordData: Boolean? = null, val getUserData: Boolean? = null, val hostId: String, val hostResourceGroupArn: String, val iamInstanceProfile: String, val id: String, val instanceId: String? = null, val instanceState: String, val instanceTags: Map<String, String>, val instanceType: String, val ipv6Addresses: List<String>, val keyName: String, val maintenanceOptions: List<GetInstanceMaintenanceOption>, val metadataOptions: List<GetInstanceMetadataOption>, val monitoring: Boolean, val networkInterfaceId: String, val outpostArn: String, val passwordData: String, val placementGroup: String, val placementPartitionNumber: Int, val privateDns: String, val privateDnsNameOptions: List<GetInstancePrivateDnsNameOption>, val privateIp: String, val publicDns: String, val publicIp: String, val rootBlockDevices: List<GetInstanceRootBlockDevice>, val secondaryPrivateIps: List<String>, val securityGroups: List<String>, val sourceDestCheck: Boolean, val subnetId: String, val tags: Map<String, String>, val tenancy: String, val userData: String, val userDataBase64: String, val vpcSecurityGroupIds: List<String>)
A collection of values returned by getInstance.
Constructors
Link copied to clipboard
fun GetInstanceResult(ami: String, arn: String, associatePublicIpAddress: Boolean, availabilityZone: String, creditSpecifications: List<GetInstanceCreditSpecification>, disableApiStop: Boolean, disableApiTermination: Boolean, ebsBlockDevices: List<GetInstanceEbsBlockDevice>, ebsOptimized: Boolean, enclaveOptions: List<GetInstanceEnclaveOption>, ephemeralBlockDevices: List<GetInstanceEphemeralBlockDevice>, filters: List<GetInstanceFilter>? = null, getPasswordData: Boolean? = null, getUserData: Boolean? = null, hostId: String, hostResourceGroupArn: String, iamInstanceProfile: String, id: String, instanceId: String? = null, instanceState: String, instanceTags: Map<String, String>, instanceType: String, ipv6Addresses: List<String>, keyName: String, maintenanceOptions: List<GetInstanceMaintenanceOption>, metadataOptions: List<GetInstanceMetadataOption>, monitoring: Boolean, networkInterfaceId: String, outpostArn: String, passwordData: String, placementGroup: String, placementPartitionNumber: Int, privateDns: String, privateDnsNameOptions: List<GetInstancePrivateDnsNameOption>, privateIp: String, publicDns: String, publicIp: String, rootBlockDevices: List<GetInstanceRootBlockDevice>, secondaryPrivateIps: List<String>, securityGroups: List<String>, sourceDestCheck: Boolean, subnetId: String, tags: Map<String, String>, tenancy: String, userData: String, userDataBase64: String, vpcSecurityGroupIds: List<String>)
Types
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Whether or not EC2 Instance Termination Protection is enabled (Boolean).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
State of the instance. One of: pending
, running
, shutting-down
, terminated
, stopping
, stopped
. See Instance Lifecycle for more information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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_data
is true. See GetPasswordData for more information.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard