Skip to content
v2.278.0

CfnSiteProps Struct ​

Properties for defining a CfnSite.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_outposts as outposts } from 'aws-cdk-lib';
const cfnSiteProps: outposts.CfnSiteProps = {
  name: 'name',

  // the properties below are optional
  description: 'description',
  notes: 'notes',
  operatingAddress: {
    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',
  },
  rackPhysicalProperties: {
    fiberOpticCableType: 'fiberOpticCableType',
    maximumSupportedWeightLbs: 'maximumSupportedWeightLbs',
    opticalStandard: 'opticalStandard',
    powerConnector: 'powerConnector',
    powerDrawKva: 'powerDrawKva',
    powerFeedDrop: 'powerFeedDrop',
    powerPhase: 'powerPhase',
    uplinkCount: 'uplinkCount',
    uplinkGbps: 'uplinkGbps',
  },
  shippingAddress: {
    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',
  },
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_outposts as outposts

cfn_site_props = outposts.CfnSiteProps(
    name="name",

    # the properties below are optional
    description="description",
    notes="notes",
    operating_address=outposts.CfnSite.AddressProperty(
        address_line1="addressLine1",
        city="city",
        contact_name="contactName",
        contact_phone_number="contactPhoneNumber",
        country_code="countryCode",
        postal_code="postalCode",
        state_or_region="stateOrRegion",

        # the properties below are optional
        address_line2="addressLine2",
        address_line3="addressLine3",
        district_or_county="districtOrCounty",
        municipality="municipality"
    ),
    rack_physical_properties=outposts.CfnSite.RackPhysicalPropertiesProperty(
        fiber_optic_cable_type="fiberOpticCableType",
        maximum_supported_weight_lbs="maximumSupportedWeightLbs",
        optical_standard="opticalStandard",
        power_connector="powerConnector",
        power_draw_kva="powerDrawKva",
        power_feed_drop="powerFeedDrop",
        power_phase="powerPhase",
        uplink_count="uplinkCount",
        uplink_gbps="uplinkGbps"
    ),
    shipping_address=outposts.CfnSite.AddressProperty(
        address_line1="addressLine1",
        city="city",
        contact_name="contactName",
        contact_phone_number="contactPhoneNumber",
        country_code="countryCode",
        postal_code="postalCode",
        state_or_region="stateOrRegion",

        # the properties below are optional
        address_line2="addressLine2",
        address_line3="addressLine3",
        district_or_county="districtOrCounty",
        municipality="municipality"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
java
// 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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Outposts;

var cfnSiteProps = new CfnSiteProps {
    Name = "name",

    // the properties below are optional
    Description = "description",
    Notes = "notes",
    OperatingAddress = new AddressProperty {
        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"
    },
    RackPhysicalProperties = new RackPhysicalPropertiesProperty {
        FiberOpticCableType = "fiberOpticCableType",
        MaximumSupportedWeightLbs = "maximumSupportedWeightLbs",
        OpticalStandard = "opticalStandard",
        PowerConnector = "powerConnector",
        PowerDrawKva = "powerDrawKva",
        PowerFeedDrop = "powerFeedDrop",
        PowerPhase = "powerPhase",
        UplinkCount = "uplinkCount",
        UplinkGbps = "uplinkGbps"
    },
    ShippingAddress = new AddressProperty {
        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"
    },
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnSiteProps := &CfnSiteProps{
	Name: jsii.String("name"),

	// the properties below are optional
	Description: jsii.String("description"),
	Notes: jsii.String("notes"),
	OperatingAddress: &AddressProperty{
		AddressLine1: jsii.String("addressLine1"),
		City: jsii.String("city"),
		ContactName: jsii.String("contactName"),
		ContactPhoneNumber: jsii.String("contactPhoneNumber"),
		CountryCode: jsii.String("countryCode"),
		PostalCode: jsii.String("postalCode"),
		StateOrRegion: jsii.String("stateOrRegion"),

		// the properties below are optional
		AddressLine2: jsii.String("addressLine2"),
		AddressLine3: jsii.String("addressLine3"),
		DistrictOrCounty: jsii.String("districtOrCounty"),
		Municipality: jsii.String("municipality"),
	},
	RackPhysicalProperties: &RackPhysicalPropertiesProperty{
		FiberOpticCableType: jsii.String("fiberOpticCableType"),
		MaximumSupportedWeightLbs: jsii.String("maximumSupportedWeightLbs"),
		OpticalStandard: jsii.String("opticalStandard"),
		PowerConnector: jsii.String("powerConnector"),
		PowerDrawKva: jsii.String("powerDrawKva"),
		PowerFeedDrop: jsii.String("powerFeedDrop"),
		PowerPhase: jsii.String("powerPhase"),
		UplinkCount: jsii.String("uplinkCount"),
		UplinkGbps: jsii.String("uplinkGbps"),
	},
	ShippingAddress: &AddressProperty{
		AddressLine1: jsii.String("addressLine1"),
		City: jsii.String("city"),
		ContactName: jsii.String("contactName"),
		ContactPhoneNumber: jsii.String("contactPhoneNumber"),
		CountryCode: jsii.String("countryCode"),
		PostalCode: jsii.String("postalCode"),
		StateOrRegion: jsii.String("stateOrRegion"),

		// the properties below are optional
		AddressLine2: jsii.String("addressLine2"),
		AddressLine3: jsii.String("addressLine3"),
		DistrictOrCounty: jsii.String("districtOrCounty"),
		Municipality: jsii.String("municipality"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
namestringnamestrnameStringNamestringName*string required #
notesoptionalstringnotesoptionalstrnotesoptionalStringNotesoptionalstringNotesoptional*string #
operatingAddressoptionalIResolvable | CfnSite.AddressPropertyoperating_addressoptionaltyping.Union[IResolvable, AddressProperty]operatingAddressoptionalIResolvableOperatingAddressoptionalIResolvableOperatingAddressoptionalinterface{} #
rackPhysicalPropertiesoptionalIResolvable | CfnSite.RackPhysicalPropertiesPropertyrack_physical_propertiesoptionaltyping.Union[IResolvable, RackPhysicalPropertiesProperty]rackPhysicalPropertiesoptionalIResolvableRackPhysicalPropertiesoptionalIResolvableRackPhysicalPropertiesoptionalinterface{} #
shippingAddressoptionalIResolvable | CfnSite.AddressPropertyshipping_addressoptionaltyping.Union[IResolvable, AddressProperty]shippingAddressoptionalIResolvableShippingAddressoptionalIResolvableShippingAddressoptionalinterface{} #
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #