interface CfnKeyPairMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lightsail.CfnKeyPairMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslightsail#CfnKeyPairMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnKeyPairMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_lightsail.CfnKeyPairMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lightsail » CfnKeyPairMixinProps |
Properties for CfnKeyPairPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-keypair.html
Example
// 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/cfn-property-mixins';
const cfnKeyPairMixinProps: lightsail.CfnKeyPairMixinProps = {
keyPairName: 'keyPairName',
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| key | string | The name of the key pair. |
| tags? | Cfn[] | The tag keys and optional values to add to the resource during create. |
keyPairName?
Type:
string
(optional)
The name of the key pair.
tags?
Type:
Cfn[]
(optional)
The tag keys and optional values to add to the resource during create.

.NET
Go
Java
Python
TypeScript