Skip to content

ConsumerProps

Properties for defining a Consumer.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-apig-consumer

Initializer

import ros_cdk_apig
ros_cdk_apig.ConsumerProps(
  ak_sk_identity_configs: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AkSkIdentityConfigsProperty]]] = None,
  apikey_identity_config: typing.Union[IResolvable, ApikeyIdentityConfigProperty] = None,
  description: typing.Union[str, IResolvable] = None,
  enable: typing.Union[bool, IResolvable] = None,
  gateway_type: typing.Union[str, IResolvable] = None,
  jwt_identity_config: typing.Union[IResolvable, JwtIdentityConfigProperty] = None,
  name: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
ak_sk_identity_configs typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, AkSkIdentityConfigsProperty]]] Property akSkIdentityConfigs: List of AK\/SK identity configurations.
apikey_identity_config typing.Union[ros_cdk_core.IResolvable, ApikeyIdentityConfigProperty] Property apikeyIdentityConfig: API key identity configuration.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the consumer.
enable typing.Union[bool, ros_cdk_core.IResolvable] Property enable: Whether to enable the consumer.
gateway_type typing.Union[str, ros_cdk_core.IResolvable] Property gatewayType: The type of the gateway.
jwt_identity_config typing.Union[ros_cdk_core.IResolvable, JwtIdentityConfigProperty] Property jwtIdentityConfig: JWT identity configuration.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the consumer.

ak_sk_identity_configsOptional

ak_sk_identity_configs: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, AkSkIdentityConfigsProperty]]]

Property akSkIdentityConfigs: List of AK\/SK identity configurations.


apikey_identity_configOptional

apikey_identity_config: typing.Union[IResolvable, ApikeyIdentityConfigProperty]

Property apikeyIdentityConfig: API key identity configuration.


descriptionOptional

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

Property description: The description of the consumer.


enableOptional

enable: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enable: Whether to enable the consumer.


gateway_typeOptional

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

Property gatewayType: The type of the gateway.


jwt_identity_configOptional

jwt_identity_config: typing.Union[IResolvable, JwtIdentityConfigProperty]

Property jwtIdentityConfig: JWT identity configuration.


nameOptional

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

Property name: The name of the consumer.