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.IamInstanceProfileAssociation

Description

 
Synopsis

Documentation

data IamInstanceProfileAssociation Source #

Describes an association between an IAM instance profile and an instance.

See: newIamInstanceProfileAssociation smart constructor.

Constructors

IamInstanceProfileAssociation' 

Fields

Instances

Instances details
FromXML IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

Generic IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

Associated Types

type Rep IamInstanceProfileAssociation :: Type -> Type #

Read IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

Show IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

NFData IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

Eq IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

Hashable IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

type Rep IamInstanceProfileAssociation Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfileAssociation

type Rep IamInstanceProfileAssociation = D1 ('MetaData "IamInstanceProfileAssociation" "Amazonka.EC2.Types.IamInstanceProfileAssociation" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IamInstanceProfileAssociation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IamInstanceProfile))) :*: (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IamInstanceProfileAssociationState)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))))

newIamInstanceProfileAssociation :: IamInstanceProfileAssociation Source #

Create a value of IamInstanceProfileAssociation 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:associationId:IamInstanceProfileAssociation', iamInstanceProfileAssociation_associationId - The ID of the association.

$sel:iamInstanceProfile:IamInstanceProfileAssociation', iamInstanceProfileAssociation_iamInstanceProfile - The IAM instance profile.

$sel:instanceId:IamInstanceProfileAssociation', iamInstanceProfileAssociation_instanceId - The ID of the instance.

$sel:state:IamInstanceProfileAssociation', iamInstanceProfileAssociation_state - The state of the association.

$sel:timestamp:IamInstanceProfileAssociation', iamInstanceProfileAssociation_timestamp - The time the IAM instance profile was associated with the instance.

iamInstanceProfileAssociation_timestamp :: Lens' IamInstanceProfileAssociation (Maybe UTCTime) Source #

The time the IAM instance profile was associated with the instance.