libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.Types.Instance

Description

 
Synopsis

Documentation

data Instance Source #

Describes an instance.

See: newInstance smart constructor.

Constructors

Instance' 

Fields

Instances

Instances details
Eq Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

Read Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

Show Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

Generic Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

NFData Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

Methods

rnf :: Instance -> () #

Hashable Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromJSON Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

type Rep Instance Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Instance

type Rep Instance = D1 ('MetaData "Instance" "Amazonka.OpsWorks.Types.Instance" "libZSservicesZSamazonka-opsworksZSamazonka-opsworks" 'False) (C1 ('MetaCons "Instance'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "privateDns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "reportedAgentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "privateIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "installUpdatesOnBoot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "virtualizationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VirtualizationType))) :*: (S1 ('MetaSel ('Just "instanceProfileArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hostname") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "sshHostRsaKeyFingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "ecsClusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "ec2InstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sshKeyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "agentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "rootDeviceVolumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))) :*: ((((S1 ('MetaSel ('Just "infrastructureClass") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sshHostDsaKeyFingerprint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "elasticIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "os") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastServiceErrorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tenancy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoScalingType)))))) :*: (((S1 ('MetaSel ('Just "layerIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "architecture") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Architecture))) :*: (S1 ('MetaSel ('Just "publicDns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publicIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "reportedOs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReportedOs)) :*: (S1 ('MetaSel ('Just "registeredBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stackId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "rootDeviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RootDeviceType)) :*: (S1 ('MetaSel ('Just "ecsContainerInstanceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BlockDeviceMapping])))))))))

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_privateDns :: Lens' Instance (Maybe Text) Source #

The instance's private DNS name.

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_privateIp :: Lens' Instance (Maybe Text) Source #

The instance's private IP address.

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_platform :: Lens' Instance (Maybe Text) Source #

The instance's platform.

instance_hostname :: Lens' Instance (Maybe Text) Source #

The instance host name.

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_arn :: Lens' Instance (Maybe Text) Source #

The instance's Amazon Resource Number (ARN).

instance_createdAt :: Lens' Instance (Maybe Text) Source #

The time that the instance was created.

instance_ec2InstanceId :: Lens' Instance (Maybe Text) Source #

The ID of the associated Amazon EC2 instance.

instance_sshKeyName :: Lens' Instance (Maybe Text) Source #

The instance's Amazon EC2 key-pair name.

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_instanceType :: Lens' Instance (Maybe Text) Source #

The instance type, such as t2.micro.

instance_ebsOptimized :: Lens' Instance (Maybe Bool) Source #

Whether this is an Amazon EBS-optimized instance.

instance_os :: Lens' Instance (Maybe Text) Source #

The instance's operating system.

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_publicDns :: Lens' Instance (Maybe Text) Source #

The instance public DNS name.

instance_amiId :: Lens' Instance (Maybe Text) Source #

A custom AMI ID to be used to create the instance. For more information, see Instances

instance_publicIp :: Lens' Instance (Maybe Text) Source #

The instance public IP address.

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.