Instance

public struct Instance : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The agent version. This parameter is set to INHERIT if the instance inherits the default stack setting or to a a version number for a fixed agent version.

    Declaration

    Swift

    public let agentVersion: String?
  • A custom AMI ID to be used to create the instance. For more information, see Instances

    Declaration

    Swift

    public let amiId: String?
  • The instance architecture: “i386” or “x86_64”.

    Declaration

    Swift

    public let architecture: Architecture?
  • arn

    The instance’s Amazon Resource Number (ARN).

    Declaration

    Swift

    public let arn: String?
  • For load-based or time-based instances, the type.

    Declaration

    Swift

    public let autoScalingType: AutoScalingType?
  • The instance Availability Zone. For more information, see Regions and Endpoints.

    Declaration

    Swift

    public let availabilityZone: String?
  • An array of BlockDeviceMapping objects that specify the instance’s block device mappings.

    Declaration

    Swift

    public let blockDeviceMappings: [BlockDeviceMapping]?
  • The time that the instance was created.

    Declaration

    Swift

    public let createdAt: String?
  • Whether this is an Amazon EBS-optimized instance.

    Declaration

    Swift

    public let ebsOptimized: Bool?
  • The ID of the associated Amazon EC2 instance.

    Declaration

    Swift

    public let ec2InstanceId: String?
  • For container instances, the Amazon ECS cluster’s ARN.

    Declaration

    Swift

    public let ecsClusterArn: String?
  • For container instances, the instance’s ARN.

    Declaration

    Swift

    public let ecsContainerInstanceArn: String?
  • The instance Elastic IP address .

    Declaration

    Swift

    public let elasticIp: String?
  • The instance host name.

    Declaration

    Swift

    public let hostname: String?
  • For registered instances, the infrastructure class: ec2 or on-premises.

    Declaration

    Swift

    public let infrastructureClass: String?
  • Whether to install operating system and package updates when the instance boots. The default value is true. If this value is set to false, you must then update your instances manually by using CreateDeployment to run the update_dependencies stack command or by manually running yum (Amazon Linux) or apt-get (Ubuntu) on the instances. We strongly recommend using the default value of true, to ensure that your instances have the latest security updates.

    Declaration

    Swift

    public let installUpdatesOnBoot: Bool?
  • The instance ID.

    Declaration

    Swift

    public let instanceId: String?
  • The ARN of the instance’s IAM profile. For more information about IAM ARNs, see Using Identifiers.

    Declaration

    Swift

    public let instanceProfileArn: String?
  • The instance type, such as t2.micro.

    Declaration

    Swift

    public let instanceType: String?
  • The ID of the last service error. For more information, call DescribeServiceErrors.

    Declaration

    Swift

    public let lastServiceErrorId: String?
  • An array containing the instance layer IDs.

    Declaration

    Swift

    public let layerIds: [String]?
  • os

    The instance’s operating system.

    Declaration

    Swift

    public let os: String?
  • The instance’s platform.

    Declaration

    Swift

    public let platform: String?
  • The instance’s private DNS name.

    Declaration

    Swift

    public let privateDns: String?
  • The instance’s private IP address.

    Declaration

    Swift

    public let privateIp: String?
  • The instance public DNS name.

    Declaration

    Swift

    public let publicDns: String?
  • The instance public IP address.

    Declaration

    Swift

    public let publicIp: String?
  • For registered instances, who performed the registration.

    Declaration

    Swift

    public let registeredBy: String?
  • The instance’s reported AWS OpsWorks Stacks agent version.

    Declaration

    Swift

    public let reportedAgentVersion: String?
  • For registered instances, the reported operating system.

    Declaration

    Swift

    public let reportedOs: ReportedOs?
  • The instance’s root device type. For more information, see Storage for the Root Device.

    Declaration

    Swift

    public let rootDeviceType: RootDeviceType?
  • The root device volume ID.

    Declaration

    Swift

    public let rootDeviceVolumeId: String?
  • An array containing the instance security group IDs.

    Declaration

    Swift

    public let securityGroupIds: [String]?
  • The SSH key’s Deep Security Agent (DSA) fingerprint.

    Declaration

    Swift

    public let sshHostDsaKeyFingerprint: String?
  • The SSH key’s RSA fingerprint.

    Declaration

    Swift

    public let sshHostRsaKeyFingerprint: String?
  • The instance’s Amazon EC2 key-pair name.

    Declaration

    Swift

    public let sshKeyName: String?
  • The stack ID.

    Declaration

    Swift

    public let stackId: String?
  • The instance status: booting connection_lost online pending rebooting requested running_setup setup_failed shutting_down start_failed stop_failed stopped stopping terminated terminating

    Declaration

    Swift

    public let status: String?
  • The instance’s subnet ID; applicable only if the stack is running in a VPC.

    Declaration

    Swift

    public let subnetId: String?
  • The instance’s tenancy option, such as dedicated or host.

    Declaration

    Swift

    public let tenancy: String?
  • The instance’s virtualization type: paravirtual or hvm.

    Declaration

    Swift

    public let virtualizationType: VirtualizationType?
  • Undocumented

    Declaration

    Swift

    public init(agentVersion: String? = nil, amiId: String? = nil, architecture: Architecture? = nil, arn: String? = nil, autoScalingType: AutoScalingType? = nil, availabilityZone: String? = nil, blockDeviceMappings: [BlockDeviceMapping]? = nil, createdAt: String? = nil, ebsOptimized: Bool? = nil, ec2InstanceId: String? = nil, ecsClusterArn: String? = nil, ecsContainerInstanceArn: String? = nil, elasticIp: String? = nil, hostname: String? = nil, infrastructureClass: String? = nil, installUpdatesOnBoot: Bool? = nil, instanceId: String? = nil, instanceProfileArn: String? = nil, instanceType: String? = nil, lastServiceErrorId: String? = nil, layerIds: [String]? = nil, os: String? = nil, platform: String? = nil, privateDns: String? = nil, privateIp: String? = nil, publicDns: String? = nil, publicIp: String? = nil, registeredBy: String? = nil, reportedAgentVersion: String? = nil, reportedOs: ReportedOs? = nil, rootDeviceType: RootDeviceType? = nil, rootDeviceVolumeId: String? = nil, securityGroupIds: [String]? = nil, sshHostDsaKeyFingerprint: String? = nil, sshHostRsaKeyFingerprint: String? = nil, sshKeyName: String? = nil, stackId: String? = nil, status: String? = nil, subnetId: String? = nil, tenancy: String? = nil, virtualizationType: VirtualizationType? = nil)