interface CfnSiteProps
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.NetworkManager.CfnSiteProps |
Java | software.amazon.awscdk.services.networkmanager.CfnSiteProps |
Python | aws_cdk.aws_networkmanager.CfnSiteProps |
TypeScript | @aws-cdk/aws-networkmanager » CfnSiteProps |
Properties for defining a CfnSite
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as networkmanager from '@aws-cdk/aws-networkmanager';
const cfnSiteProps: networkmanager.CfnSiteProps = {
globalNetworkId: 'globalNetworkId',
// the properties below are optional
description: 'description',
location: {
address: 'address',
latitude: 'latitude',
longitude: 'longitude',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
Name | Type | Description |
---|---|---|
global | string | The ID of the global network. |
description? | string | A description of your site. |
location? | IResolvable | Location | The site location. |
tags? | Cfn [] | The tags for the site. |
globalNetworkId
Type:
string
The ID of the global network.
description?
Type:
string
(optional)
A description of your site.
Constraints: Maximum length of 256 characters.
location?
Type:
IResolvable
|
Location
(optional)
The site location.
This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.
Address
: The physical address of the site.Latitude
: The latitude of the site.Longitude
: The longitude of the site.
tags?
Type:
Cfn
[]
(optional)
The tags for the site.