@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:20.777Z") public class CfnCertificateAuthorityActivation extends CfnResource implements IInspectable
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();
Modifier and Type | Class and Description |
---|---|
static class |
CfnCertificateAuthorityActivation.Builder
A fluent builder for
CfnCertificateAuthorityActivation . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnCertificateAuthorityActivation(Construct scope,
java.lang.String id,
CfnCertificateAuthorityActivationProps props)
Create a new `AWS::ACMPCA::CertificateAuthorityActivation`.
|
protected |
CfnCertificateAuthorityActivation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnCertificateAuthorityActivation(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttrCompleteCertificateChain()
The complete Base64 PEM-encoded certificate chain, including the certificate authority certificate.
|
java.lang.String |
getCertificate()
The Base64 PEM-encoded certificate authority certificate.
|
java.lang.String |
getCertificateAuthorityArn()
The Amazon Resource Name (ARN) of your private CA.
|
java.lang.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.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getStatus()
Status of your private CA.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setCertificate(java.lang.String value)
The Base64 PEM-encoded certificate authority certificate.
|
void |
setCertificateAuthorityArn(java.lang.String value)
The Amazon Resource Name (ARN) of your private CA.
|
void |
setCertificateChain(java.lang.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.
|
void |
setStatus(java.lang.String value)
Status of your private CA.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnCertificateAuthorityActivation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnCertificateAuthorityActivation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnCertificateAuthorityActivation(Construct scope, java.lang.String id, CfnCertificateAuthorityActivationProps props)
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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrCompleteCertificateChain()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getCertificate()
public void setCertificate(java.lang.String value)
public java.lang.String getCertificateAuthorityArn()
public void setCertificateAuthorityArn(java.lang.String value)
public java.lang.String getCertificateChain()
public void setCertificateChain(java.lang.String value)
public java.lang.String getStatus()
public void setStatus(java.lang.String value)