public static final class ManagedPolicyProps.Builder extends Object implements software.amazon.jsii.Builder<ManagedPolicyProps>
ManagedPolicyProps| Constructor and Description |
|---|
Builder() |
public ManagedPolicyProps.Builder policyName(String policyName)
ManagedPolicyProps.getPolicyName()policyName - Property policyName: Specifies the authorization policy name, containing up to 128 characters. This parameter is required.thispublic ManagedPolicyProps.Builder policyName(com.aliyun.ros.cdk.core.IResolvable policyName)
ManagedPolicyProps.getPolicyName()policyName - Property policyName: Specifies the authorization policy name, containing up to 128 characters. This parameter is required.thispublic ManagedPolicyProps.Builder description(String description)
ManagedPolicyProps.getDescription()description - Property description: Specifies the authorization policy description, containing up to 1024 characters.thispublic ManagedPolicyProps.Builder description(com.aliyun.ros.cdk.core.IResolvable description)
ManagedPolicyProps.getDescription()description - Property description: Specifies the authorization policy description, containing up to 1024 characters.thispublic ManagedPolicyProps.Builder groups(List<? extends Object> groups)
ManagedPolicyProps.getGroups()groups - Property groups: The names of groups to attach to this policy.thispublic ManagedPolicyProps.Builder groups(com.aliyun.ros.cdk.core.IResolvable groups)
ManagedPolicyProps.getGroups()groups - Property groups: The names of groups to attach to this policy.thispublic ManagedPolicyProps.Builder ignoreExisting(Boolean ignoreExisting)
ManagedPolicyProps.getIgnoreExisting()ignoreExisting - Property ignoreExisting: Whether to ignore existing policy False: ROS will perform a uniqueness check.If a policy with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a policy with the same name, the policy creation process will be ignored. If the policy is not created by ROS, it will be ignored during update and delete stage.thispublic ManagedPolicyProps.Builder ignoreExisting(com.aliyun.ros.cdk.core.IResolvable ignoreExisting)
ManagedPolicyProps.getIgnoreExisting()ignoreExisting - Property ignoreExisting: Whether to ignore existing policy False: ROS will perform a uniqueness check.If a policy with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a policy with the same name, the policy creation process will be ignored. If the policy is not created by ROS, it will be ignored during update and delete stage.thispublic ManagedPolicyProps.Builder policyDocument(com.aliyun.ros.cdk.core.IResolvable policyDocument)
ManagedPolicyProps.getPolicyDocument()policyDocument - Property policyDocument: A policy document that describes what actions are allowed on which resources.thispublic ManagedPolicyProps.Builder policyDocument(RosManagedPolicy.PolicyDocumentProperty policyDocument)
ManagedPolicyProps.getPolicyDocument()policyDocument - Property policyDocument: A policy document that describes what actions are allowed on which resources.thispublic ManagedPolicyProps.Builder policyDocumentUnchecked(com.aliyun.ros.cdk.core.IResolvable policyDocumentUnchecked)
ManagedPolicyProps.getPolicyDocumentUnchecked()policyDocumentUnchecked - Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.
If it is specified, PolicyDocument will be ignored.thispublic ManagedPolicyProps.Builder policyDocumentUnchecked(Map<String,? extends Object> policyDocumentUnchecked)
ManagedPolicyProps.getPolicyDocumentUnchecked()policyDocumentUnchecked - Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.
If it is specified, PolicyDocument will be ignored.thispublic ManagedPolicyProps.Builder roles(List<? extends Object> roles)
ManagedPolicyProps.getRoles()roles - Property roles: The names of roles to attach to this policy.thispublic ManagedPolicyProps.Builder roles(com.aliyun.ros.cdk.core.IResolvable roles)
ManagedPolicyProps.getRoles()roles - Property roles: The names of roles to attach to this policy.thispublic ManagedPolicyProps.Builder users(List<? extends Object> users)
ManagedPolicyProps.getUsers()users - Property users: The names of users to attach to this policy.thispublic ManagedPolicyProps.Builder users(com.aliyun.ros.cdk.core.IResolvable users)
ManagedPolicyProps.getUsers()users - Property users: The names of users to attach to this policy.thispublic ManagedPolicyProps build()
build in interface software.amazon.jsii.Builder<ManagedPolicyProps>ManagedPolicyPropsNullPointerException - if any required attribute was not providedCopyright © 2023. All rights reserved.