Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tf-aws-keypair

AWS CDK L1 construct and data structures for the AWS CloudFormation Registry type TF::AWS::KeyPair v1.0.0.

Description

Provides an EC2 key pair resource. A key pair is used to control login access to EC2 instances.

Currently this resource requires an existing user-supplied key pair. This key pair's public key will be registered with AWS to allow logging-in to EC2 instances.

When importing an existing key pair the public key material may be in any format supported by AWS. Supported formats (per the AWS documentation) are:

  • OpenSSH public key format (the format in ~/.ssh/authorized_keys)
  • Base64 encoded DER format
  • SSH public key file format as specified in RFC4716

References

Usage

In order to use this library, you will need to activate this AWS CloudFormation Registry type in your account. You can do this via the AWS Management Console or using the AWS CLI using the following command:

aws cloudformation activate-type \
  --type-name TF::AWS::KeyPair \
  --publisher-id e1238fdd31aee1839e14fb3fb2dac9db154dae29 \
  --type RESOURCE \
  --execution-role-arn ROLE-ARN

Alternatively:

aws cloudformation activate-type \
  --public-type-arn arn:aws:cloudformation:us-east-1::type/resource/e1238fdd31aee1839e14fb3fb2dac9db154dae29/TF-AWS-KeyPair \
  --execution-role-arn ROLE-ARN

You can find more information about activating this type in the AWS CloudFormation documentation.

Feedback

This library is auto-generated and published to all supported programming languages by the cdklabs/cdk-cloudformation project based on the API schema published for TF::AWS::KeyPair.

  • Issues related to this generated library should be reported here.
  • Issues related to TF::AWS::KeyPair should be reported to the publisher.

License

Distributed under the Apache-2.0 License.

Metadata

Release files for cdk-cloudformation-tf-aws-keypair 1.0.0a7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-cloudformation-tf-aws-keypair 1.0.0a7
File Size Uploaded Provenance
cdk-cloudformation-tf-aws-keypair-1.0.0a7.tar.gz 33.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cdk-cloudformation-tf-aws-keypair 1.0.0a7
File Interpreter ABI Platform
cdk_cloudformation_tf_aws_keypair-1.0.0a7-py3-none-any.whl Python 3 none any Details

Total release size: 66.4 kB

Release files / cdk-cloudformation-tf-aws-keypair-1.0.0a7.tar.gz

Download URL cdk-cloudformation-tf-aws-keypair-1.0.0a7.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
00364c8578ca783a637c19b7b09fde7e4f640ecbd023fd5b8efe2c4977cf08e1
BLAKE2b-256 checksum
How to use checksums
b8ee6aa3722c5eaba9a4c674b662ee9128dc83d5150c5a2b2be3cf31fdcf3576
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / cdk_cloudformation_tf_aws_keypair-1.0.0a7-py3-none-any.whl

Download URL cdk_cloudformation_tf_aws_keypair-1.0.0a7-py3-none-any.whl
Size 32.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2517d4113a56ca9412e81b6e4c63d4dd4411a5172cde5d063d51f66ed0e34268
BLAKE2b-256 checksum
How to use checksums
0b8ffaeffe009f78000e276f66b5fea96934c1b71c8ffdaaf84cbc8231d36a84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for cdk-cloudformation-tf-aws-keypair 1.0.0a7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page