Skip to content

GroupProps

Properties for defining a Group.

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

Initializer

import ros_cdk_ram
ros_cdk_ram.GroupProps(
  group_name: typing.Union[str, IResolvable],
  comments: typing.Union[str, IResolvable] = None,
  deletion_force: typing.Union[bool, IResolvable] = None,
  ignore_existing: typing.Union[bool, IResolvable] = None,
  policies: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, PoliciesProperty]]] = None,
  policy_attachments: typing.Union[IResolvable, PolicyAttachmentsProperty] = None
)

Properties

Name Type Description
group_name typing.Union[str, ros_cdk_core.IResolvable] Property groupName: Specifies the group name, containing up to 64 characters.
comments typing.Union[str, ros_cdk_core.IResolvable] Property comments: Remark information, up to 128 characters or Chinese characters.
deletion_force typing.Union[bool, ros_cdk_core.IResolvable] Property deletionForce: Whether force detach the policies attached to the group.
ignore_existing typing.Union[bool, ros_cdk_core.IResolvable] Property ignoreExisting: Whether to ignore existing group False: ROS will perform a uniqueness check.If a group with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a group with the same name, the group creation process will be ignored. If the group is not created by ROS, it will be ignored during update and delete stage.
policies typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, PoliciesProperty]]] Property policies: Describes what actions are allowed on what resources.
policy_attachments typing.Union[ros_cdk_core.IResolvable, PolicyAttachmentsProperty] Property policyAttachments: System and custom policy names to attach.

group_nameRequired

group_name: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property groupName: Specifies the group name, containing up to 64 characters.


commentsOptional

comments: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property comments: Remark information, up to 128 characters or Chinese characters.


deletion_forceOptional

deletion_force: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property deletionForce: Whether force detach the policies attached to the group.

Default value is false.


ignore_existingOptional

ignore_existing: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property ignoreExisting: Whether to ignore existing group False: ROS will perform a uniqueness check.If a group with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a group with the same name, the group creation process will be ignored. If the group is not created by ROS, it will be ignored during update and delete stage.


policiesOptional

policies: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, PoliciesProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, PoliciesProperty]]]

Property policies: Describes what actions are allowed on what resources.


policy_attachmentsOptional

policy_attachments: typing.Union[IResolvable, PolicyAttachmentsProperty]

Property policyAttachments: System and custom policy names to attach.