Interface CfnPermissionSetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPermissionSetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.861Z") @Stability(Stable) public interface CfnPermissionSetProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPermissionSet.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.sso.*;
 Object inlinePolicy;
 CfnPermissionSetProps cfnPermissionSetProps = CfnPermissionSetProps.builder()
         .instanceArn("instanceArn")
         .name("name")
         // the properties below are optional
         .customerManagedPolicyReferences(List.of(CustomerManagedPolicyReferenceProperty.builder()
                 .name("name")
                 // the properties below are optional
                 .path("path")
                 .build()))
         .description("description")
         .inlinePolicy(inlinePolicy)
         .managedPolicies(List.of("managedPolicies"))
         .permissionsBoundary(PermissionsBoundaryProperty.builder()
                 .customerManagedPolicyReference(CustomerManagedPolicyReferenceProperty.builder()
                         .name("name")
                         // the properties below are optional
                         .path("path")
                         .build())
                 .managedPolicyArn("managedPolicyArn")
                 .build())
         .relayStateType("relayStateType")
         .sessionDuration("sessionDuration")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getInstanceArn

      @Stability(Stable) @NotNull String getInstanceArn()
      The ARN of the IAM Identity Center instance under which the operation will be executed.

      For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference .

    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the permission set.
    • getCustomerManagedPolicyReferences

      @Stability(Stable) @Nullable default Object getCustomerManagedPolicyReferences()
      Specifies the names and paths of the customer managed policies that you have attached to your permission set.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the PermissionSet .
    • getInlinePolicy

      @Stability(Stable) @Nullable default Object getInlinePolicy()
      The inline policy that is attached to the permission set.

      For Length Constraints , if a valid ARN is provided for a permission set, it is possible for an empty inline policy to be returned.

    • getManagedPolicies

      @Stability(Stable) @Nullable default List<String> getManagedPolicies()
      A structure that stores the details of the AWS managed policy.
    • getPermissionsBoundary

      @Stability(Stable) @Nullable default Object getPermissionsBoundary()
      Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.

      Specify either CustomerManagedPolicyReference to use the name and path of a customer managed policy, or ManagedPolicyArn to use the ARN of an AWS managed policy. A permissions boundary represents the maximum permissions that any policy can grant your role. For more information, see Permissions boundaries for IAM entities in the IAM User Guide .

      Policies used as permissions boundaries don't provide permissions. You must also attach an IAM policy to the role. To learn how the effective permissions for a role are evaluated, see IAM JSON policy evaluation logic in the IAM User Guide .

    • getRelayStateType

      @Stability(Stable) @Nullable default String getRelayStateType()
      Used to redirect users within the application during the federation authentication process.
    • getSessionDuration

      @Stability(Stable) @Nullable default String getSessionDuration()
      The length of time that the application user sessions are valid for in the ISO-8601 standard.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags to attach to the new PermissionSet .
    • builder

      @Stability(Stable) static CfnPermissionSetProps.Builder builder()
      Returns:
      a CfnPermissionSetProps.Builder of CfnPermissionSetProps