Skip to content

RoleProps

Properties for defining a Role.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkram/datasource"
&datasource.RoleProps {
    RefreshOptions: interface{},
    RoleName: interface{},
}

Properties

Name Type Description
RefreshOptions interface{} Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
RoleName interface{} Property roleName: RAM role name.

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: RAM role name.

If not specified, the current ram role will be used.