interface LocationProperty
| Language | Type name | 
|---|---|
  .NET | Amazon.CDK.AWS.Lightsail.CfnInstance.LocationProperty | 
  Go | github.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnInstance_LocationProperty | 
  Java | software.amazon.awscdk.services.lightsail.CfnInstance.LocationProperty | 
  Python | aws_cdk.aws_lightsail.CfnInstance.LocationProperty | 
  TypeScript  | aws-cdk-lib » aws_lightsail » CfnInstance » LocationProperty | 
Location is a property of the AWS::Lightsail::Instance resource. It describes the location for an instance.
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 locationProperty: lightsail.CfnInstance.LocationProperty = {
  availabilityZone: 'availabilityZone',
  regionName: 'regionName',
};
Properties
| Name | Type | Description | 
|---|---|---|
| availability | string | The Availability Zone for the instance. | 
| region | string | The name of the AWS Region for the instance. | 
availabilityZone?
Type:
string
(optional)
The Availability Zone for the instance.
regionName?
Type:
string
(optional)
The name of the AWS Region for the instance.

 .NET
 Go
 Java
 Python
 TypeScript