CfnServicePropsMixin
- class aws_cdk.cfn_property_mixins.aws_vpclattice.CfnServicePropsMixin(props, *, strategy=None)
Bases:
MixinCreates a service.
A service is any software application that can run on instances containers, or serverless functions within an account or virtual private cloud (VPC).
For more information, see Services in the Amazon VPC Lattice User Guide .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-service.html
- CloudformationResource:
AWS::VpcLattice::Service
- 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_vpclattice as vpclattice import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_service_props_mixin = vpclattice.CfnServicePropsMixin(vpclattice.CfnServiceMixinProps( auth_type="authType", certificate_arn="certificateArn", custom_domain_name="customDomainName", dns_entry=vpclattice.CfnServicePropsMixin.DnsEntryProperty( domain_name="domainName", hosted_zone_id="hostedZoneId" ), name="name", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::VpcLattice::Service.- Parameters:
props (
Union[CfnServiceMixinProps,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 = ['authType', 'certificateArn', 'customDomainName', 'dnsEntry', 'name', '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.
DnsEntryProperty
- class CfnServicePropsMixin.DnsEntryProperty(*, domain_name=None, hosted_zone_id=None)
Bases:
objectDescribes the DNS information of a service.
- Parameters:
domain_name (
Optional[str]) – The domain name of the service.hosted_zone_id (
Optional[str]) – The ID of the hosted zone.
- 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_vpclattice as vpclattice dns_entry_property = vpclattice.CfnServicePropsMixin.DnsEntryProperty( domain_name="domainName", hosted_zone_id="hostedZoneId" )
Attributes
- domain_name
The domain name of the service.
- hosted_zone_id
The ID of the hosted zone.