KeyPairReference

class aws_cdk.interfaces.aws_lightsail.KeyPairReference(*, key_pair_arn, key_pair_name)

Bases: object

A reference to a KeyPair resource.

Parameters:
  • key_pair_arn (str) – The ARN of the KeyPair resource.

  • key_pair_name (str) – The KeyPairName of the KeyPair resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_lightsail as interfaces_lightsail

key_pair_reference = interfaces_lightsail.KeyPairReference(
    key_pair_arn="keyPairArn",
    key_pair_name="keyPairName"
)

Attributes

key_pair_arn

The ARN of the KeyPair resource.

key_pair_name

The KeyPairName of the KeyPair resource.