| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsIamInstanceProfileRole
Description
Synopsis
- data AwsIamInstanceProfileRole = AwsIamInstanceProfileRole' {}
- newAwsIamInstanceProfileRole :: AwsIamInstanceProfileRole
- awsIamInstanceProfileRole_assumeRolePolicyDocument :: Lens' AwsIamInstanceProfileRole (Maybe Text)
- awsIamInstanceProfileRole_arn :: Lens' AwsIamInstanceProfileRole (Maybe Text)
- awsIamInstanceProfileRole_path :: Lens' AwsIamInstanceProfileRole (Maybe Text)
- awsIamInstanceProfileRole_createDate :: Lens' AwsIamInstanceProfileRole (Maybe Text)
- awsIamInstanceProfileRole_roleName :: Lens' AwsIamInstanceProfileRole (Maybe Text)
- awsIamInstanceProfileRole_roleId :: Lens' AwsIamInstanceProfileRole (Maybe Text)
Documentation
data AwsIamInstanceProfileRole Source #
Information about a role associated with an instance profile.
See: newAwsIamInstanceProfileRole smart constructor.
Constructors
| AwsIamInstanceProfileRole' | |
Fields
| |
Instances
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_arn :: Lens' AwsIamInstanceProfileRole (Maybe Text) Source #
The ARN of the role.
awsIamInstanceProfileRole_path :: Lens' AwsIamInstanceProfileRole (Maybe Text) Source #
The path to 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.
awsIamInstanceProfileRole_roleName :: Lens' AwsIamInstanceProfileRole (Maybe Text) Source #
The name of the role.
awsIamInstanceProfileRole_roleId :: Lens' AwsIamInstanceProfileRole (Maybe Text) Source #
The identifier of the role.