Skip to content

CertificateProps

Properties for defining a Certificate.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-cas-certificate

Initializer

import ros_cdk_cas
ros_cdk_cas.CertificateProps(
  cert: typing.Union[str, IResolvable],
  key: typing.Union[str, IResolvable],
  name: typing.Union[str, IResolvable],
  lang: typing.Union[str, IResolvable] = None,
  source_ip: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
cert typing.Union[str, ros_cdk_core.IResolvable] Property cert: Specify the content of the certificate.
key typing.Union[str, ros_cdk_core.IResolvable] Property key: Specify the certificate private key content.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: Custom certificate name.
lang typing.Union[str, ros_cdk_core.IResolvable] Property lang: Specifies the language type for requesting and receiving messages.
source_ip typing.Union[str, ros_cdk_core.IResolvable] Property sourceIp: Specifies the source IP address of the request.

certRequired

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

Property cert: Specify the content of the certificate.

To use the PEM encoding format.


keyRequired

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

Property key: Specify the certificate private key content.

To use the PEM encoding format.


nameRequired

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

Property name: Custom certificate name.

The certificate name under a user cannot be duplicated.


langOptional

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

Property lang: Specifies the language type for requesting and receiving messages.


source_ipOptional

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

Property sourceIp: Specifies the source IP address of the request.