Skip to content

AttachPolicyToRoleProps

Properties for defining a AttachPolicyToRole.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram"
&alicloudroscdkram.AttachPolicyToRoleProps {
    PolicyName: interface{},
    PolicyType: interface{},
    RoleName: interface{},
}

Properties

Name Type Description
PolicyName interface{} Property policyName: Authorization policy name.
PolicyType interface{} Property policyType: Authorization policy type.
RoleName interface{} Property roleName: Role name.Example: dev.

PolicyNameRequired

PolicyName interface{}
  • Type: interface{}

Property policyName: Authorization policy name.


PolicyTypeRequired

PolicyType interface{}
  • Type: interface{}

Property policyType: Authorization policy type.

Value: "System" or "Custom".


RoleNameRequired

RoleName interface{}
  • Type: interface{}

Property roleName: Role name.Example: dev.