ecs_composex.route53 package ¶
Submodules ¶
ecs_composex.route53.route53_acm module ¶
Manages x-route53 to x-acm
- ecs_composex.route53.route53_acm. handle_acm_records ( x_hosted_zone , route53_stack , target_cert , acm_stack , settings , root_stack = None ) [source] ¶
-
Function to go over the ACM Certificate Domain validation options, and identifies x-route53 to map it to.
- Parameters :
-
-
x_hosted_zone ( ecs_composex.route53.route53_zone.HostedZone ) – HostedZone to evaluate.
-
route53_stack ( ecs_composex.common.stacks.ComposeXStack ) –
-
target_cert ( ecs_composex.acm.acm_stack.Certificate ) –
-
acm_stack ( ecs_composex.common.stacks.ComposeXStack ) –
-
settings ( ecs_composex.common.settings.ComposeXSettings ) –
-
- ecs_composex.route53.route53_acm. lookup_dns_zone ( route53_zone , validation_option , acm_stack , settings ) [source] ¶
-
Update the HostedZoneId property when using a lookup DNS zone
- Parameters :
-
-
route53_zone –
-
validation_option ( troposphere.certificatemanager.DomainValidationOption ) –
-
acm_stack ( XStack ) –
-
settings ( ecs_composex.common.settings.ComposeXSettings ) –
-
- ecs_composex.route53.route53_acm. new_dns_zone ( route53_zone , acm_stack , validation_option ) [source] ¶
-
Update the HostedZoneId property when using a new Route53 zone
- Parameters :
-
-
route53_zone –
-
acm_stack –
-
validation_option ( troposphere.certificatemanager.DomainValidationOption ) –
-
- ecs_composex.route53.route53_acm. update_route53_pointer ( x_hosted_zone , validation_setting , route53_stack , target_cert , acm_stack , settings ) [source] ¶
-
Iterates over each HostedZone and upon finding the right one :param ecs_composex.route53.route53_zone.HostedZone x_hosted_zone: List of HostedZones defined :param troposphere.certificatemanager.DomainValidationOption validation_setting: :param XStack route53_stack: :param ComposeXStack acm_stack: :param ecs_composex.common.settings.ComposeXSettings settings:
ecs_composex.route53.route53_elbv2 module ¶
ecs_composex.route53.route53_helpers module ¶
- ecs_composex.route53.route53_helpers. filter_out_cloudmap_zones ( zones , zone_name ) [source] ¶
-
Function to filter out the Hosted Zones linked to CloudMap
- ecs_composex.route53.route53_helpers. lookup_hosted_zone ( zone , session , private , zone_id = None ) [source] ¶
-
Describes all zones in account via the session, returns the details about the one zone if found
- Parameters :
-
-
zone ( HostecZone ) –
-
session ( boto3.session.Session ) –
-
private ( bool ) –
-
zone_id ( str ) – The Zone ID
-
- Return type :
-
dict
- Returns :
-
- ecs_composex.route53.route53_helpers. resolve_lookup ( lookup_resources , settings , module ) [source] ¶
-
Lookup the ACM certificates in AWS and creates the CFN mappings for them
- Parameters :
-
-
lookup_resources ( list [ HostedZone ] ) – List of resources to lookup
-
settings ( ecs_composex.common.settings.ComposeXSettings ) –
-
module ( XResourceModule ) –
-
- Return type :
-
None
ecs_composex.route53.route53_module module ¶
ecs_composex.route53.route53_params module ¶
Module for DNS Route53 parameters