aws.apigw-domain-name
Filters
Actions
rename-tag
Rename an existing tag key to a new value.
- example:
rename Application, and Bap to App, if a resource has both of the old keys then we’ll use the value specified by Application, which is based on the order of values of old_keys.
policies: - name: rename-tags-example resource: aws.log-group filters: - or: - "tag:Bap": present - "tag:Application": present actions: - type: rename-tag old_keys: [Application, Bap] new_key: App
properties:
new_key:
type: string
old_key:
type: string
old_keys:
items:
type: string
type: array
type:
enum:
- rename-tag
required:
- type
Permissions - tag:TagResources, tag:UntagResources
update-security
Update the security policy of an API Gateway custom domain name.
Legacy policies (TLS_1_0, TLS_1_2) only patch securityPolicy. Enhanced policies (SecurityPolicy_*) must also carry an endpointAccessMode: the explicit endpointAccessMode if given, else the domain’s current mode, else BASIC. An existing STRICT mode is never lowered. Domains with more than one endpoint type are skipped for every policy, since AWS cannot update their security policy. For enhanced policies, domains with mutual TLS enabled or a policy name from the other (REGIONAL vs EDGE) namespace are skipped too. Skips are logged as warnings.
- example:
policies:
- name: apigw-domain-regional-tls13
resource: aws.apigw-domain-name
filters:
- type: value
key: securityPolicy
value: TLS_1_2
actions:
- type: update-security
securityPolicy: SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09
properties:
endpointAccessMode:
enum:
- BASIC
- STRICT
type: string
securityPolicy:
enum:
- TLS_1_0
- TLS_1_2
- SecurityPolicy_TLS13_1_3_2025_09
- SecurityPolicy_TLS13_1_3_FIPS_2025_09
- SecurityPolicy_TLS13_1_2_PFS_PQ_2025_09
- SecurityPolicy_TLS13_1_2_FIPS_PQ_2025_09
- SecurityPolicy_TLS13_1_2_FIPS_PFS_PQ_2025_09
- SecurityPolicy_TLS13_1_2_Ext2_PQ_2025_09
- SecurityPolicy_TLS13_1_2_Ext2_FIPS_PQ_2025_09
- SecurityPolicy_TLS13_1_2_PQ_2025_09
- SecurityPolicy_TLS13_1_2_2021_06
- SecurityPolicy_TLS13_2025_EDGE
- SecurityPolicy_TLS12_PFS_2025_EDGE
- SecurityPolicy_TLS12_2018_EDGE
type: string
type:
enum:
- update-security
required:
- securityPolicy
- type
Permissions - apigateway:PATCH