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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPermissionSetPropsstatic final classAn implementation forCfnPermissionSetProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies the names and paths of the customer managed policies that you have attached to your permission set.default StringThe description of thePermissionSet.default ObjectThe 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 a list of managed policy ARNs that describe the associated AWS managed policy.getName()The name of the permission set.default ObjectSpecifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.default StringUsed to redirect users within the application during the federation authentication process.default StringThe 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 .
- See Also:
-
getName
The name of the permission set.- See Also:
-
getCustomerManagedPolicyReferences
Specifies the names and paths of the customer managed policies that you have attached to your permission set.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnPermissionSet.CustomerManagedPolicyReferenceProperty>- See Also:
-
getDescription
The description of thePermissionSet.- See Also:
-
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.- See Also:
-
getManagedPolicies
A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy.- See Also:
-
getPermissionsBoundary
Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary.Specify either
CustomerManagedPolicyReferenceto use the name and path of a customer managed policy, orManagedPolicyArnto 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 .
Returns union: either
IResolvableorCfnPermissionSet.PermissionsBoundaryProperty- See Also:
-
getRelayStateType
Used to redirect users within the application during the federation authentication process.- See Also:
-
getSessionDuration
The length of time that the application user sessions are valid for in the ISO-8601 standard.- See Also:
-
getTags
The tags to attach to the newPermissionSet.- See Also:
-
builder
- Returns:
- a
CfnPermissionSetProps.BuilderofCfnPermissionSetProps
-