Instance
public struct Instance : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The AMI launch index, which can be used to find this instance in the launch group.
Declaration
Swift
public let amiLaunchIndex: Int?
-
The architecture of the image.
Declaration
Swift
public let architecture: ArchitectureValues?
-
Any block device mapping entries for the instance.
Declaration
Swift
public let blockDeviceMappings: [InstanceBlockDeviceMapping]?
-
The ID of the Capacity Reservation.
Declaration
Swift
public let capacityReservationId: String?
-
Information about the Capacity Reservation targeting option.
Declaration
Swift
public let capacityReservationSpecification: CapacityReservationSpecificationResponse?
-
The idempotency token you provided when you launched the instance, if applicable.
Declaration
Swift
public let clientToken: String?
-
The CPU options for the instance.
Declaration
Swift
public let cpuOptions: CpuOptions?
-
Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Declaration
Swift
public let ebsOptimized: Bool?
-
The Elastic GPU associated with the instance.
Declaration
Swift
public let elasticGpuAssociations: [ElasticGpuAssociation]?
-
The elastic inference accelerator associated with the instance.
Declaration
Swift
public let elasticInferenceAcceleratorAssociations: [ElasticInferenceAcceleratorAssociation]?
-
Specifies whether enhanced networking with ENA is enabled.
Declaration
Swift
public let enaSupport: Bool?
-
Indicates whether the instance is enabled for hibernation.
Declaration
Swift
public let hibernationOptions: HibernationOptions?
-
The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.
Declaration
Swift
public let hypervisor: HypervisorType?
-
The IAM instance profile associated with the instance, if applicable.
Declaration
Swift
public let iamInstanceProfile: IamInstanceProfile?
-
The ID of the AMI used to launch the instance.
Declaration
Swift
public let imageId: String?
-
The ID of the instance.
Declaration
Swift
public let instanceId: String?
-
Indicates whether this is a Spot Instance or a Scheduled Instance.
Declaration
Swift
public let instanceLifecycle: InstanceLifecycleType?
-
The instance type.
Declaration
Swift
public let instanceType: InstanceType?
-
The kernel associated with this instance, if applicable.
Declaration
Swift
public let kernelId: String?
-
The name of the key pair, if this instance was launched with an associated key pair.
Declaration
Swift
public let keyName: String?
-
The time the instance was launched.
Declaration
Swift
public let launchTime: TimeStamp?
-
The license configurations.
Declaration
Swift
public let licenses: [LicenseConfiguration]?
-
The metadata options for the instance.
Declaration
Swift
public let metadataOptions: InstanceMetadataOptionsResponse?
-
The monitoring for the instance.
Declaration
Swift
public let monitoring: Monitoring?
-
[EC2-VPC] The network interfaces for the instance.
Declaration
Swift
public let networkInterfaces: [InstanceNetworkInterface]?
-
The Amazon Resource Name (ARN) of the Outpost.
Declaration
Swift
public let outpostArn: String?
-
The location where the instance launched, if applicable.
Declaration
Swift
public let placement: Placement?
-
The value is Windows for Windows instances; otherwise blank.
Declaration
Swift
public let platform: PlatformValues?
-
(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state. [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you’ve enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.
Declaration
Swift
public let privateDnsName: String?
-
The private IPv4 address assigned to the instance.
Declaration
Swift
public let privateIpAddress: String?
-
The product codes attached to this instance, if applicable.
Declaration
Swift
public let productCodes: [ProductCode]?
-
(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you’ve enabled DNS hostnames for your VPC.
Declaration
Swift
public let publicDnsName: String?
-
The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable. A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.
Declaration
Swift
public let publicIpAddress: String?
-
The RAM disk associated with this instance, if applicable.
Declaration
Swift
public let ramdiskId: String?
-
The device name of the root device volume (for example, /dev/sda1).
Declaration
Swift
public let rootDeviceName: String?
-
The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.
Declaration
Swift
public let rootDeviceType: DeviceType?
-
The security groups for the instance.
Declaration
Swift
public let securityGroups: [GroupIdentifier]?
-
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means that checking is enabled, and false means that checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.
Declaration
Swift
public let sourceDestCheck: Bool?
-
If the request is a Spot Instance request, the ID of the request.
Declaration
Swift
public let spotInstanceRequestId: String?
-
Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.
Declaration
Swift
public let sriovNetSupport: String?
-
The current state of the instance.
Declaration
Swift
public let state: InstanceState?
-
The reason for the most recent state transition.
Declaration
Swift
public let stateReason: StateReason?
-
The reason for the most recent state transition. This might be an empty string.
Declaration
Swift
public let stateTransitionReason: String?
-
[EC2-VPC] The ID of the subnet in which the instance is running.
Declaration
Swift
public let subnetId: String?
-
Any tags assigned to the instance.
Declaration
Swift
public let tags: [Tag]?
-
The virtualization type of the instance.
Declaration
Swift
public let virtualizationType: VirtualizationType?
-
[EC2-VPC] The ID of the VPC in which the instance is running.
Declaration
Swift
public let vpcId: String?
-
init(amiLaunchIndex:architecture:blockDeviceMappings:capacityReservationId:capacityReservationSpecification:clientToken:cpuOptions:ebsOptimized:elasticGpuAssociations:elasticInferenceAcceleratorAssociations:enaSupport:hibernationOptions:hypervisor:iamInstanceProfile:imageId:instanceId:instanceLifecycle:instanceType:kernelId:keyName:launchTime:licenses:metadataOptions:monitoring:networkInterfaces:outpostArn:placement:platform:privateDnsName:privateIpAddress:productCodes:publicDnsName:publicIpAddress:ramdiskId:rootDeviceName:rootDeviceType:securityGroups:sourceDestCheck:spotInstanceRequestId:sriovNetSupport:state:stateReason:stateTransitionReason:subnetId:tags:virtualizationType:vpcId:)
Undocumented
Declaration
Swift
public init(amiLaunchIndex: Int? = nil, architecture: ArchitectureValues? = nil, blockDeviceMappings: [InstanceBlockDeviceMapping]? = nil, capacityReservationId: String? = nil, capacityReservationSpecification: CapacityReservationSpecificationResponse? = nil, clientToken: String? = nil, cpuOptions: CpuOptions? = nil, ebsOptimized: Bool? = nil, elasticGpuAssociations: [ElasticGpuAssociation]? = nil, elasticInferenceAcceleratorAssociations: [ElasticInferenceAcceleratorAssociation]? = nil, enaSupport: Bool? = nil, hibernationOptions: HibernationOptions? = nil, hypervisor: HypervisorType? = nil, iamInstanceProfile: IamInstanceProfile? = nil, imageId: String? = nil, instanceId: String? = nil, instanceLifecycle: InstanceLifecycleType? = nil, instanceType: InstanceType? = nil, kernelId: String? = nil, keyName: String? = nil, launchTime: TimeStamp? = nil, licenses: [LicenseConfiguration]? = nil, metadataOptions: InstanceMetadataOptionsResponse? = nil, monitoring: Monitoring? = nil, networkInterfaces: [InstanceNetworkInterface]? = nil, outpostArn: String? = nil, placement: Placement? = nil, platform: PlatformValues? = nil, privateDnsName: String? = nil, privateIpAddress: String? = nil, productCodes: [ProductCode]? = nil, publicDnsName: String? = nil, publicIpAddress: String? = nil, ramdiskId: String? = nil, rootDeviceName: String? = nil, rootDeviceType: DeviceType? = nil, securityGroups: [GroupIdentifier]? = nil, sourceDestCheck: Bool? = nil, spotInstanceRequestId: String? = nil, sriovNetSupport: String? = nil, state: InstanceState? = nil, stateReason: StateReason? = nil, stateTransitionReason: String? = nil, subnetId: String? = nil, tags: [Tag]? = nil, virtualizationType: VirtualizationType? = nil, vpcId: String? = nil)