Skip to content

PermissionPolicyToAccessConfigurationAdditionProps

Properties for defining a PermissionPolicyToAccessConfigurationAddition.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cloudsso-permissionpolicytoaccessconfigurationaddition

Initializer

import ros_cdk_cloudsso
ros_cdk_cloudsso.PermissionPolicyToAccessConfigurationAdditionProps(
  access_configuration_id: typing.Union[str, IResolvable],
  directory_id: typing.Union[str, IResolvable],
  permission_policy_name: typing.Union[str, IResolvable],
  permission_policy_type: typing.Union[str, IResolvable],
  inline_policy_document: typing.Union[IResolvable, typing.Mapping[typing.Any]] = None
)

Properties

Name Type Description
access_configuration_id typing.Union[str, ros_cdk_core.IResolvable] Property accessConfigurationId: The ID of the access configuration.
directory_id typing.Union[str, ros_cdk_core.IResolvable] Property directoryId: The ID of the directory.
permission_policy_name typing.Union[str, ros_cdk_core.IResolvable] Property permissionPolicyName: The name of the permission policy.
permission_policy_type typing.Union[str, ros_cdk_core.IResolvable] Property permissionPolicyType: The type of the permission policy.
inline_policy_document typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]] Property inlinePolicyDocument: The configurations of the inline policy.

access_configuration_idRequired

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

Property accessConfigurationId: The ID of the access configuration.


directory_idRequired

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

Property directoryId: The ID of the directory.


permission_policy_nameRequired

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

Property permissionPolicyName: The name of the permission policy.

  • If you set PermissionPolicyType to System, you must set this parameter to the name of the system policy. You can obtain the name of the system policy from RAM.
  • If you set PermissionPolicyType to Inline, you must set this parameter to the name of the inline policy. A custom value is supported.

permission_policy_typeRequired

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

Property permissionPolicyType: The type of the permission policy.

Valid values:

  • System: system policy. Resource Access Management (RAM) system policies are reused.
  • Inline: inline policy. Inline policies are created based on the RAM policy syntax and structure.

inline_policy_documentOptional

inline_policy_document: typing.Union[IResolvable, typing.Mapping[typing.Any]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.Mapping[typing.Any]]

Property inlinePolicyDocument: The configurations of the inline policy.

The value can be up to 4,096 characters in length. If you set PermissionPolicyType to Inline, you must specify this parameter.