Interface CfnSiteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSiteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.479Z")
@Stability(Stable)
public interface CfnSiteProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.networkmanager.*;
CfnSiteProps cfnSiteProps = CfnSiteProps.builder()
.globalNetworkId("globalNetworkId")
// the properties below are optional
.description("description")
.location(LocationProperty.builder()
.address("address")
.latitude("latitude")
.longitude("longitude")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSitePropsstatic final classAn implementation forCfnSiteProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSiteProps.Builderbuilder()default StringA description of your site.The ID of the global network.default ObjectThe site location.getTags()The tags for the site.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGlobalNetworkId
The ID of the global network. -
getDescription
A description of your site.Constraints: Maximum length of 256 characters.
-
getLocation
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.
-
getTags
The tags for the site. -
builder
- Returns:
- a
CfnSiteProps.BuilderofCfnSiteProps
-