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