Class CfnInstance.LocationProperty
Location
is a property of the AWS::Lightsail::Instance resource. It describes the location for an instance.
Inheritance
System.Object
CfnInstance.LocationProperty
Implements
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.AWS.Lightsail.dll
Syntax (csharp)
public class LocationProperty : Object, CfnInstance.ILocationProperty
Syntax (vb)
Public Class LocationProperty
Inherits Object
Implements CfnInstance.ILocationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Lightsail;
var locationProperty = new LocationProperty {
AvailabilityZone = "availabilityZone",
RegionName = "regionName"
};
Synopsis
Constructors
LocationProperty() |
Properties
AvailabilityZone | The Availability Zone for the instance. |
RegionName | The name of the AWS Region for the instance. |
Constructors
LocationProperty()
public LocationProperty()
Properties
AvailabilityZone
The Availability Zone for the instance.
public string AvailabilityZone { get; set; }
Property Value
System.String
Remarks
RegionName
The name of the AWS Region for the instance.
public string RegionName { get; set; }
Property Value
System.String