Interface CfnPermissionSetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPermissionSetProps.Jsii$Proxy
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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnPermissionSetProps
static final class
An implementation forCfnPermissionSetProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Specifies the names and paths of the customer managed policies that you have attached to your permission set.default String
The description of thePermissionSet
.default Object
The inline policy that is attached to the permission set.The ARN of the IAM Identity Center instance under which the operation will be executed.A structure that stores the details of the AWS managed policy.getName()
The name of the permission set.default Object
Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.default String
Used to redirect users within the application during the federation authentication process.default String
The length of time that the application user sessions are valid for in the ISO-8601 standard.getTags()
The tags to attach to the newPermissionSet
.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
The name of the permission set. -
getCustomerManagedPolicyReferences
Specifies the names and paths of the customer managed policies that you have attached to your permission set. -
getDescription
The description of thePermissionSet
. -
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
A structure that stores the details of the AWS managed policy. -
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, orManagedPolicyArn
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
Used to redirect users within the application during the federation authentication process. -
getSessionDuration
The length of time that the application user sessions are valid for in the ISO-8601 standard. -
getTags
The tags to attach to the newPermissionSet
. -
builder
- Returns:
- a
CfnPermissionSetProps.Builder
ofCfnPermissionSetProps
-