Skip to content

PoliciesProps

Properties for defining a Policies.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram/datasource"
&datasource.PoliciesProps {
    GroupName: interface{},
    PolicyName: interface{},
    PolicyType: interface{},
    RefreshOptions: interface{},
    RoleName: interface{},
    UserName: interface{},
}

Properties

Name Type Description
GroupName interface{} Property groupName: The specific group to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.
PolicyName interface{} Property policyName: Filter the results by a specific policy name.
PolicyType interface{} Property policyType: Filter the results by a specific policy type.
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
RoleName interface{} Property roleName: The specific role to which policies attached.Only one of UserName, GroupName, and RoleName can be specified at most.
UserName interface{} Property userName: The specific user to which policies attached.

GroupNameOptional

GroupName interface{}
  • Type: interface{}

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


PolicyNameOptional

PolicyName interface{}
  • Type: interface{}

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

Supports using * and ? to fuzzy match.


PolicyTypeOptional

PolicyType interface{}
  • Type: interface{}

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


RefreshOptionsOptional

RefreshOptions interface{}
  • Type: interface{}

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

RoleName interface{}
  • Type: interface{}

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


UserNameOptional

UserName interface{}
  • Type: interface{}

Property userName: The specific user to which policies attached.

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