Class CfnCertificateAuthorityActivation

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.282Z") @Stability(Stable) public class CfnCertificateAuthorityActivation extends CfnResource implements IInspectable
A CloudFormation AWS::ACMPCA::CertificateAuthorityActivation.

The AWS::ACMPCA::CertificateAuthorityActivation resource creates and installs a CA certificate on a CA. If no status is specified, the AWS::ACMPCA::CertificateAuthorityActivation resource status defaults to ACTIVE. Once the CA has a CA certificate installed, you can use the resource to toggle the CA status field between ACTIVE and DISABLED .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.acmpca.*;
 CfnCertificateAuthorityActivation cfnCertificateAuthorityActivation = CfnCertificateAuthorityActivation.Builder.create(this, "MyCfnCertificateAuthorityActivation")
         .certificate("certificate")
         .certificateAuthorityArn("certificateAuthorityArn")
         // the properties below are optional
         .certificateChain("certificateChain")
         .status("status")
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCertificateAuthorityActivation

      protected CfnCertificateAuthorityActivation(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCertificateAuthorityActivation

      protected CfnCertificateAuthorityActivation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCertificateAuthorityActivation

      @Stability(Stable) public CfnCertificateAuthorityActivation(@NotNull Construct scope, @NotNull String id, @NotNull CfnCertificateAuthorityActivationProps props)
      Create a new AWS::ACMPCA::CertificateAuthorityActivation.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCompleteCertificateChain

      @Stability(Stable) @NotNull public String getAttrCompleteCertificateChain()
      The complete Base64 PEM-encoded certificate chain, including the certificate authority certificate.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCertificate

      @Stability(Stable) @NotNull public String getCertificate()
      The Base64 PEM-encoded certificate authority certificate.
    • setCertificate

      @Stability(Stable) public void setCertificate(@NotNull String value)
      The Base64 PEM-encoded certificate authority certificate.
    • getCertificateAuthorityArn

      @Stability(Stable) @NotNull public String getCertificateAuthorityArn()
      The Amazon Resource Name (ARN) of your private CA.
    • setCertificateAuthorityArn

      @Stability(Stable) public void setCertificateAuthorityArn(@NotNull String value)
      The Amazon Resource Name (ARN) of your private CA.
    • getCertificateChain

      @Stability(Stable) @Nullable public String getCertificateChain()
      The Base64 PEM-encoded certificate chain that chains up to the root CA certificate that you used to sign your private CA certificate.
    • setCertificateChain

      @Stability(Stable) public void setCertificateChain(@Nullable String value)
      The Base64 PEM-encoded certificate chain that chains up to the root CA certificate that you used to sign your private CA certificate.
    • getStatus

      @Stability(Stable) @Nullable public String getStatus()
      Status of your private CA.
    • setStatus

      @Stability(Stable) public void setStatus(@Nullable String value)
      Status of your private CA.