amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.InstanceSpecification

Description

 
Synopsis

Documentation

data InstanceSpecification Source #

The instance details to specify which volumes should be snapshotted.

See: newInstanceSpecification smart constructor.

Constructors

InstanceSpecification' 

Fields

  • excludeBootVolume :: Maybe Bool

    Excludes the root volume from being snapshotted.

  • excludeDataVolumeIds :: Maybe [Text]

    The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

    You can specify up to 40 volume IDs per request.

  • instanceId :: Maybe Text

    The instance to specify which volumes should be snapshotted.

Instances

Instances details
ToQuery InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

Generic InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

Associated Types

type Rep InstanceSpecification :: Type -> Type #

Read InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

Show InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

NFData InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

Methods

rnf :: InstanceSpecification -> () #

Eq InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

Hashable InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

type Rep InstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.InstanceSpecification

type Rep InstanceSpecification = D1 ('MetaData "InstanceSpecification" "Amazonka.EC2.Types.InstanceSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "InstanceSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "excludeBootVolume") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "excludeDataVolumeIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newInstanceSpecification :: InstanceSpecification Source #

Create a value of InstanceSpecification 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:excludeBootVolume:InstanceSpecification', instanceSpecification_excludeBootVolume - Excludes the root volume from being snapshotted.

$sel:excludeDataVolumeIds:InstanceSpecification', instanceSpecification_excludeDataVolumeIds - The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

You can specify up to 40 volume IDs per request.

$sel:instanceId:InstanceSpecification', instanceSpecification_instanceId - The instance to specify which volumes should be snapshotted.

instanceSpecification_excludeBootVolume :: Lens' InstanceSpecification (Maybe Bool) Source #

Excludes the root volume from being snapshotted.

instanceSpecification_excludeDataVolumeIds :: Lens' InstanceSpecification (Maybe [Text]) Source #

The IDs of the data (non-root) volumes to exclude from the multi-volume snapshot set. If you specify the ID of the root volume, the request fails. To exclude the root volume, use ExcludeBootVolume.

You can specify up to 40 volume IDs per request.

instanceSpecification_instanceId :: Lens' InstanceSpecification (Maybe Text) Source #

The instance to specify which volumes should be snapshotted.