Interface GroupProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.91.0 (build 1b1f239)", date="2023-11-16T22:34:06.092Z") @Stability(Stable) public interface GroupProps extends
Properties for defining an IAM group.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ManagedPolicy managedPolicy;
 GroupProps groupProps = GroupProps.builder()
  • Method Details

    • getGroupName

      @Stability(Stable) @Nullable default String getGroupName()
      A name for the IAM group.

      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)

    • getManagedPolicies

      @Stability(Stable) @Nullable default List<IManagedPolicy> getManagedPolicies()
      A list of managed policies associated with this role.

      You can add managed policies later using addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName(policyName)).

      Default: - No managed policies.

    • getPath

      @Stability(Stable) @Nullable default String getPath()
      The path to the group.

      For more information about paths, see IAM Identifiers in the IAM User Guide.

      Default: /

    • builder

      @Stability(Stable) static GroupProps.Builder builder()
      a GroupProps.Builder of GroupProps