Skip to content
v2.277.0

LocationProperty Struct ​

Describes a location.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const locationProperty: networkmanager.CfnDevice.LocationProperty = {
  address: 'address',
  latitude: 'latitude',
  longitude: 'longitude',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkmanager as networkmanager

location_property = networkmanager.CfnDevice.LocationProperty(
    address="address",
    latitude="latitude",
    longitude="longitude"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;

LocationProperty locationProperty = LocationProperty.builder()
        .address("address")
        .latitude("latitude")
        .longitude("longitude")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;

var locationProperty = new LocationProperty {
    Address = "address",
    Latitude = "latitude",
    Longitude = "longitude"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

locationProperty := &LocationProperty{
	Address: jsii.String("address"),
	Latitude: jsii.String("latitude"),
	Longitude: jsii.String("longitude"),
}

Properties ​

addressoptionalstringaddressoptionalstraddressoptionalStringAddressoptionalstringAddressoptional*string#
The physical address.
latitudeoptionalstringlatitudeoptionalstrlatitudeoptionalStringLatitudeoptionalstringLatitudeoptional*string#
The latitude.
longitudeoptionalstringlongitudeoptionalstrlongitudeoptionalStringLongitudeoptionalstringLongitudeoptional*string#
The longitude.