Instance class

Describes an instance.

Constructors

Instance({String? agentVersion, String? amiId, Architecture? architecture, String? arn, AutoScalingType? autoScalingType, String? availabilityZone, List<BlockDeviceMapping>? blockDeviceMappings, String? createdAt, bool? ebsOptimized, String? ec2InstanceId, String? ecsClusterArn, String? ecsContainerInstanceArn, String? elasticIp, String? hostname, String? infrastructureClass, bool? installUpdatesOnBoot, String? instanceId, String? instanceProfileArn, String? instanceType, String? lastServiceErrorId, List<String>? layerIds, String? os, String? platform, String? privateDns, String? privateIp, String? publicDns, String? publicIp, String? registeredBy, String? reportedAgentVersion, ReportedOs? reportedOs, RootDeviceType? rootDeviceType, String? rootDeviceVolumeId, List<String>? securityGroupIds, String? sshHostDsaKeyFingerprint, String? sshHostRsaKeyFingerprint, String? sshKeyName, String? stackId, String? status, String? subnetId, String? tenancy, VirtualizationType? virtualizationType})
Instance.fromJson(Map<String, dynamic> json)
factory

Properties

agentVersion String?
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.
final
amiId String?
A custom AMI ID to be used to create the instance. For more information, see Instances
final
architecture Architecture?
The instance architecture: "i386" or "x86_64".
final
arn String?
The instance's Amazon Resource Number (ARN).
final
autoScalingType AutoScalingType?
For load-based or time-based instances, the type.
final
availabilityZone String?
The instance Availability Zone. For more information, see Regions and Endpoints.
final
blockDeviceMappings List<BlockDeviceMapping>?
An array of BlockDeviceMapping objects that specify the instance's block device mappings.
final
createdAt String?
The time that the instance was created.
final
ebsOptimized bool?
Whether this is an Amazon EBS-optimized instance.
final
ec2InstanceId String?
The ID of the associated Amazon EC2 instance.
final
ecsClusterArn String?
For container instances, the Amazon ECS cluster's ARN.
final
ecsContainerInstanceArn String?
For container instances, the instance's ARN.
final
elasticIp String?
The instance Elastic IP address .
final
hashCode int
The hash code for this object.
no setterinherited
hostname String?
The instance host name.
final
infrastructureClass String?
For registered instances, the infrastructure class: ec2 or on-premises.
final
installUpdatesOnBoot bool?
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.
final
instanceId String?
The instance ID.
final
instanceProfileArn String?
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
final
instanceType String?
The instance type, such as t2.micro.
final
lastServiceErrorId String?
The ID of the last service error. For more information, call DescribeServiceErrors.
final
layerIds List<String>?
An array containing the instance layer IDs.
final
os String?
The instance's operating system.
final
platform String?
The instance's platform.
final
privateDns String?
The instance's private DNS name.
final
privateIp String?
The instance's private IP address.
final
publicDns String?
The instance public DNS name.
final
publicIp String?
The instance public IP address.
final
registeredBy String?
For registered instances, who performed the registration.
final
reportedAgentVersion String?
The instance's reported AWS OpsWorks Stacks agent version.
final
reportedOs ReportedOs?
For registered instances, the reported operating system.
final
rootDeviceType RootDeviceType?
The instance's root device type. For more information, see Storage for the Root Device.
final
rootDeviceVolumeId String?
The root device volume ID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
securityGroupIds List<String>?
An array containing the instance security group IDs.
final
sshHostDsaKeyFingerprint String?
The SSH key's Deep Security Agent (DSA) fingerprint.
final
sshHostRsaKeyFingerprint String?
The SSH key's RSA fingerprint.
final
sshKeyName String?
The instance's Amazon EC2 key-pair name.
final
stackId String?
The stack ID.
final
status String?
The instance status:
final
subnetId String?
The instance's subnet ID; applicable only if the stack is running in a VPC.
final
tenancy String?
The instance's tenancy option, such as dedicated or host.
final
virtualizationType VirtualizationType?
The instance's virtualization type: paravirtual or hvm.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited