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

Description

 
Synopsis

Documentation

data IamInstanceProfile Source #

Describes an IAM instance profile.

See: newIamInstanceProfile smart constructor.

Constructors

IamInstanceProfile' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the instance profile.

  • id :: Maybe Text

    The ID of the instance profile.

Instances

Instances details
FromXML IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

Generic IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

Associated Types

type Rep IamInstanceProfile :: Type -> Type #

Read IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

Show IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

NFData IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

Methods

rnf :: IamInstanceProfile -> () #

Eq IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

Hashable IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

type Rep IamInstanceProfile Source # 
Instance details

Defined in Amazonka.EC2.Types.IamInstanceProfile

type Rep IamInstanceProfile = D1 ('MetaData "IamInstanceProfile" "Amazonka.EC2.Types.IamInstanceProfile" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "IamInstanceProfile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newIamInstanceProfile :: IamInstanceProfile Source #

Create a value of IamInstanceProfile 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:arn:IamInstanceProfile', iamInstanceProfile_arn - The Amazon Resource Name (ARN) of the instance profile.

$sel:id:IamInstanceProfile', iamInstanceProfile_id - The ID of the instance profile.

iamInstanceProfile_arn :: Lens' IamInstanceProfile (Maybe Text) Source #

The Amazon Resource Name (ARN) of the instance profile.

iamInstanceProfile_id :: Lens' IamInstanceProfile (Maybe Text) Source #

The ID of the instance profile.