aws-cdk-lib.aws_lightsail.CfnInstance.LocationProperty

interface LocationProperty

LanguageType name
.NETAmazon.CDK.AWS.Lightsail.CfnInstance.LocationProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awslightsail#CfnInstance_LocationProperty
Javasoftware.amazon.awscdk.services.lightsail.CfnInstance.LocationProperty
Pythonaws_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

NameTypeDescription
availabilityZone?stringThe Availability Zone for the instance.
regionName?stringThe 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.