Skip to content

PoliciesProps

Properties for defining a Policies.

See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ram-policies

Initializer

import com.aliyun.ros.cdk.ram.datasource.PoliciesProps;
PoliciesProps.builder()
//  .groupName(java.lang.String)
//  .groupName(IResolvable)
//  .policyName(java.lang.String)
//  .policyName(IResolvable)
//  .policyType(java.lang.String)
//  .policyType(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
//  .roleName(java.lang.String)
//  .roleName(IResolvable)
//  .userName(java.lang.String)
//  .userName(IResolvable)
    .build();

Properties

Name Type Description
groupName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property groupName: The specific group to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.
policyName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyName: Filter the results by a specific policy name.
policyType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property policyType: Filter the results by a specific policy type.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
roleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property roleName: The specific role to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.
userName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property userName: The specific user to which policies attached.

groupNameOptional

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

Property groupName: The specific group to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.


policyNameOptional

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

Property policyName: Filter the results by a specific policy name.

Supports using * and ? to fuzzy match.


policyTypeOptional

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

Property policyType: Filter the results by a specific policy type.


refreshOptionsOptional

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

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.

roleNameOptional

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

Property roleName: The specific role to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.


userNameOptional

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

Property userName: The specific user to which policies attached.

Only one of UserName, GroupName, and RoleName can be specified at most.