AuthorizationProps
Properties for defining a Authorization
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apigateway-authorization
Initializer
import ros_cdk_apigateway
ros_cdk_apigateway.AuthorizationProps(
api_ids: typing.Union[typing.List[typing.Any], IResolvable],
app_ids: typing.Union[typing.List[typing.Any], IResolvable],
group_id: typing.Union[str, IResolvable],
stage_name: typing.Union[str, IResolvable],
auth_valid_time: typing.Union[str, IResolvable] = None,
description: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
api_ids |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property apiIds: APIs to authorize. |
app_ids |
typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable] |
Property appIds: APPs are authorized to APIs. |
group_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property groupId: The id of the group. |
stage_name |
typing.Union[str, ros_cdk_core.IResolvable] |
Property stageName: Authorize in this stage. |
auth_valid_time |
typing.Union[str, ros_cdk_core.IResolvable] |
Property authValidTime: The time (UTC) when the authorization expires. |
description |
typing.Union[str, ros_cdk_core.IResolvable] |
Property description: Description of the authorization, less than 180 characters. |
api_ids
Required
api_ids: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property apiIds: APIs to authorize.
app_ids
Required
app_ids: typing.Union[typing.List[typing.Any], IResolvable]
- Type: typing.Union[typing.List[typing.Any], ros_cdk_core.IResolvable]
Property appIds: APPs are authorized to APIs.
group_id
Required
group_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property groupId: The id of the group.
stage_name
Required
stage_name: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property stageName: Authorize in this stage.
auth_valid_time
Optional
auth_valid_time: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property authValidTime: The time (UTC) when the authorization expires.
If this parameter is empty, the authorization does not expire. Pattern: YYYY-MM-DDThh:mm:ssZ
description
Optional
description: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property description: Description of the authorization, less than 180 characters.