CfnKeyPairProps Struct
Properties for defining a CfnKeyPair.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lightsail as lightsail } from 'aws-cdk-lib';
const cfnKeyPairProps: lightsail.CfnKeyPairProps = {
keyPairName: 'keyPairName',
// the properties below are optional
tags: [{
key: 'key',
value: 'value',
}],
};