amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.Types.Ec2Metadata

Description

 
Synopsis

Documentation

data Ec2Metadata Source #

Meta data details of an Amazon EC2 instance.

See: newEc2Metadata smart constructor.

Constructors

Ec2Metadata' 

Fields

Instances

Instances details
FromJSON Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

Generic Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

Associated Types

type Rep Ec2Metadata :: Type -> Type #

Read Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

Show Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

NFData Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

Methods

rnf :: Ec2Metadata -> () #

Eq Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

Hashable Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

type Rep Ec2Metadata Source # 
Instance details

Defined in Amazonka.Inspector2.Types.Ec2Metadata

type Rep Ec2Metadata = D1 ('MetaData "Ec2Metadata" "Amazonka.Inspector2.Types.Ec2Metadata" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "Ec2Metadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "amiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ec2Platform)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

newEc2Metadata :: Ec2Metadata Source #

Create a value of Ec2Metadata 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:amiId:Ec2Metadata', ec2Metadata_amiId - The ID of the Amazon Machine Image (AMI) used to launch the instance.

$sel:platform:Ec2Metadata', ec2Metadata_platform - The platform of the instance.

$sel:tags:Ec2Metadata', ec2Metadata_tags - The tags attached to the instance.

ec2Metadata_amiId :: Lens' Ec2Metadata (Maybe Text) Source #

The ID of the Amazon Machine Image (AMI) used to launch the instance.

ec2Metadata_platform :: Lens' Ec2Metadata (Maybe Ec2Platform) Source #

The platform of the instance.

ec2Metadata_tags :: Lens' Ec2Metadata (Maybe (HashMap Text Text)) Source #

The tags attached to the instance.