Skip to main content

certificate_authority_activations

Creates, updates, deletes or gets a certificate_authority_activation resource or lists certificate_authority_activations in a region

Overview

Namecertificate_authority_activations
TypeResource
DescriptionUsed to install the certificate authority certificate and update the certificate authority status.
Idaws.acmpca.certificate_authority_activations

Fields

NameDatatypeDescription
certificate_authority_arnstringArn of the Certificate Authority.
certificatestringCertificate Authority certificate that will be installed in the Certificate Authority.
certificate_chainstringCertificate chain for the Certificate Authority certificate.
statusstringThe status of the Certificate Authority.
complete_certificate_chainstringThe complete certificate chain, including the Certificate Authority certificate.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTCertificateAuthorityArn, Certificate, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual certificate_authority_activation.

SELECT
region,
certificate_authority_arn,
certificate,
certificate_chain,
status,
complete_certificate_chain
FROM aws.acmpca.certificate_authority_activations
WHERE region = 'us-east-1' AND data__Identifier = '<CertificateAuthorityArn>';

INSERT example

Use the following StackQL query and manifest file to create a new certificate_authority_activation resource, using stack-deploy.

/*+ create */
INSERT INTO aws.acmpca.certificate_authority_activations (
CertificateAuthorityArn,
Certificate,
region
)
SELECT
'{{ CertificateAuthorityArn }}',
'{{ Certificate }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.acmpca.certificate_authority_activations
WHERE data__Identifier = '<CertificateAuthorityArn>'
AND region = 'us-east-1';

Permissions

To operate on the certificate_authority_activations resource, the following permissions are required:

Create

acm-pca:ImportCertificateAuthorityCertificate,
acm-pca:UpdateCertificateAuthority

Read

acm-pca:GetCertificateAuthorityCertificate,
acm-pca:DescribeCertificateAuthority

Delete

acm-pca:UpdateCertificateAuthority

Update

acm-pca:ImportCertificateAuthorityCertificate,
acm-pca:UpdateCertificateAuthority