| Modifier and Type | Method and Description |
|---|---|
Group |
build() |
static Group.Builder |
create(software.constructs.Construct scope,
String id) |
Group.Builder |
groupName(String groupName)
(experimental) A name for the IAM group.
|
Group.Builder |
managedPolicies(List<? extends IManagedPolicy> managedPolicies)
(experimental) A list of managed policies associated with this role.
|
Group.Builder |
path(String path)
(experimental) The path to the group.
|
@Stability(value=Experimental) public static Group.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.Group.Builder.@Stability(value=Experimental) public Group.Builder groupName(String groupName)
For valid values, see the GroupName parameter for the CreateGroup action in the IAM API Reference. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
If you specify a name, you must specify the CAPABILITY_NAMED_IAM value to acknowledge your template's capabilities. For more information, see Acknowledging IAM Resources in AWS CloudFormation Templates.
Default: Generated by CloudFormation (recommended)
groupName - A name for the IAM group. This parameter is required.this@Stability(value=Experimental) public Group.Builder managedPolicies(List<? extends IManagedPolicy> managedPolicies)
You can add managed policies later using
addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName)).
Default: - No managed policies.
managedPolicies - A list of managed policies associated with this role. This parameter is required.this@Stability(value=Experimental) public Group.Builder path(String path)
For more information about paths, see IAM Identifiers in the IAM User Guide.
Default: /
path - The path to the group. This parameter is required.thisCopyright © 2021. All rights reserved.