Skip to content

Commit 2253c76

Browse files
authored
Merge of #34315
2 parents 05afab3 + 0b6f6df commit 2253c76

File tree

12 files changed

+436
-6
lines changed

12 files changed

+436
-6
lines changed

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/cdk.out

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/events-api-destination-stack.assets.json

Lines changed: 20 additions & 0 deletions
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,107 @@
1+
{
2+
"Resources": {
3+
"SecretA720EF05": {
4+
"Type": "AWS::SecretsManager::Secret",
5+
"Properties": {
6+
"SecretString": "abc123"
7+
},
8+
"UpdateReplacePolicy": "Delete",
9+
"DeletionPolicy": "Delete"
10+
},
11+
"Connection07624BCD": {
12+
"Type": "AWS::Events::Connection",
13+
"Properties": {
14+
"AuthParameters": {
15+
"ApiKeyAuthParameters": {
16+
"ApiKeyName": "x-api-key",
17+
"ApiKeyValue": {
18+
"Fn::Join": [
19+
"",
20+
[
21+
"{{resolve:secretsmanager:",
22+
{
23+
"Ref": "SecretA720EF05"
24+
},
25+
":SecretString:::}}"
26+
]
27+
]
28+
}
29+
}
30+
},
31+
"AuthorizationType": "API_KEY",
32+
"Description": "Connection with API Key x-api-key",
33+
"Name": "MyConnection"
34+
}
35+
},
36+
"DestinationApiDestinationA879FAE5": {
37+
"Type": "AWS::Events::ApiDestination",
38+
"Properties": {
39+
"ConnectionArn": {
40+
"Fn::GetAtt": [
41+
"Connection07624BCD",
42+
"Arn"
43+
]
44+
},
45+
"Description": "Calling example.com with API key x-api-key",
46+
"HttpMethod": "GET",
47+
"InvocationEndpoint": "https://httpbin.org/headers",
48+
"InvocationRateLimitPerSecond": 1,
49+
"Name": "MyDestination"
50+
}
51+
}
52+
},
53+
"Outputs": {
54+
"DestinationArn": {
55+
"Description": "The ARN of the API destination",
56+
"Value": {
57+
"Fn::GetAtt": [
58+
"DestinationApiDestinationA879FAE5",
59+
"Arn"
60+
]
61+
}
62+
},
63+
"DestinationArnForPolicy": {
64+
"Description": "The ARN of the API destination in resource format",
65+
"Value": {
66+
"Fn::GetAtt": [
67+
"DestinationApiDestinationA879FAE5",
68+
"ArnForPolicy"
69+
]
70+
}
71+
}
72+
},
73+
"Parameters": {
74+
"BootstrapVersion": {
75+
"Type": "AWS::SSM::Parameter::Value<String>",
76+
"Default": "/cdk-bootstrap/hnb659fds/version",
77+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
78+
}
79+
},
80+
"Rules": {
81+
"CheckBootstrapVersion": {
82+
"Assertions": [
83+
{
84+
"Assert": {
85+
"Fn::Not": [
86+
{
87+
"Fn::Contains": [
88+
[
89+
"1",
90+
"2",
91+
"3",
92+
"4",
93+
"5"
94+
],
95+
{
96+
"Ref": "BootstrapVersion"
97+
}
98+
]
99+
}
100+
]
101+
},
102+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
103+
}
104+
]
105+
}
106+
}
107+
}

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/eventsapidestinationintegDefaultTestDeployAssert460ADA7C.assets.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/eventsapidestinationintegDefaultTestDeployAssert460ADA7C.template.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/integ.json

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/manifest.json

Lines changed: 162 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-events/test/integ.api-destination.js.snapshot/tree.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)