KeyPairReference
- class aws_cdk.interfaces.aws_ec2.KeyPairReference(*, key_name)
Bases:
objectA reference to a KeyPair resource.
- Parameters:
key_name (
str) – The KeyName 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_ec2 as interfaces_aws_ec2 key_pair_reference = interfaces_aws_ec2.KeyPairReference( key_name="keyName" )
Attributes
- key_name
The KeyName of the KeyPair resource.