| Package | Description |
|---|---|
| software.amazon.awscdk.services.iam |
AWS Identity and Access Management Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
CfnRole.Builder |
CfnRole.Builder.assumeRolePolicyDocument(Object assumeRolePolicyDocument)
The trust policy that is associated with this role.
|
static CfnRole.Builder |
CfnRole.Builder.create(software.constructs.Construct scope,
String id) |
CfnRole.Builder |
CfnRole.Builder.description(String description)
A description of the role that you provide.
|
CfnRole.Builder |
CfnRole.Builder.managedPolicyArns(List<String> managedPolicyArns)
A list of Amazon Resource Names (ARNs) of the IAM managed policies that you want to attach to the role.
|
CfnRole.Builder |
CfnRole.Builder.maxSessionDuration(Number maxSessionDuration)
The maximum session duration (in seconds) that you want to set for the specified role.
|
CfnRole.Builder |
CfnRole.Builder.path(String path)
The path to the role.
|
CfnRole.Builder |
CfnRole.Builder.permissionsBoundary(String permissionsBoundary)
The ARN of the policy used to set the permissions boundary for the role.
|
CfnRole.Builder |
CfnRole.Builder.policies(IResolvable policies)
Adds or updates an inline policy document that is embedded in the specified IAM role.
|
CfnRole.Builder |
CfnRole.Builder.policies(List<? extends Object> policies)
Adds or updates an inline policy document that is embedded in the specified IAM role.
|
CfnRole.Builder |
CfnRole.Builder.roleName(String roleName)
A name for the IAM role, up to 64 characters in length.
|
CfnRole.Builder |
CfnRole.Builder.tags(List<? extends CfnTag> tags)
A list of tags that are attached to the role.
|
Copyright © 2022. All rights reserved.