Skip to content

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_idsRequired

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_idsRequired

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_idRequired

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

Property groupId: The id of the group.


stage_nameRequired

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

Property stageName: Authorize in this stage.


auth_valid_timeOptional

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


descriptionOptional

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

Property description: Description of the authorization, less than 180 characters.