Skip to content

Certificate

This class encapsulates and extends the ROS resource type ALIYUN::ESA::Certificate.

Initializers

import ros_cdk_esa
ros_cdk_esa.Certificate(
  scope: Construct,
  id: str,
  created_type: typing.Union[str, IResolvable],
  domains: typing.Union[IResolvable, typing.List[typing.Union[str, IResolvable]]],
  site_id: typing.Union[typing.Union[int, float], IResolvable],
  cas_id: typing.Union[str, IResolvable] = None,
  cert_id: typing.Union[str, IResolvable] = None,
  certificate: typing.Union[str, IResolvable] = None,
  cert_name: typing.Union[str, IResolvable] = None,
  private_key: typing.Union[str, IResolvable] = None,
  enable_resource_property_constraint: bool = None
)
Name Type Description
scope ros_cdk_core.Construct No description.
id str No description.
created_type typing.Union[str, ros_cdk_core.IResolvable] Property createdType: The certificate type.
domains typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[str, ros_cdk_core.IResolvable]]] Property domains: A list of domain names.
site_id typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property siteId: The site ID, which can be obtained by calling the ListSites interface.
cas_id typing.Union[str, ros_cdk_core.IResolvable] Property casId: Cloud certificate ID.
cert_id typing.Union[str, ros_cdk_core.IResolvable] Property certId: The certificate Id.
certificate typing.Union[str, ros_cdk_core.IResolvable] Property certificate: Certificate content.
cert_name typing.Union[str, ros_cdk_core.IResolvable] Property certName: The certificate name.
private_key typing.Union[str, ros_cdk_core.IResolvable] Property privateKey: The certificate private key.
enable_resource_property_constraint bool No description.

scopeRequired

  • Type: ros_cdk_core.Construct

idRequired

  • Type: str

created_typeRequired

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

Property createdType: The certificate type.

  • cas (Certificate Center Certificate)
  • upload (custom upload certificate)
  • free( Free certificate).

domainsRequired

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

Property domains: A list of domain names.

Multiple domain names are separated by commas.


site_idRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property siteId: The site ID, which can be obtained by calling the ListSites interface.


cas_idOptional

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

Property casId: Cloud certificate ID.


cert_idOptional

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

Property certId: The certificate Id.


certificateOptional

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

Property certificate: Certificate content.


cert_nameOptional

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

Property certName: The certificate name.


private_keyOptional

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

Property privateKey: The certificate private key.


enable_resource_property_constraintOptional

  • Type: bool

Methods

Name Description
to_string Returns a string representation of this construct.
synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
add_condition No description.
add_count No description.
add_dependency No description.
add_resource_desc No description.
apply_removal_policy No description.
fetch_condition No description.
fetch_dependency No description.
fetch_resource_desc No description.
get_att No description.
set_metadata No description.

to_string

def to_string() -> str

Returns a string representation of this construct.

synthesize

def synthesize(
  session: ISynthesisSession
) -> None

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: ros_cdk_core.ISynthesisSession

The synthesis session.


add_condition

def add_condition(
  condition: RosCondition
) -> None

conditionRequired

  • Type: ros_cdk_core.RosCondition

add_count

def add_count(
  count: typing.Union[typing.Union[int, float], IResolvable]
) -> None

countRequired

  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

add_dependency

def add_dependency(
  resource: Resource
) -> None

resourceRequired

  • Type: ros_cdk_core.Resource

add_resource_desc

def add_resource_desc(
  desc: str
) -> None

descRequired

  • Type: str

apply_removal_policy

def apply_removal_policy(
  policy: RemovalPolicy
) -> None

policyRequired

  • Type: ros_cdk_core.RemovalPolicy

fetch_condition

def fetch_condition() -> RosCondition

fetch_dependency

def fetch_dependency() -> typing.List[str]

fetch_resource_desc

def fetch_resource_desc() -> str

get_att

def get_att(
  name: str
) -> IResolvable

nameRequired

  • Type: str

set_metadata

def set_metadata(
  key: str,
  value: typing.Any
) -> None

keyRequired

  • Type: str

valueRequired

  • Type: typing.Any

Static Functions

Name Description
is_construct Return whether the given object is a Construct.

is_construct

import ros_cdk_esa
ros_cdk_esa.Certificate.is_construct(
  x: typing.Any
)

Return whether the given object is a Construct.

xRequired

  • Type: typing.Any

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node associated with this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
ref str No description.
stack ros_cdk_core.Stack The stack in which this resource is defined.
resource ros_cdk_core.RosResource No description.
attr_apply_code typing.Union[str, ros_cdk_core.IResolvable] Attribute ApplyCode: Certificate application error code.
attr_apply_message typing.Union[str, ros_cdk_core.IResolvable] Attribute ApplyMessage: Certificate application error message.
attr_cas_id typing.Union[str, ros_cdk_core.IResolvable] Attribute CasId: Cloud certificate ID.
attr_cert_id typing.Union[str, ros_cdk_core.IResolvable] Attribute CertId: The certificate Id.
attr_certificate typing.Union[str, ros_cdk_core.IResolvable] Attribute Certificate: Certificate content.
attr_cert_name typing.Union[str, ros_cdk_core.IResolvable] Attribute CertName: The certificate name.
attr_common_name typing.Union[str, ros_cdk_core.IResolvable] Attribute CommonName: Common Name (CN) field of the certificate.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: Creation time.
attr_dcv typing.Union[str, ros_cdk_core.IResolvable] Attribute DCV: DCV information.
attr_domains typing.Union[str, ros_cdk_core.IResolvable] Attribute Domains: A list of domain names.
attr_fingerprint_sha256 typing.Union[str, ros_cdk_core.IResolvable] Attribute FingerprintSha256: SHA256 fingerprint of the certificate.
attr_issuer typing.Union[str, ros_cdk_core.IResolvable] Attribute Issuer: Certificate issuer.
attr_issuer_cn typing.Union[str, ros_cdk_core.IResolvable] Attribute IssuerCN: Common name of the certificate issuer.
attr_not_after typing.Union[str, ros_cdk_core.IResolvable] Attribute NotAfter: End time of the certificate validity period.
attr_not_before typing.Union[str, ros_cdk_core.IResolvable] Attribute NotBefore: Start time of the certificate validity period.
attr_pub_alg typing.Union[str, ros_cdk_core.IResolvable] Attribute PubAlg: Certificate public key algorithm.
attr_serial_number typing.Union[str, ros_cdk_core.IResolvable] Attribute SerialNumber: Serial number of the certificate.
attr_sig_alg typing.Union[str, ros_cdk_core.IResolvable] Attribute SigAlg: Certificate signature algorithm.
attr_site_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SiteId: The site ID, which can be obtained by calling the ListSites interface.
attr_site_name typing.Union[str, ros_cdk_core.IResolvable] Attribute SiteName: Site name.
attr_update_time typing.Union[str, ros_cdk_core.IResolvable] Attribute UpdateTime: Update time.
props CertificateProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node associated with this construct.


envRequired

env: IResourceEnvironment
  • Type: ros_cdk_core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


refRequired

ref: str
  • Type: str

stackRequired

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


resourceOptional

resource: RosResource
  • Type: ros_cdk_core.RosResource

attr_apply_codeRequired

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

Attribute ApplyCode: Certificate application error code.


attr_apply_messageRequired

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

Attribute ApplyMessage: Certificate application error message.


attr_cas_idRequired

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

Attribute CasId: Cloud certificate ID.


attr_cert_idRequired

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

Attribute CertId: The certificate Id.


attr_certificateRequired

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

Attribute Certificate: Certificate content.


attr_cert_nameRequired

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

Attribute CertName: The certificate name.


attr_common_nameRequired

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

Attribute CommonName: Common Name (CN) field of the certificate.


attr_create_timeRequired

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

Attribute CreateTime: Creation time.


attr_dcvRequired

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

Attribute DCV: DCV information.


attr_domainsRequired

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

Attribute Domains: A list of domain names.

Multiple domain names are separated by commas.


attr_fingerprint_sha256Required

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

Attribute FingerprintSha256: SHA256 fingerprint of the certificate.


attr_issuerRequired

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

Attribute Issuer: Certificate issuer.


attr_issuer_cnRequired

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

Attribute IssuerCN: Common name of the certificate issuer.


attr_not_afterRequired

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

Attribute NotAfter: End time of the certificate validity period.


attr_not_beforeRequired

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

Attribute NotBefore: Start time of the certificate validity period.


attr_pub_algRequired

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

Attribute PubAlg: Certificate public key algorithm.


attr_serial_numberRequired

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

Attribute SerialNumber: Serial number of the certificate.


attr_sig_algRequired

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

Attribute SigAlg: Certificate signature algorithm.


attr_site_idRequired

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

Attribute SiteId: The site ID, which can be obtained by calling the ListSites interface.


attr_site_nameRequired

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

Attribute SiteName: Site name.


attr_update_timeRequired

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

Attribute UpdateTime: Update time.


propsRequired

props: CertificateProps