Class CfnPermissionSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPermissionSetMixinProps>
- Enclosing interface:
CfnPermissionSetMixinProps
CfnPermissionSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customerManagedPolicyReferences(List<? extends Object> customerManagedPolicyReferences) Sets the value ofCfnPermissionSetMixinProps.getCustomerManagedPolicyReferences()customerManagedPolicyReferences(IResolvable customerManagedPolicyReferences) Sets the value ofCfnPermissionSetMixinProps.getCustomerManagedPolicyReferences()description(String description) Sets the value ofCfnPermissionSetMixinProps.getDescription()inlinePolicy(Object inlinePolicy) Sets the value ofCfnPermissionSetMixinProps.getInlinePolicy()instanceArn(String instanceArn) Sets the value ofCfnPermissionSetMixinProps.getInstanceArn()managedPolicies(List<String> managedPolicies) Sets the value ofCfnPermissionSetMixinProps.getManagedPolicies()Sets the value ofCfnPermissionSetMixinProps.getName()permissionsBoundary(CfnPermissionSetPropsMixin.PermissionsBoundaryProperty permissionsBoundary) Sets the value ofCfnPermissionSetMixinProps.getPermissionsBoundary()permissionsBoundary(IResolvable permissionsBoundary) Sets the value ofCfnPermissionSetMixinProps.getPermissionsBoundary()relayStateType(String relayStateType) Sets the value ofCfnPermissionSetMixinProps.getRelayStateType()sessionDuration(String sessionDuration) Sets the value ofCfnPermissionSetMixinProps.getSessionDuration()Sets the value ofCfnPermissionSetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customerManagedPolicyReferences
@Stability(Stable) public CfnPermissionSetMixinProps.Builder customerManagedPolicyReferences(IResolvable customerManagedPolicyReferences) Sets the value ofCfnPermissionSetMixinProps.getCustomerManagedPolicyReferences()- Parameters:
customerManagedPolicyReferences- Specifies the names and paths of the customer managed policies that you have attached to your permission set.- Returns:
this
-
customerManagedPolicyReferences
@Stability(Stable) public CfnPermissionSetMixinProps.Builder customerManagedPolicyReferences(List<? extends Object> customerManagedPolicyReferences) Sets the value ofCfnPermissionSetMixinProps.getCustomerManagedPolicyReferences()- Parameters:
customerManagedPolicyReferences- Specifies the names and paths of the customer managed policies that you have attached to your permission set.- Returns:
this
-
description
Sets the value ofCfnPermissionSetMixinProps.getDescription()- Parameters:
description- The description of thePermissionSet.- Returns:
this
-
inlinePolicy
Sets the value ofCfnPermissionSetMixinProps.getInlinePolicy()- Parameters:
inlinePolicy- 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.- Returns:
this
-
instanceArn
Sets the value ofCfnPermissionSetMixinProps.getInstanceArn()- Parameters:
instanceArn- The ARN of the 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 .- Returns:
this
-
managedPolicies
@Stability(Stable) public CfnPermissionSetMixinProps.Builder managedPolicies(List<String> managedPolicies) Sets the value ofCfnPermissionSetMixinProps.getManagedPolicies()- Parameters:
managedPolicies- A structure that stores a list of managed policy ARNs that describe the associated AWS managed policy.- Returns:
this
-
name
Sets the value ofCfnPermissionSetMixinProps.getName()- Parameters:
name- The name of the permission set.- Returns:
this
-
permissionsBoundary
@Stability(Stable) public CfnPermissionSetMixinProps.Builder permissionsBoundary(IResolvable permissionsBoundary) Sets the value ofCfnPermissionSetMixinProps.getPermissionsBoundary()- Parameters:
permissionsBoundary- Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary. Specify eitherCustomerManagedPolicyReferenceto 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:
this
-
permissionsBoundary
@Stability(Stable) public CfnPermissionSetMixinProps.Builder permissionsBoundary(CfnPermissionSetPropsMixin.PermissionsBoundaryProperty permissionsBoundary) Sets the value ofCfnPermissionSetMixinProps.getPermissionsBoundary()- Parameters:
permissionsBoundary- Specifies the configuration of the AWS managed or customer managed policy that you want to set as a permissions boundary. Specify eitherCustomerManagedPolicyReferenceto 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:
this
-
relayStateType
Sets the value ofCfnPermissionSetMixinProps.getRelayStateType()- Parameters:
relayStateType- Used to redirect users within the application during the federation authentication process.- Returns:
this
-
sessionDuration
@Stability(Stable) public CfnPermissionSetMixinProps.Builder sessionDuration(String sessionDuration) Sets the value ofCfnPermissionSetMixinProps.getSessionDuration()- Parameters:
sessionDuration- The length of time that the application user sessions are valid for in the ISO-8601 standard.- Returns:
this
-
tags
Sets the value ofCfnPermissionSetMixinProps.getTags()- Parameters:
tags- The tags to attach to the newPermissionSet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPermissionSetMixinProps>- Returns:
- a new instance of
CfnPermissionSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-