ManagedPolicyProps
Properties for defining a ManagedPolicy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-managedpolicy
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ram;
new ManagedPolicyProps {
object PolicyName,
object Description = null,
object Groups = null,
object IgnoreExisting = null,
object PolicyDocument = null,
object PolicyDocumentUnchecked = null,
object Roles = null,
object Users = null
};
Properties
| Name | Type | Description |
|---|---|---|
PolicyName |
object |
Property policyName: Specifies the authorization policy name, containing up to 128 characters. |
Description |
object |
Property description: Specifies the authorization policy description, containing up to 1024 characters. |
Groups |
object |
Property groups: The names of groups to attach to this policy. |
IgnoreExisting |
object |
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 |
object |
Property policyDocument: A policy document that describes what actions are allowed on which resources. |
PolicyDocumentUnchecked |
object |
Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources. |
Roles |
object |
Property roles: The names of roles to attach to this policy. |
Users |
object |
Property users: The names of users to attach to this policy. |
PolicyNameRequired
public object PolicyName { get; set; }
- Type: object
Property policyName: Specifies the authorization policy name, containing up to 128 characters.
DescriptionOptional
public object Description { get; set; }
- Type: object
Property description: Specifies the authorization policy description, containing up to 1024 characters.
GroupsOptional
public object Groups { get; set; }
- Type: object
Property groups: The names of groups to attach to this policy.
IgnoreExistingOptional
public object IgnoreExisting { get; set; }
- Type: object
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.
PolicyDocumentOptional
public object PolicyDocument { get; set; }
- Type: object
Property policyDocument: A policy document that describes what actions are allowed on which resources.
PolicyDocumentUncheckedOptional
public object PolicyDocumentUnchecked { get; set; }
- Type: object
Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.
If it is specified, PolicyDocument will be ignored.
RolesOptional
public object Roles { get; set; }
- Type: object
Property roles: The names of roles to attach to this policy.
UsersOptional
public object Users { get; set; }
- Type: object
Property users: The names of users to attach to this policy.