| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.OpsWorks.Types.Instance
Description
Synopsis
- data Instance = Instance' {
- privateDns :: Maybe Text
- reportedAgentVersion :: Maybe Text
- instanceId :: Maybe Text
- status :: Maybe Text
- privateIp :: Maybe Text
- installUpdatesOnBoot :: Maybe Bool
- virtualizationType :: Maybe VirtualizationType
- instanceProfileArn :: Maybe Text
- platform :: Maybe Text
- hostname :: Maybe Text
- sshHostRsaKeyFingerprint :: Maybe Text
- securityGroupIds :: Maybe [Text]
- ecsClusterArn :: Maybe Text
- arn :: Maybe Text
- createdAt :: Maybe Text
- ec2InstanceId :: Maybe Text
- sshKeyName :: Maybe Text
- agentVersion :: Maybe Text
- rootDeviceVolumeId :: Maybe Text
- subnetId :: Maybe Text
- infrastructureClass :: Maybe Text
- sshHostDsaKeyFingerprint :: Maybe Text
- instanceType :: Maybe Text
- ebsOptimized :: Maybe Bool
- elasticIp :: Maybe Text
- os :: Maybe Text
- availabilityZone :: Maybe Text
- lastServiceErrorId :: Maybe Text
- tenancy :: Maybe Text
- autoScalingType :: Maybe AutoScalingType
- layerIds :: Maybe [Text]
- architecture :: Maybe Architecture
- publicDns :: Maybe Text
- amiId :: Maybe Text
- publicIp :: Maybe Text
- reportedOs :: Maybe ReportedOs
- registeredBy :: Maybe Text
- stackId :: Maybe Text
- rootDeviceType :: Maybe RootDeviceType
- ecsContainerInstanceArn :: Maybe Text
- blockDeviceMappings :: Maybe [BlockDeviceMapping]
- newInstance :: Instance
- instance_privateDns :: Lens' Instance (Maybe Text)
- instance_reportedAgentVersion :: Lens' Instance (Maybe Text)
- instance_instanceId :: Lens' Instance (Maybe Text)
- instance_status :: Lens' Instance (Maybe Text)
- instance_privateIp :: Lens' Instance (Maybe Text)
- instance_installUpdatesOnBoot :: Lens' Instance (Maybe Bool)
- instance_virtualizationType :: Lens' Instance (Maybe VirtualizationType)
- instance_instanceProfileArn :: Lens' Instance (Maybe Text)
- instance_platform :: Lens' Instance (Maybe Text)
- instance_hostname :: Lens' Instance (Maybe Text)
- instance_sshHostRsaKeyFingerprint :: Lens' Instance (Maybe Text)
- instance_securityGroupIds :: Lens' Instance (Maybe [Text])
- instance_ecsClusterArn :: Lens' Instance (Maybe Text)
- instance_arn :: Lens' Instance (Maybe Text)
- instance_createdAt :: Lens' Instance (Maybe Text)
- instance_ec2InstanceId :: Lens' Instance (Maybe Text)
- instance_sshKeyName :: Lens' Instance (Maybe Text)
- instance_agentVersion :: Lens' Instance (Maybe Text)
- instance_rootDeviceVolumeId :: Lens' Instance (Maybe Text)
- instance_subnetId :: Lens' Instance (Maybe Text)
- instance_infrastructureClass :: Lens' Instance (Maybe Text)
- instance_sshHostDsaKeyFingerprint :: Lens' Instance (Maybe Text)
- instance_instanceType :: Lens' Instance (Maybe Text)
- instance_ebsOptimized :: Lens' Instance (Maybe Bool)
- instance_elasticIp :: Lens' Instance (Maybe Text)
- instance_os :: Lens' Instance (Maybe Text)
- instance_availabilityZone :: Lens' Instance (Maybe Text)
- instance_lastServiceErrorId :: Lens' Instance (Maybe Text)
- instance_tenancy :: Lens' Instance (Maybe Text)
- instance_autoScalingType :: Lens' Instance (Maybe AutoScalingType)
- instance_layerIds :: Lens' Instance (Maybe [Text])
- instance_architecture :: Lens' Instance (Maybe Architecture)
- instance_publicDns :: Lens' Instance (Maybe Text)
- instance_amiId :: Lens' Instance (Maybe Text)
- instance_publicIp :: Lens' Instance (Maybe Text)
- instance_reportedOs :: Lens' Instance (Maybe ReportedOs)
- instance_registeredBy :: Lens' Instance (Maybe Text)
- instance_stackId :: Lens' Instance (Maybe Text)
- instance_rootDeviceType :: Lens' Instance (Maybe RootDeviceType)
- instance_ecsContainerInstanceArn :: Lens' Instance (Maybe Text)
- instance_blockDeviceMappings :: Lens' Instance (Maybe [BlockDeviceMapping])
Documentation
Describes an instance.
See: newInstance smart constructor.
Constructors
| Instance' | |
Fields
| |
Instances
newInstance :: Instance Source #
Create a value of Instance with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:privateDns:Instance', instance_privateDns - The instance's private DNS name.
$sel:reportedAgentVersion:Instance', instance_reportedAgentVersion - The instance's reported AWS OpsWorks Stacks agent version.
$sel:instanceId:Instance', instance_instanceId - The instance ID.
$sel:status:Instance', instance_status - The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
$sel:privateIp:Instance', instance_privateIp - The instance's private IP address.
$sel:installUpdatesOnBoot:Instance', instance_installUpdatesOnBoot - 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.
$sel:virtualizationType:Instance', instance_virtualizationType - The instance's virtualization type: paravirtual or hvm.
$sel:instanceProfileArn:Instance', instance_instanceProfileArn - The ARN of the instance's IAM profile. For more information about IAM
ARNs, see
Using Identifiers.
$sel:platform:Instance', instance_platform - The instance's platform.
$sel:hostname:Instance', instance_hostname - The instance host name.
$sel:sshHostRsaKeyFingerprint:Instance', instance_sshHostRsaKeyFingerprint - The SSH key's RSA fingerprint.
$sel:securityGroupIds:Instance', instance_securityGroupIds - An array containing the instance security group IDs.
$sel:ecsClusterArn:Instance', instance_ecsClusterArn - For container instances, the Amazon ECS cluster's ARN.
$sel:arn:Instance', instance_arn - The instance's Amazon Resource Number (ARN).
$sel:createdAt:Instance', instance_createdAt - The time that the instance was created.
$sel:ec2InstanceId:Instance', instance_ec2InstanceId - The ID of the associated Amazon EC2 instance.
$sel:sshKeyName:Instance', instance_sshKeyName - The instance's Amazon EC2 key-pair name.
$sel:agentVersion:Instance', instance_agentVersion - 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.
$sel:rootDeviceVolumeId:Instance', instance_rootDeviceVolumeId - The root device volume ID.
$sel:subnetId:Instance', instance_subnetId - The instance's subnet ID; applicable only if the stack is running in a
VPC.
$sel:infrastructureClass:Instance', instance_infrastructureClass - For registered instances, the infrastructure class: ec2 or
on-premises.
$sel:sshHostDsaKeyFingerprint:Instance', instance_sshHostDsaKeyFingerprint - The SSH key's Deep Security Agent (DSA) fingerprint.
$sel:instanceType:Instance', instance_instanceType - The instance type, such as t2.micro.
$sel:ebsOptimized:Instance', instance_ebsOptimized - Whether this is an Amazon EBS-optimized instance.
$sel:elasticIp:Instance', instance_elasticIp - The instance
Elastic IP address
.
$sel:os:Instance', instance_os - The instance's operating system.
$sel:availabilityZone:Instance', instance_availabilityZone - The instance Availability Zone. For more information, see
Regions and Endpoints.
$sel:lastServiceErrorId:Instance', instance_lastServiceErrorId - The ID of the last service error. For more information, call
DescribeServiceErrors.
$sel:tenancy:Instance', instance_tenancy - The instance's tenancy option, such as dedicated or host.
$sel:autoScalingType:Instance', instance_autoScalingType - For load-based or time-based instances, the type.
$sel:layerIds:Instance', instance_layerIds - An array containing the instance layer IDs.
$sel:architecture:Instance', instance_architecture - The instance architecture: "i386" or "x86_64".
$sel:publicDns:Instance', instance_publicDns - The instance public DNS name.
$sel:amiId:Instance', instance_amiId - A custom AMI ID to be used to create the instance. For more information,
see
Instances
$sel:publicIp:Instance', instance_publicIp - The instance public IP address.
$sel:reportedOs:Instance', instance_reportedOs - For registered instances, the reported operating system.
$sel:registeredBy:Instance', instance_registeredBy - For registered instances, who performed the registration.
$sel:stackId:Instance', instance_stackId - The stack ID.
$sel:rootDeviceType:Instance', instance_rootDeviceType - The instance's root device type. For more information, see
Storage for the Root Device.
$sel:ecsContainerInstanceArn:Instance', instance_ecsContainerInstanceArn - For container instances, the instance's ARN.
$sel:blockDeviceMappings:Instance', instance_blockDeviceMappings - An array of BlockDeviceMapping objects that specify the instance's
block device mappings.
instance_reportedAgentVersion :: Lens' Instance (Maybe Text) Source #
The instance's reported AWS OpsWorks Stacks agent version.
instance_status :: Lens' Instance (Maybe Text) Source #
The instance status:
booting
connection_lost
online
pending
rebooting
requested
running_setup
setup_failed
shutting_down
start_failed
stop_failed
stopped
stopping
terminated
terminating
instance_installUpdatesOnBoot :: Lens' Instance (Maybe Bool) Source #
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.
instance_virtualizationType :: Lens' Instance (Maybe VirtualizationType) Source #
The instance's virtualization type: paravirtual or hvm.
instance_instanceProfileArn :: Lens' Instance (Maybe Text) Source #
The ARN of the instance's IAM profile. For more information about IAM ARNs, see Using Identifiers.
instance_sshHostRsaKeyFingerprint :: Lens' Instance (Maybe Text) Source #
The SSH key's RSA fingerprint.
instance_securityGroupIds :: Lens' Instance (Maybe [Text]) Source #
An array containing the instance security group IDs.
instance_ecsClusterArn :: Lens' Instance (Maybe Text) Source #
For container instances, the Amazon ECS cluster's ARN.
instance_ec2InstanceId :: Lens' Instance (Maybe Text) Source #
The ID of the associated Amazon EC2 instance.
instance_agentVersion :: Lens' Instance (Maybe Text) Source #
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.
instance_subnetId :: Lens' Instance (Maybe Text) Source #
The instance's subnet ID; applicable only if the stack is running in a VPC.
instance_infrastructureClass :: Lens' Instance (Maybe Text) Source #
For registered instances, the infrastructure class: ec2 or
on-premises.
instance_sshHostDsaKeyFingerprint :: Lens' Instance (Maybe Text) Source #
The SSH key's Deep Security Agent (DSA) fingerprint.
instance_ebsOptimized :: Lens' Instance (Maybe Bool) Source #
Whether this is an Amazon EBS-optimized instance.
instance_elasticIp :: Lens' Instance (Maybe Text) Source #
The instance Elastic IP address .
instance_availabilityZone :: Lens' Instance (Maybe Text) Source #
The instance Availability Zone. For more information, see Regions and Endpoints.
instance_lastServiceErrorId :: Lens' Instance (Maybe Text) Source #
The ID of the last service error. For more information, call DescribeServiceErrors.
instance_tenancy :: Lens' Instance (Maybe Text) Source #
The instance's tenancy option, such as dedicated or host.
instance_autoScalingType :: Lens' Instance (Maybe AutoScalingType) Source #
For load-based or time-based instances, the type.
instance_layerIds :: Lens' Instance (Maybe [Text]) Source #
An array containing the instance layer IDs.
instance_architecture :: Lens' Instance (Maybe Architecture) Source #
The instance architecture: "i386" or "x86_64".
instance_amiId :: Lens' Instance (Maybe Text) Source #
A custom AMI ID to be used to create the instance. For more information, see Instances
instance_reportedOs :: Lens' Instance (Maybe ReportedOs) Source #
For registered instances, the reported operating system.
instance_registeredBy :: Lens' Instance (Maybe Text) Source #
For registered instances, who performed the registration.
instance_rootDeviceType :: Lens' Instance (Maybe RootDeviceType) Source #
The instance's root device type. For more information, see Storage for the Root Device.
instance_ecsContainerInstanceArn :: Lens' Instance (Maybe Text) Source #
For container instances, the instance's ARN.
instance_blockDeviceMappings :: Lens' Instance (Maybe [BlockDeviceMapping]) Source #
An array of BlockDeviceMapping objects that specify the instance's
block device mappings.