PARALLAX

api_gateway_domain

Manage AWS API Gateway custom domains

Collection: community.aws

Full Name: community.aws.api_gateway_domain

Synopsis

Manage AWS API Gateway custom domains

Parameters

NameTypeRequiredDefaultDescription
access_keystr
aws_ca_bundlepath
aws_configdict
certificate_arnstryes
debug_botocore_endpoint_logsboolfalse
domain_mappingslistyes
domain_namestryes
endpoint_typestrEDGE
endpoint_urlstr
profilestr
regionstr
secret_keystr
security_policystrTLS_1_2
session_tokenstr
statestrpresent
validate_certsbooltrue

Example

yaml
- name: Setup endpoint for a custom domain for your API Gateway HTTP API
  community.aws.api_gateway_domain:
    domain_name: myapi.foobar.com
    certificate_arn: 'arn:aws:acm:us-east-1:1231123123:certificate/8bd89412-abc123-xxxxx'
    security_policy: TLS_1_2
    endpoint_type: EDGE
    domain_mappings:
        - rest_api_id: abc123
          stage: production
    state: present
  register: api_gw_domain_result
Search
    ↑ ↓ move↵ openesc close