AWSLocationProperty Struct
Specifies a location in AWS .
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 aWSLocationProperty: networkmanager.CfnDevice.AWSLocationProperty = {
subnetArn: 'subnetArn',
zone: 'zone',
};
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
a_ws_location_property = networkmanager.CfnDevice.AWSLocationProperty(
subnet_arn="subnetArn",
zone="zone"
)
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.*;
AWSLocationProperty aWSLocationProperty = AWSLocationProperty.builder()
.subnetArn("subnetArn")
.zone("zone")
.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 aWSLocationProperty = new AWSLocationProperty {
SubnetArn = "subnetArn",
Zone = "zone"
};
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"
aWSLocationProperty := &AWSLocationProperty{
SubnetArn: jsii.String("subnetArn"),
Zone: jsii.String("zone"),
}
Properties
subnetArnoptionalstringsubnet_arnoptionalstrsubnetArnoptionalStringSubnetArnoptionalstringSubnetArnoptional*string#The Amazon Resource Name (ARN) of the subnet that the device is located in.
The Zone that the device is located in.
Specify the ID of an Availability Zone, Local Zone, Wavelength Zone, or an Outpost.