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 |
Synopsis
- data Instance = Instance' {
- status :: Maybe InstanceStatus
- publicDnsName :: Maybe Text
- ebsVolumes :: Maybe [EbsVolume]
- ec2InstanceId :: Maybe Text
- instanceType :: Maybe Text
- market :: Maybe MarketType
- privateIpAddress :: Maybe Text
- instanceFleetId :: Maybe Text
- id :: Maybe Text
- instanceGroupId :: Maybe Text
- privateDnsName :: Maybe Text
- publicIpAddress :: Maybe Text
- newInstance :: Instance
- instance_status :: Lens' Instance (Maybe InstanceStatus)
- instance_publicDnsName :: Lens' Instance (Maybe Text)
- instance_ebsVolumes :: Lens' Instance (Maybe [EbsVolume])
- instance_ec2InstanceId :: Lens' Instance (Maybe Text)
- instance_instanceType :: Lens' Instance (Maybe Text)
- instance_market :: Lens' Instance (Maybe MarketType)
- instance_privateIpAddress :: Lens' Instance (Maybe Text)
- instance_instanceFleetId :: Lens' Instance (Maybe Text)
- instance_id :: Lens' Instance (Maybe Text)
- instance_instanceGroupId :: Lens' Instance (Maybe Text)
- instance_privateDnsName :: Lens' Instance (Maybe Text)
- instance_publicIpAddress :: Lens' Instance (Maybe Text)
Documentation
Represents an EC2 instance provisioned as part of cluster.
See: newInstance
smart constructor.
Instance' | |
|
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:status:Instance'
, instance_status
- The current status of the instance.
$sel:publicDnsName:Instance'
, instance_publicDnsName
- The public DNS name of the instance.
$sel:ebsVolumes:Instance'
, instance_ebsVolumes
- The list of Amazon EBS volumes that are attached to this instance.
$sel:ec2InstanceId:Instance'
, instance_ec2InstanceId
- The unique identifier of the instance in Amazon EC2.
$sel:instanceType:Instance'
, instance_instanceType
- The EC2 instance type, for example m3.xlarge
.
$sel:market:Instance'
, instance_market
- The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.
$sel:privateIpAddress:Instance'
, instance_privateIpAddress
- The private IP address of the instance.
$sel:instanceFleetId:Instance'
, instance_instanceFleetId
- The unique identifier of the instance fleet to which an EC2 instance
belongs.
$sel:id:Instance'
, instance_id
- The unique identifier for the instance in Amazon EMR.
$sel:instanceGroupId:Instance'
, instance_instanceGroupId
- The identifier of the instance group to which this instance belongs.
$sel:privateDnsName:Instance'
, instance_privateDnsName
- The private DNS name of the instance.
$sel:publicIpAddress:Instance'
, instance_publicIpAddress
- The public IP address of the instance.
instance_status :: Lens' Instance (Maybe InstanceStatus) Source #
The current status of the instance.
instance_ebsVolumes :: Lens' Instance (Maybe [EbsVolume]) Source #
The list of Amazon EBS volumes that are attached to this instance.
instance_ec2InstanceId :: Lens' Instance (Maybe Text) Source #
The unique identifier of the instance in Amazon EC2.
instance_instanceType :: Lens' Instance (Maybe Text) Source #
The EC2 instance type, for example m3.xlarge
.
instance_market :: Lens' Instance (Maybe MarketType) Source #
The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.
instance_privateIpAddress :: Lens' Instance (Maybe Text) Source #
The private IP address of the instance.
instance_instanceFleetId :: Lens' Instance (Maybe Text) Source #
The unique identifier of the instance fleet to which an EC2 instance belongs.
instance_id :: Lens' Instance (Maybe Text) Source #
The unique identifier for the instance in Amazon EMR.
instance_instanceGroupId :: Lens' Instance (Maybe Text) Source #
The identifier of the instance group to which this instance belongs.