CfnMultiRegionEndpointPropsMixin
- class aws_cdk.cfn_property_mixins.aws_ses.CfnMultiRegionEndpointPropsMixin(props, *, strategy=None)
Bases:
MixinCreates a multi-region endpoint (global-endpoint).
The primary region is going to be the AWS-Region where the operation is executed. The secondary region has to be provided in request’s parameters. From the data flow standpoint there is no difference between primary and secondary regions - sending traffic will be split equally between the two. The primary region is the region where the resource has been created and where it can be managed.
- See:
- CloudformationResource:
AWS::SES::MultiRegionEndpoint
- 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_ses as ses import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_multi_region_endpoint_props_mixin = ses.CfnMultiRegionEndpointPropsMixin(ses.CfnMultiRegionEndpointMixinProps( details=ses.CfnMultiRegionEndpointPropsMixin.DetailsProperty( route_details=[ses.CfnMultiRegionEndpointPropsMixin.RouteDetailsItemsProperty( region="region" )] ), endpoint_name="endpointName", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SES::MultiRegionEndpoint.- Parameters:
props (
Union[CfnMultiRegionEndpointMixinProps,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 = ['details', 'endpointName', '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.
DetailsProperty
- class CfnMultiRegionEndpointPropsMixin.DetailsProperty(*, route_details=None)
Bases:
objectAn object that contains configuration details of multi-region endpoint (global-endpoint).
- Parameters:
route_details (
Union[IResolvable,Sequence[Union[IResolvable,RouteDetailsItemsProperty,Dict[str,Any]]],None]) – A list of route configuration details. Must contain exactly one route configuration.- 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_ses as ses details_property = ses.CfnMultiRegionEndpointPropsMixin.DetailsProperty( route_details=[ses.CfnMultiRegionEndpointPropsMixin.RouteDetailsItemsProperty( region="region" )] )
Attributes
- route_details
A list of route configuration details.
Must contain exactly one route configuration.
RouteDetailsItemsProperty
- class CfnMultiRegionEndpointPropsMixin.RouteDetailsItemsProperty(*, region=None)
Bases:
objectAn object that contains route configuration.
Includes secondary region name.
- Parameters:
region (
Optional[str]) – The name of an AWS-Region to be a secondary region for the multi-region endpoint (global-endpoint).- 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_ses as ses route_details_items_property = ses.CfnMultiRegionEndpointPropsMixin.RouteDetailsItemsProperty( region="region" )
Attributes
- region
The name of an AWS-Region to be a secondary region for the multi-region endpoint (global-endpoint).