ManagedPolicyProps
Properties for defining a ManagedPolicy
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-managedpolicy
Initializer
import com.aliyun.ros.cdk.ram.ManagedPolicyProps;
ManagedPolicyProps.builder()
.policyName(java.lang.String)
.policyName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .groups(java.util.List<java.lang.Object>)
// .groups(IResolvable)
// .ignoreExisting(java.lang.Boolean)
// .ignoreExisting(IResolvable)
// .policyDocument(IResolvable)
// .policyDocument(PolicyDocumentProperty)
// .policyDocumentUnchecked(IResolvable)
// .policyDocumentUnchecked(java.util.Map<java.lang.String, java.lang.Object>)
// .roles(java.util.List<java.lang.Object>)
// .roles(IResolvable)
// .users(java.util.List<java.lang.Object>)
// .users(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
policyName |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property policyName: Specifies the authorization policy name, containing up to 128 characters. |
description |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property description: Specifies the authorization policy description, containing up to 1024 characters. |
groups |
java.util.List |
Property groups: The names of groups to attach to this policy. |
ignoreExisting |
java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable |
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. |
policyDocument |
com.aliyun.ros.cdk.core.IResolvable OR PolicyDocumentProperty |
Property policyDocument: A policy document that describes what actions are allowed on which resources. |
policyDocumentUnchecked |
com.aliyun.ros.cdk.core.IResolvable OR java.util.Map |
Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources. |
roles |
java.util.List |
Property roles: The names of roles to attach to this policy. |
users |
java.util.List |
Property users: The names of users to attach to this policy. |
policyName
Required
public java.lang.Object getPolicyName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property policyName: Specifies the authorization policy name, containing up to 128 characters.
description
Optional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Specifies the authorization policy description, containing up to 1024 characters.
groups
Optional
public java.lang.Object getGroups();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property groups: The names of groups to attach to this policy.
ignoreExisting
Optional
public java.lang.Object getIgnoreExisting();
- Type: java.lang.Boolean OR com.aliyun.ros.cdk.core.IResolvable
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.
policyDocument
Optional
public java.lang.Object getPolicyDocument();
- Type: com.aliyun.ros.cdk.core.IResolvable OR PolicyDocumentProperty
Property policyDocument: A policy document that describes what actions are allowed on which resources.
policyDocumentUnchecked
Optional
public java.lang.Object getPolicyDocumentUnchecked();
- Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map
Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.
If it is specified, PolicyDocument will be ignored.
roles
Optional
public java.lang.Object getRoles();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property roles: The names of roles to attach to this policy.
users
Optional
public java.lang.Object getUsers();
- Type: java.util.List
OR com.aliyun.ros.cdk.core.IResolvable
Property users: The names of users to attach to this policy.