Skip to main content

Provides an [EC2 key pair](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html) resource. A key pair is used to control login access to EC2 instances.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-cloudformation-tf-aws-keypair-1.0.0a3.tar.gz (40.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file cdk-cloudformation-tf-aws-keypair-1.0.0a3.tar.gz.

File metadata

  • Download URL: cdk-cloudformation-tf-aws-keypair-1.0.0a3.tar.gz
  • Upload date:
  • Size: 40.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for cdk-cloudformation-tf-aws-keypair-1.0.0a3.tar.gz
Algorithm Hash digest
SHA256 866057a8c5edad57cacad9cf6be373e4212b5062b0bd19bf5d4c2d91eff84952
MD5 f9273b4874831881f7dbfc2b3815e990
BLAKE2b-256 5aba362d4f77db6019956a767ee0bbc217fb2d1be7b87ea54acec35c5ac06e90

See more details on using hashes here.

File details

Details for the file cdk_cloudformation_tf_aws_keypair-1.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: cdk_cloudformation_tf_aws_keypair-1.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3

File hashes

Hashes for cdk_cloudformation_tf_aws_keypair-1.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 a44846228a9bd2f85fef0ac9565d2238582a628503254e002dc392f1285c4ae6
MD5 c7564cc0c5da9064ce1fcbbdd8b8c8b1
BLAKE2b-256 189f4474b895298906f325f05b7115387ab62734dafbff84adece21a13e11b5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page