Interface CfnSiteProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSiteProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-07-22T17:37:30.688Z")
@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.outposts.*;
CfnSiteProps cfnSiteProps = CfnSiteProps.builder()
.name("name")
// the properties below are optional
.description("description")
.notes("notes")
.operatingAddress(AddressProperty.builder()
.addressLine1("addressLine1")
.city("city")
.contactName("contactName")
.contactPhoneNumber("contactPhoneNumber")
.countryCode("countryCode")
.postalCode("postalCode")
.stateOrRegion("stateOrRegion")
// the properties below are optional
.addressLine2("addressLine2")
.addressLine3("addressLine3")
.districtOrCounty("districtOrCounty")
.municipality("municipality")
.build())
.rackPhysicalProperties(RackPhysicalPropertiesProperty.builder()
.fiberOpticCableType("fiberOpticCableType")
.maximumSupportedWeightLbs("maximumSupportedWeightLbs")
.opticalStandard("opticalStandard")
.powerConnector("powerConnector")
.powerDrawKva("powerDrawKva")
.powerFeedDrop("powerFeedDrop")
.powerPhase("powerPhase")
.uplinkCount("uplinkCount")
.uplinkGbps("uplinkGbps")
.build())
.shippingAddress(AddressProperty.builder()
.addressLine1("addressLine1")
.city("city")
.contactName("contactName")
.contactPhoneNumber("contactPhoneNumber")
.countryCode("countryCode")
.postalCode("postalCode")
.stateOrRegion("stateOrRegion")
// the properties below are optional
.addressLine2("addressLine2")
.addressLine3("addressLine3")
.districtOrCounty("districtOrCounty")
.municipality("municipality")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSitePropsstatic final classAn implementation forCfnSiteProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSiteProps.Builderbuilder()default StringgetName()default StringgetNotes()default ObjectReturns union: eitherIResolvableorCfnSite.AddressPropertydefault ObjectReturns union: eitherIResolvableorCfnSite.RackPhysicalPropertiesPropertydefault ObjectReturns union: eitherIResolvableorCfnSite.AddressPropertygetTags()Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
- See Also:
-
getDescription
- See Also:
-
getNotes
- See Also:
-
getOperatingAddress
Returns union: eitherIResolvableorCfnSite.AddressProperty- See Also:
-
getRackPhysicalProperties
Returns union: eitherIResolvableorCfnSite.RackPhysicalPropertiesProperty- See Also:
-
getShippingAddress
Returns union: eitherIResolvableorCfnSite.AddressProperty- See Also:
-
getTags
- See Also:
-
builder
- Returns:
- a
CfnSiteProps.BuilderofCfnSiteProps
-