aws-cdk.aws-acmpca


Nameaws-cdk.aws-acmpca JSON
Version 1.203.0 PyPI version JSON
download
home_pagehttps://github.com/aws/aws-cdk
SummaryThe CDK Construct Library for AWS::ACMPCA
upload_time2023-05-31 23:00:21
maintainer
docs_urlNone
authorAmazon Web Services
requires_python~=3.7
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # AWS::ACMPCA Construct Library

<!--BEGIN STABILITY BANNER-->---


![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)

![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)

---
<!--END STABILITY BANNER-->

This module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.

```python
import aws_cdk.aws_acmpca as acmpca
```

## 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:

```python
certificate_authority = acmpca.CertificateAuthority.from_certificate_authority_arn(self, "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:

```python
cfn_certificate_authority = acmpca.CfnCertificateAuthority(self, "CA",
    type="ROOT",
    key_algorithm="RSA_2048",
    signing_algorithm="SHA256WITHRSA",
    subject=acmpca.CfnCertificateAuthority.SubjectProperty(
        country="US",
        organization="string",
        organizational_unit="string",
        distinguished_name_qualifier="string",
        state="string",
        common_name="123",
        serial_number="string",
        locality="string",
        title="string",
        surname="string",
        given_name="string",
        initials="DG",
        pseudonym="string",
        generation_qualifier="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:

```python
# cfn_certificate_authority: acmpca.CfnCertificateAuthority


certificate_authority = acmpca.CertificateAuthority.from_certificate_authority_arn(self, "CertificateAuthority", cfn_certificate_authority.attr_arn)
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/aws/aws-cdk",
    "name": "aws-cdk.aws-acmpca",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Amazon Web Services",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/fd/cb/3c8c2a12168243ff9c64062024e050f3c5eda3c8e09893f71506b40465a6/aws-cdk.aws-acmpca-1.203.0.tar.gz",
    "platform": null,
    "description": "# AWS::ACMPCA Construct Library\n\n<!--BEGIN STABILITY BANNER-->---\n\n\n![cfn-resources: Stable](https://img.shields.io/badge/cfn--resources-stable-success.svg?style=for-the-badge)\n\n![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)\n\n---\n<!--END STABILITY BANNER-->\n\nThis module is part of the [AWS Cloud Development Kit](https://github.com/aws/aws-cdk) project.\n\n```python\nimport aws_cdk.aws_acmpca as acmpca\n```\n\n## Certificate Authority\n\nThis package contains a `CertificateAuthority` class.\nAt the moment, you cannot create new Authorities using it,\nbut you can import existing ones using the `fromCertificateAuthorityArn` static method:\n\n```python\ncertificate_authority = acmpca.CertificateAuthority.from_certificate_authority_arn(self, \"CA\", \"arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/023077d8-2bfa-4eb0-8f22-05c96deade77\")\n```\n\n## Low-level `Cfn*` classes\n\nYou can always use the low-level classes\n(starting with `Cfn*`) to create resources like the Certificate Authority:\n\n```python\ncfn_certificate_authority = acmpca.CfnCertificateAuthority(self, \"CA\",\n    type=\"ROOT\",\n    key_algorithm=\"RSA_2048\",\n    signing_algorithm=\"SHA256WITHRSA\",\n    subject=acmpca.CfnCertificateAuthority.SubjectProperty(\n        country=\"US\",\n        organization=\"string\",\n        organizational_unit=\"string\",\n        distinguished_name_qualifier=\"string\",\n        state=\"string\",\n        common_name=\"123\",\n        serial_number=\"string\",\n        locality=\"string\",\n        title=\"string\",\n        surname=\"string\",\n        given_name=\"string\",\n        initials=\"DG\",\n        pseudonym=\"string\",\n        generation_qualifier=\"DBG\"\n    )\n)\n```\n\nIf you need to pass the higher-level `ICertificateAuthority` somewhere,\nyou can get it from the lower-level `CfnCertificateAuthority` using the same `fromCertificateAuthorityArn` method:\n\n```python\n# cfn_certificate_authority: acmpca.CfnCertificateAuthority\n\n\ncertificate_authority = acmpca.CertificateAuthority.from_certificate_authority_arn(self, \"CertificateAuthority\", cfn_certificate_authority.attr_arn)\n```\n\n\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "The CDK Construct Library for AWS::ACMPCA",
    "version": "1.203.0",
    "project_urls": {
        "Homepage": "https://github.com/aws/aws-cdk",
        "Source": "https://github.com/aws/aws-cdk.git"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b084361bad239634069266b506fa7c847aceb8a5bf0c567bdb7b03b17da3b514",
                "md5": "ac2a5c22827f53c7c12b1183ff6ee7a8",
                "sha256": "6f2bd9108eb25a420d3c3fa4d37f97d14e176f44761f1fcd90f58bae6228fb4e"
            },
            "downloads": -1,
            "filename": "aws_cdk.aws_acmpca-1.203.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ac2a5c22827f53c7c12b1183ff6ee7a8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 195984,
            "upload_time": "2023-05-31T22:52:18",
            "upload_time_iso_8601": "2023-05-31T22:52:18.347915Z",
            "url": "https://files.pythonhosted.org/packages/b0/84/361bad239634069266b506fa7c847aceb8a5bf0c567bdb7b03b17da3b514/aws_cdk.aws_acmpca-1.203.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fdcb3c8c2a12168243ff9c64062024e050f3c5eda3c8e09893f71506b40465a6",
                "md5": "b475745af9bb06c1df010d9626730442",
                "sha256": "4caa8718b6375c55391b4bf61182ffcf57573fb2ba6aa6f2a0fad83ede9c8b3f"
            },
            "downloads": -1,
            "filename": "aws-cdk.aws-acmpca-1.203.0.tar.gz",
            "has_sig": false,
            "md5_digest": "b475745af9bb06c1df010d9626730442",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 196725,
            "upload_time": "2023-05-31T23:00:21",
            "upload_time_iso_8601": "2023-05-31T23:00:21.877627Z",
            "url": "https://files.pythonhosted.org/packages/fd/cb/3c8c2a12168243ff9c64062024e050f3c5eda3c8e09893f71506b40465a6/aws-cdk.aws-acmpca-1.203.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-31 23:00:21",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "aws",
    "github_project": "aws-cdk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "aws-cdk.aws-acmpca"
}
        
Elapsed time: 0.25395s