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();
 
  • Method Details

    • getGlobalNetworkId

      @Stability(Stable) @NotNull String getGlobalNetworkId()
      The ID of the global network.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of your site.

      Constraints: Maximum length of 256 characters.

    • getLocation

      @Stability(Stable) @Nullable default Object 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

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags for the site.
    • builder

      @Stability(Stable) static CfnSiteProps.Builder builder()
      Returns:
      a CfnSiteProps.Builder of CfnSiteProps