interface LocationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Lightsail.CfnInstancePropsMixin.LocationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awslightsail#CfnInstancePropsMixin_LocationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnInstancePropsMixin.LocationProperty |
Python | aws_cdk.cfn_property_mixins.aws_lightsail.CfnInstancePropsMixin.LocationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_lightsail » CfnInstancePropsMixin » 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/cfn-property-mixins';
const locationProperty: lightsail.CfnInstancePropsMixin.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