CfnSitePropsMixin
- class aws_cdk.cfn_property_mixins.aws_outposts.CfnSitePropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::Outposts::Site Resource Type.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-outposts-site.html
- CloudformationResource:
AWS::Outposts::Site
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_outposts as outposts import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_site_props_mixin = outposts.CfnSitePropsMixin(outposts.CfnSiteMixinProps( description="description", name="name", notes="notes", operating_address=outposts.CfnSitePropsMixin.AddressProperty( address_line1="addressLine1", address_line2="addressLine2", address_line3="addressLine3", city="city", contact_name="contactName", contact_phone_number="contactPhoneNumber", country_code="countryCode", district_or_county="districtOrCounty", municipality="municipality", postal_code="postalCode", state_or_region="stateOrRegion" ), rack_physical_properties=outposts.CfnSitePropsMixin.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.CfnSitePropsMixin.AddressProperty( address_line1="addressLine1", address_line2="addressLine2", address_line3="addressLine3", city="city", contact_name="contactName", contact_phone_number="contactPhoneNumber", country_code="countryCode", district_or_county="districtOrCounty", municipality="municipality", postal_code="postalCode", state_or_region="stateOrRegion" ), tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::Outposts::Site.- Parameters:
props (
Union[CfnSiteMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['description', 'name', 'notes', 'operatingAddress', 'rackPhysicalProperties', 'shippingAddress', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
AddressProperty
- class CfnSitePropsMixin.AddressProperty(*, address_line1=None, address_line2=None, address_line3=None, city=None, contact_name=None, contact_phone_number=None, country_code=None, district_or_county=None, municipality=None, postal_code=None, state_or_region=None)
Bases:
object- Parameters:
address_line1 (
Optional[str])address_line2 (
Optional[str])address_line3 (
Optional[str])city (
Optional[str])contact_name (
Optional[str])contact_phone_number (
Optional[str])country_code (
Optional[str])district_or_county (
Optional[str])municipality (
Optional[str])postal_code (
Optional[str])state_or_region (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_outposts as outposts address_property = outposts.CfnSitePropsMixin.AddressProperty( address_line1="addressLine1", address_line2="addressLine2", address_line3="addressLine3", city="city", contact_name="contactName", contact_phone_number="contactPhoneNumber", country_code="countryCode", district_or_county="districtOrCounty", municipality="municipality", postal_code="postalCode", state_or_region="stateOrRegion" )
Attributes
- address_line1
-
- Type:
see
- address_line2
-
- Type:
see
- address_line3
-
- Type:
see
- city
-
- Type:
see
- contact_name
-
- Type:
see
- contact_phone_number
-
- Type:
see
- country_code
-
- Type:
see
- district_or_county
-
- Type:
see
- municipality
-
- Type:
see
- postal_code
-
- Type:
see
RackPhysicalPropertiesProperty
- class CfnSitePropsMixin.RackPhysicalPropertiesProperty(*, fiber_optic_cable_type=None, maximum_supported_weight_lbs=None, optical_standard=None, power_connector=None, power_draw_kva=None, power_feed_drop=None, power_phase=None, uplink_count=None, uplink_gbps=None)
Bases:
object- Parameters:
fiber_optic_cable_type (
Optional[str])maximum_supported_weight_lbs (
Optional[str])optical_standard (
Optional[str])power_connector (
Optional[str])power_draw_kva (
Optional[str])power_feed_drop (
Optional[str])power_phase (
Optional[str])uplink_count (
Optional[str])uplink_gbps (
Optional[str])
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_outposts as outposts rack_physical_properties_property = outposts.CfnSitePropsMixin.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" )
Attributes
- fiber_optic_cable_type
-
- Type:
see
- maximum_supported_weight_lbs
-
- Type:
see
- optical_standard
-
- Type:
see
- power_connector
-
- Type:
see
- power_draw_kva
-
- Type:
see
- power_feed_drop
-
- Type:
see
- power_phase
-
- Type:
see
- uplink_count
-
- Type:
see