libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

Description

 
Synopsis

Documentation

data AwsIamInstanceProfileRole Source #

Information about a role associated with an instance profile.

See: newAwsIamInstanceProfileRole smart constructor.

Constructors

AwsIamInstanceProfileRole' 

Fields

Instances

Instances details
Eq AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

Read AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

Show AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

Generic AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

Associated Types

type Rep AwsIamInstanceProfileRole :: Type -> Type #

NFData AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

Hashable AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

ToJSON AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

FromJSON AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

type Rep AwsIamInstanceProfileRole Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole

type Rep AwsIamInstanceProfileRole = D1 ('MetaData "AwsIamInstanceProfileRole" "Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsIamInstanceProfileRole'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "assumeRolePolicyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newAwsIamInstanceProfileRole :: AwsIamInstanceProfileRole Source #

Create a value of AwsIamInstanceProfileRole 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:assumeRolePolicyDocument:AwsIamInstanceProfileRole', awsIamInstanceProfileRole_assumeRolePolicyDocument - The policy that grants an entity permission to assume the role.

$sel:arn:AwsIamInstanceProfileRole', awsIamInstanceProfileRole_arn - The ARN of the role.

$sel:path:AwsIamInstanceProfileRole', awsIamInstanceProfileRole_path - The path to the role.

$sel:createDate:AwsIamInstanceProfileRole', awsIamInstanceProfileRole_createDate - Indicates when the role was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

$sel:roleName:AwsIamInstanceProfileRole', awsIamInstanceProfileRole_roleName - The name of the role.

$sel:roleId:AwsIamInstanceProfileRole', awsIamInstanceProfileRole_roleId - The identifier of the role.

awsIamInstanceProfileRole_assumeRolePolicyDocument :: Lens' AwsIamInstanceProfileRole (Maybe Text) Source #

The policy that grants an entity permission to assume the role.

awsIamInstanceProfileRole_createDate :: Lens' AwsIamInstanceProfileRole (Maybe Text) Source #

Indicates when the role was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.