PolicyProps
Properties for defining a Policy
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-policy
Initializer
import ros_cdk_apig
ros_cdk_apig.PolicyProps(
attach_resource_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
attach_resource_type: typing.Union[str, IResolvable],
environment_id: typing.Union[str, IResolvable],
gateway_id: typing.Union[str, IResolvable],
policy_class_name: typing.Union[str, IResolvable],
policy_config: typing.Union[str, IResolvable],
policy_name: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
attach_resource_ids |
typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] |
Property attachResourceIds: The Mount point id list. |
attach_resource_type |
typing.Union[str, ros_cdk_core.IResolvable] |
Property attachResourceType: Policies support mount point types. |
environment_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property environmentId: The id of the environment. |
gateway_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property gatewayId: The ID of the Gateway. |
policy_class_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policyClassName: The name of the policy class. |
policy_config |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policyConfig: Policy Configuration. |
policy_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property policyName: The name of the policy. |
attach_resource_ids
Required
attach_resource_ids: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]]
- Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]]
Property attachResourceIds: The Mount point id list.
attach_resource_type
Required
attach_resource_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property attachResourceType: Policies support mount point types.
HttpApi:HttpApi. Operation: the Operation of the HttpApi. GatewayRoute: Gateway route. GatewayService: Gateway service. GatewayServicePort: The Gateway service port. Domain: The Gateway Domain name. Gateway: Gateway.
environment_id
Required
environment_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property environmentId: The id of the environment.
gateway_id
Required
gateway_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property gatewayId: The ID of the Gateway.
policy_class_name
Required
policy_class_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policyClassName: The name of the policy class.
policy_config
Required
policy_config: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policyConfig: Policy Configuration.
policy_name
Optional
policy_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property policyName: The name of the policy.