interface ResourceLocationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Lightsail.CfnKeyPair.ResourceLocationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnKeyPair_ResourceLocationProperty |
Java | software.amazon.awscdk.services.lightsail.CfnKeyPair.ResourceLocationProperty |
Python | aws_cdk.aws_lightsail.CfnKeyPair.ResourceLocationProperty |
TypeScript | aws-cdk-lib » aws_lightsail » CfnKeyPair » ResourceLocationProperty |
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-lib';
const resourceLocationProperty: lightsail.CfnKeyPair.ResourceLocationProperty = {
availabilityZone: 'availabilityZone',
regionName: 'regionName',
};
Properties
| Name | Type | Description |
|---|---|---|
| availability | string | The Availability Zone. |
| region | string | The AWS Region name. |
availabilityZone?
Type:
string
(optional)
The Availability Zone.
Follows the format us-east-2a (case-sensitive).
regionName?
Type:
string
(optional)
The AWS Region name.

.NET
Go
Java
Python
TypeScript