Skip to content

Commit d3cffb1

Browse files
committed
feat(apigatewayv2): add dualstack support to domain name
1 parent f2c5f26 commit d3cffb1

File tree

12 files changed

+473
-1
lines changed

12 files changed

+473
-1
lines changed

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/aws-cdk-aws-apigatewayv2-domain-name.assets.json

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
{
2+
"Resources": {
3+
"Certificate4E7ABB08": {
4+
"Type": "AWS::CertificateManager::Certificate",
5+
"Properties": {
6+
"DomainName": "*.example.com",
7+
"DomainValidationOptions": [
8+
{
9+
"DomainName": "*.example.com",
10+
"HostedZoneId": "Z23ABC4XYZL05B"
11+
}
12+
],
13+
"Tags": [
14+
{
15+
"Key": "Name",
16+
"Value": "This is a test name"
17+
}
18+
],
19+
"ValidationMethod": "DNS"
20+
}
21+
},
22+
"DomainNameEC95A6E9": {
23+
"Type": "AWS::ApiGatewayV2::DomainName",
24+
"Properties": {
25+
"DomainName": "*.example.com",
26+
"DomainNameConfigurations": [
27+
{
28+
"CertificateArn": {
29+
"Ref": "Certificate4E7ABB08"
30+
},
31+
"EndpointType": "REGIONAL",
32+
"IpAddressType": "dualstack"
33+
}
34+
]
35+
}
36+
},
37+
"HttpApiF5A9A8A7": {
38+
"Type": "AWS::ApiGatewayV2::Api",
39+
"Properties": {
40+
"Name": "HttpApi",
41+
"ProtocolType": "HTTP",
42+
"RouteSelectionExpression": "${request.method} ${request.path}"
43+
}
44+
},
45+
"HttpApiDefaultStage3EEB07D6": {
46+
"Type": "AWS::ApiGatewayV2::Stage",
47+
"Properties": {
48+
"ApiId": {
49+
"Ref": "HttpApiF5A9A8A7"
50+
},
51+
"AutoDeploy": true,
52+
"StageName": "$default"
53+
},
54+
"DependsOn": [
55+
"DomainNameEC95A6E9"
56+
]
57+
},
58+
"HttpApiDefaultStageawscdkawsapigatewayv2domainnameDomainNameundefined0C10CF26": {
59+
"Type": "AWS::ApiGatewayV2::ApiMapping",
60+
"Properties": {
61+
"ApiId": {
62+
"Ref": "HttpApiF5A9A8A7"
63+
},
64+
"DomainName": {
65+
"Ref": "DomainNameEC95A6E9"
66+
},
67+
"Stage": "$default"
68+
},
69+
"DependsOn": [
70+
"DomainNameEC95A6E9",
71+
"HttpApiDefaultStage3EEB07D6"
72+
]
73+
}
74+
},
75+
"Parameters": {
76+
"BootstrapVersion": {
77+
"Type": "AWS::SSM::Parameter::Value<String>",
78+
"Default": "/cdk-bootstrap/hnb659fds/version",
79+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
80+
}
81+
},
82+
"Rules": {
83+
"CheckBootstrapVersion": {
84+
"Assertions": [
85+
{
86+
"Assert": {
87+
"Fn::Not": [
88+
{
89+
"Fn::Contains": [
90+
[
91+
"1",
92+
"2",
93+
"3",
94+
"4",
95+
"5"
96+
],
97+
{
98+
"Ref": "BootstrapVersion"
99+
}
100+
]
101+
}
102+
]
103+
},
104+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
105+
}
106+
]
107+
}
108+
}
109+
}

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/cdk.out

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/httpapiDefaultTestDeployAssert77633A40.assets.json

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/httpapiDefaultTestDeployAssert77633A40.template.json

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/integ.json

+13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/manifest.json

+176
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-apigatewayv2/test/http/integ.api-domain-name.js.snapshot/tree.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)