ManagedPolicyProps
Properties for defining a ManagedPolicy
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ram-managedpolicy
Initializer
import ros_cdk_ram
ros_cdk_ram.ManagedPolicyProps(
policy_name: typing.Union[str, IResolvable],
description: typing.Union[str, IResolvable] = None,
groups: typing.Union[typing.List[typing.Any], IResolvable] = None,
ignore_existing: typing.Union[bool, IResolvable] = None,
policy_document: typing.Union[IResolvable, PolicyDocumentProperty] = None,
policy_document_unchecked: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None,
roles: typing.Union[typing.List[typing.Any], IResolvable] = None,
users: typing.Union[typing.List[typing.Any], IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
policy_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policyName: Specifies the authorization policy name, containing up to 128 characters. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Specifies the authorization policy description, containing up to 1024 characters. |
groups |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property groups: The names of groups to attach to this policy. |
ignore_existing |
typing.Union[bool, ros_cdk_core.IResolvable] |
Property ignoreExisting: Whether to ignore existing policy False: ROS will perform a uniqueness check.If a policy with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a policy with the same name, the policy creation process will be ignored. If the policy is not created by ROS, it will be ignored during update and delete stage. |
policy_document |
typing.Union[ros_cdk_core.IResolvable, PolicyDocumentProperty] |
Property policyDocument: A policy document that describes what actions are allowed on which resources. |
policy_document_unchecked |
typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] |
Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources. |
roles |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property roles: The names of roles to attach to this policy. |
users |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property users: The names of users to attach to this policy. |
policy_name
Required
policy_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policyName: Specifies the authorization policy name, containing up to 128 characters.
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Specifies the authorization policy description, containing up to 1024 characters.
groups
Optional
groups: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property groups: The names of groups to attach to this policy.
ignore_existing
Optional
ignore_existing: typing.Union[bool, IResolvable]
- Type: typing.Union[bool, ros_cdk_core.IResolvable]
Property ignoreExisting: Whether to ignore existing policy False: ROS will perform a uniqueness check.If a policy with the same name exists, an error will be reported when creating it. True: ROS will not check the uniqueness.If there is a policy with the same name, the policy creation process will be ignored. If the policy is not created by ROS, it will be ignored during update and delete stage.
policy_document
Optional
policy_document: typing.Union[IResolvable, PolicyDocumentProperty]
- Type: typing.Union[ros_cdk_core.IResolvable, PolicyDocumentProperty]
Property policyDocument: A policy document that describes what actions are allowed on which resources.
policy_document_unchecked
Optional
policy_document_unchecked: typing.Union[IResolvable, typing.Mapping[typing.Any]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]
Property policyDocumentUnchecked: A policy document that describes what actions are allowed on which resources.
If it is specified, PolicyDocument will be ignored.
roles
Optional
roles: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property roles: The names of roles to attach to this policy.
users
Optional
users: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property users: The names of users to attach to this policy.