aws-cdk-lib.aws_networkmanager.CfnSiteProps

interface CfnSiteProps

LanguageType name
.NETAmazon.CDK.AWS.NetworkManager.CfnSiteProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsnetworkmanager#CfnSiteProps
Javasoftware.amazon.awscdk.services.networkmanager.CfnSiteProps
Pythonaws_cdk.aws_networkmanager.CfnSiteProps
TypeScript aws-cdk-lib » 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 { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
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

NameTypeDescription
globalNetworkIdstringThe ID of the global network.
description?stringA description of your site.
location?IResolvable | LocationPropertyThe site location.
tags?CfnTag[]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 | LocationProperty (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: CfnTag[] (optional)

The tags for the site.