Skip to content

AttachPolicyToGroupProps

Properties for defining a AttachPolicyToGroup.

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

Initializer

import com.aliyun.ros.cdk.ram.AttachPolicyToGroupProps;
AttachPolicyToGroupProps.builder()
    .groupName(java.lang.String)
    .groupName(IResolvable)
    .policyName(java.lang.String)
    .policyName(IResolvable)
    .policyType(java.lang.String)
    .policyType(IResolvable)
    .build();

Properties

Name Type Description
groupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property groupName: User group name.
policyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyName: The name of the policy.
policyType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyType: Authorization policy type.

groupNameRequired

public java.lang.Object getGroupName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property groupName: User group name.


policyNameRequired

public java.lang.Object getPolicyName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property policyName: The name of the policy.

The name must be 1 to 128 characters in length and can contain letters, digits, and hyphens (-).


policyTypeRequired

public java.lang.Object getPolicyType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property policyType: Authorization policy type.

Value: "System" or "Custom".