Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-cdk/aws-acmpca

Package Overview
Dependencies
Maintainers
5
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-cdk/aws-acmpca - npm Package Compare versions

Comparing version 1.94.1 to 1.95.0

16

lib/certificate-authority.d.ts
import * as cdk from '@aws-cdk/core';
import { Construct } from 'constructs';
/**
* (experimental) Interface which all CertificateAuthority based class must implement.
* Interface which all CertificateAuthority based class must implement.
*
* @experimental
* @stability stable
*/
export interface ICertificateAuthority extends cdk.IResource {
/**
* (experimental) The Amazon Resource Name of the Certificate.
* The Amazon Resource Name of the Certificate.
*
* @experimental
* @stability stable
* @attribute true

@@ -18,5 +18,5 @@ */

/**
* (experimental) Defines a Certificate for ACMPCA.
* Defines a Certificate for ACMPCA.
*
* @experimental
* @stability stable
* @resource AWS::ACMPCA::CertificateAuthority

@@ -26,5 +26,5 @@ */

/**
* (experimental) Import an existing Certificate given an ARN.
* Import an existing Certificate given an ARN.
*
* @experimental
* @stability stable
*/

@@ -31,0 +31,0 @@ static fromCertificateAuthorityArn(scope: Construct, id: string, certificateAuthorityArn: string): ICertificateAuthority;

@@ -8,5 +8,5 @@ "use strict";

/**
* (experimental) Defines a Certificate for ACMPCA.
* Defines a Certificate for ACMPCA.
*
* @experimental
* @stability stable
* @resource AWS::ACMPCA::CertificateAuthority

@@ -18,5 +18,5 @@ */

/**
* (experimental) Import an existing Certificate given an ARN.
* Import an existing Certificate given an ARN.
*
* @experimental
* @stability stable
*/

@@ -34,3 +34,3 @@ static fromCertificateAuthorityArn(scope, id, certificateAuthorityArn) {

_a = JSII_RTTI_SYMBOL_1;
CertificateAuthority[_a] = { fqn: "@aws-cdk/aws-acmpca.CertificateAuthority", version: "1.94.1" };
CertificateAuthority[_a] = { fqn: "@aws-cdk/aws-acmpca.CertificateAuthority", version: "1.95.0" };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2VydGlmaWNhdGUtYXV0aG9yaXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2VydGlmaWNhdGUtYXV0aG9yaXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEscUNBQXFDOzs7Ozs7O0FBb0JyQyxNQUFhLG9CQUFvQjtJQVUvQjtJQUNBLENBQUM7Ozs7OztJQVBNLE1BQU0sQ0FBQywyQkFBMkIsQ0FBQyxLQUFnQixFQUFFLEVBQVUsRUFBRSx1QkFBK0I7UUFDckcsT0FBTyxJQUFJLEtBQU0sU0FBUSxHQUFHLENBQUMsUUFBUTtZQUExQjs7Z0JBQ0EsNEJBQXVCLEdBQUcsdUJBQXVCLENBQUM7WUFDN0QsQ0FBQztTQUFBLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0lBQ2YsQ0FBQzs7QUFSSCxvREFZQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIGNkayBmcm9tICdAYXdzLWNkay9jb3JlJztcbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbmV4cG9ydCBpbnRlcmZhY2UgSUNlcnRpZmljYXRlQXV0aG9yaXR5IGV4dGVuZHMgY2RrLklSZXNvdXJjZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBcbiAgcmVhZG9ubHkgY2VydGlmaWNhdGVBdXRob3JpdHlBcm46IHN0cmluZztcbn1cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG5leHBvcnQgY2xhc3MgQ2VydGlmaWNhdGVBdXRob3JpdHkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gIHB1YmxpYyBzdGF0aWMgZnJvbUNlcnRpZmljYXRlQXV0aG9yaXR5QXJuKHNjb3BlOiBDb25zdHJ1Y3QsIGlkOiBzdHJpbmcsIGNlcnRpZmljYXRlQXV0aG9yaXR5QXJuOiBzdHJpbmcpOiBJQ2VydGlmaWNhdGVBdXRob3JpdHkge1xuICAgIHJldHVybiBuZXcgY2xhc3MgZXh0ZW5kcyBjZGsuUmVzb3VyY2UgaW1wbGVtZW50cyBJQ2VydGlmaWNhdGVBdXRob3JpdHkge1xuICAgICAgcmVhZG9ubHkgY2VydGlmaWNhdGVBdXRob3JpdHlBcm4gPSBjZXJ0aWZpY2F0ZUF1dGhvcml0eUFybjtcbiAgICB9KHNjb3BlLCBpZCk7XG4gIH1cblxuICBwcml2YXRlIGNvbnN0cnVjdG9yKCkge1xuICB9XG59XG4iXX0=
{
"name": "@aws-cdk/aws-acmpca",
"version": "1.94.1",
"version": "1.95.0",
"description": "The CDK Construct Library for AWS::ACMPCA",

@@ -76,14 +76,14 @@ "main": "lib/index.js",

"devDependencies": {
"@aws-cdk/assert": "1.94.1",
"cdk-build-tools": "1.94.1",
"cfn2ts": "1.94.1",
"pkglint": "1.94.1"
"@aws-cdk/assert": "1.95.0",
"cdk-build-tools": "1.95.0",
"cfn2ts": "1.95.0",
"pkglint": "1.95.0"
},
"dependencies": {
"@aws-cdk/core": "1.94.1",
"constructs": "^3.2.0"
"@aws-cdk/core": "1.95.0",
"constructs": "^3.3.69"
},
"peerDependencies": {
"@aws-cdk/core": "1.94.1",
"constructs": "^3.2.0"
"@aws-cdk/core": "1.95.0",
"constructs": "^3.3.69"
},

@@ -93,4 +93,4 @@ "engines": {

},
"stability": "experimental",
"maturity": "experimental",
"stability": "stable",
"maturity": "stable",
"awscdkio": {

@@ -97,0 +97,0 @@ "announce": false

# AWS::ACMPCA Construct Library
<!--BEGIN STABILITY BANNER-->

@@ -8,14 +9,4 @@

> All classes with the `Cfn` prefix in this module ([CFN Resources]) are always stable and safe to use.
>
> [CFN Resources]: https://docs.aws.amazon.com/cdk/latest/guide/constructs.html#constructs_lib
![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge)
> The APIs of higher level constructs in this module are experimental and under active development.
> They are subject to non-backward compatible changes or removal in any future version. These are
> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be
> announced in the release notes. This means that while you may use them, you may need to update
> your source code when upgrading to a newer version of this package.
---

@@ -30,1 +21,49 @@

```
## Certificate Authority
This package contains a `CertificateAuthority` class.
At the moment, you cannot create new Authorities using it,
but you can import existing ones using the `fromCertificateAuthorityArn` static method:
```ts
const certificateAuthority = acmpca.CertificateAuthority.fromCertificateAuthorityArn(this, 'CA',
'arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77');
```
## Low-level `Cfn*` classes
You can always use the low-level classes
(starting with `Cfn*`) to create resources like the Certificate Authority:
```ts
const cfnCertificateAuthority = new acmpca.CfnCertificateAuthority(this, 'CA', {
type: 'ROOT',
keyAlgorithm: 'RSA_2048',
signingAlgorithm: 'SHA256WITHRSA',
subject: {
country: 'US',
organization: 'string',
organizationalUnit: 'string',
distinguishedNameQualifier: 'string',
state: 'string',
commonName: '123',
serialNumber: 'string',
locality: 'string',
title: 'string',
surname: 'string',
givenName: 'string',
initials: 'DG',
pseudonym: 'string',
generationQualifier: 'DBG',
},
});
```
If you need to pass the higher-level `ICertificateAuthority` somewhere,
you can get it from the lower-level `CfnCertificateAuthority` using the same `fromCertificateAuthorityArn` method:
```ts
const certificateAuthority = acmpca.CertificateAuthority.fromCertificateAuthorityArn(this, 'CertificateAuthority',
cfnCertificateAuthority.attrArn);
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc