CfnListenerCertificatePropsMixin
- class aws_cdk.cfn_property_mixins.aws_elasticloadbalancingv2.CfnListenerCertificatePropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies an SSL server certificate to add to the certificate list for an HTTPS or TLS listener.
- See:
- CloudformationResource:
AWS::ElasticLoadBalancingV2::ListenerCertificate
- 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_elasticloadbalancingv2 as elasticloadbalancingv2 import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_listener_certificate_props_mixin = elasticloadbalancingv2.CfnListenerCertificatePropsMixin(elasticloadbalancingv2.CfnListenerCertificateMixinProps( certificates=[elasticloadbalancingv2.CfnListenerCertificatePropsMixin.CertificateProperty( certificate_arn="certificateArn" )], listener_arn="listenerArn" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::ElasticLoadBalancingV2::ListenerCertificate.- Parameters:
props (
Union[CfnListenerCertificateMixinProps,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 = ['certificates', 'listenerArn']
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.
CertificateProperty
- class CfnListenerCertificatePropsMixin.CertificateProperty(*, certificate_arn=None)
Bases:
objectSpecifies an SSL server certificate for the certificate list of a secure listener.
- Parameters:
certificate_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the certificate.- 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_elasticloadbalancingv2 as elasticloadbalancingv2 certificate_property = elasticloadbalancingv2.CfnListenerCertificatePropsMixin.CertificateProperty( certificate_arn="certificateArn" )
Attributes
- certificate_arn
The Amazon Resource Name (ARN) of the certificate.