Skip to content

ManagedPolicyProps

Properties for defining a ManagedPolicy.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-managedpolicy

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram"
&alicloudroscdkram.ManagedPolicyProps {
    PolicyName: interface{},
    Description: interface{},
    Groups: interface{},
    IgnoreExisting: interface{},
    PolicyDocument: interface{},
    PolicyDocumentUnchecked: interface{},
    Roles: interface{},
    Users: interface{},
}

Properties

Name Type Description
PolicyName interface{} Property policyName: Specifies the authorization policy name, containing up to 128 characters.
Description interface{} Property description: Specifies the authorization policy description, containing up to 1024 characters.
Groups interface{} Property groups: The names of groups to attach to this policy.
IgnoreExisting interface{} 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 interface{} Property policyDocument: A policy document that describes what actions are allowed on which resources.
PolicyDocumentUnchecked interface{} Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.
Roles interface{} Property roles: The names of roles to attach to this policy.
Users interface{} Property users: The names of users to attach to this policy.

PolicyNameRequired

PolicyName interface{}
  • Type: interface{}

Property policyName: Specifies the authorization policy name, containing up to 128 characters.


DescriptionOptional

Description interface{}
  • Type: interface{}

Property description: Specifies the authorization policy description, containing up to 1024 characters.


GroupsOptional

Groups interface{}
  • Type: interface{}

Property groups: The names of groups to attach to this policy.


IgnoreExistingOptional

IgnoreExisting interface{}
  • Type: interface{}

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

PolicyDocument interface{}
  • Type: interface{}

Property policyDocument: A policy document that describes what actions are allowed on which resources.


PolicyDocumentUncheckedOptional

PolicyDocumentUnchecked interface{}
  • Type: interface{}

Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.

If it is specified, PolicyDocument will be ignored.


RolesOptional

Roles interface{}
  • Type: interface{}

Property roles: The names of roles to attach to this policy.


UsersOptional

Users interface{}
  • Type: interface{}

Property users: The names of users to attach to this policy.