Skip to content

Commit 1d9aebe

Browse files
authored
Merge branch 'main' into replace-instanceof
2 parents 8948413 + 9fd62cb commit 1d9aebe

File tree

979 files changed

+187490
-39765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

979 files changed

+187490
-39765
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@
1414
**/*.snapshot/**/*.template.json -linguist-generated
1515
**/*.snapshot/**/*DeployAssert*.template.json linguist-generated
1616
packages/@aws-cdk-testing/framework-integ/test/aws-s3-deployment/test/integ.bucket-deployment-big-response.js.snapshot/asset.3322b7049fb0ed2b7cbb644a2ada8d1116ff80c32dca89e6ada846b5de26f961.zip filter=lfs diff=lfs merge=lfs -text
17+
packages/@aws-cdk-testing/framework-integ/test/**/*.snapshot/**/asset*.zip filter=lfs diff=lfs merge=lfs -text
18+
packages/@aws-cdk/*-alpha/test/**/*.snapshot/**/asset*.zip filter=lfs diff=lfs merge=lfs -text

packages/@aws-cdk-testing/framework-integ/test/aws-codebuild/test/integ.project-fleet-attribute-based-compute.js.snapshot/AttributeBasedComputeFleetIntegStack0.assets.json

+19
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,215 @@
1+
{
2+
"Resources": {
3+
"MyFleet1E628396": {
4+
"Type": "AWS::CodeBuild::Fleet",
5+
"Properties": {
6+
"BaseCapacity": 1,
7+
"ComputeConfiguration": {
8+
"disk": 0,
9+
"machineType": "GENERAL",
10+
"memory": 0,
11+
"vCpu": 0
12+
},
13+
"ComputeType": "ATTRIBUTE_BASED_COMPUTE",
14+
"EnvironmentType": "LINUX_CONTAINER"
15+
}
16+
},
17+
"MyProjectRole9BBE5233": {
18+
"Type": "AWS::IAM::Role",
19+
"Properties": {
20+
"AssumeRolePolicyDocument": {
21+
"Statement": [
22+
{
23+
"Action": "sts:AssumeRole",
24+
"Effect": "Allow",
25+
"Principal": {
26+
"Service": "codebuild.amazonaws.com"
27+
}
28+
}
29+
],
30+
"Version": "2012-10-17"
31+
}
32+
}
33+
},
34+
"MyProjectRoleDefaultPolicyB19B7C29": {
35+
"Type": "AWS::IAM::Policy",
36+
"Properties": {
37+
"PolicyDocument": {
38+
"Statement": [
39+
{
40+
"Action": [
41+
"logs:CreateLogGroup",
42+
"logs:CreateLogStream",
43+
"logs:PutLogEvents"
44+
],
45+
"Effect": "Allow",
46+
"Resource": [
47+
{
48+
"Fn::Join": [
49+
"",
50+
[
51+
"arn:",
52+
{
53+
"Ref": "AWS::Partition"
54+
},
55+
":logs:",
56+
{
57+
"Ref": "AWS::Region"
58+
},
59+
":",
60+
{
61+
"Ref": "AWS::AccountId"
62+
},
63+
":log-group:/aws/codebuild/",
64+
{
65+
"Ref": "MyProject39F7B0AE"
66+
},
67+
":*"
68+
]
69+
]
70+
},
71+
{
72+
"Fn::Join": [
73+
"",
74+
[
75+
"arn:",
76+
{
77+
"Ref": "AWS::Partition"
78+
},
79+
":logs:",
80+
{
81+
"Ref": "AWS::Region"
82+
},
83+
":",
84+
{
85+
"Ref": "AWS::AccountId"
86+
},
87+
":log-group:/aws/codebuild/",
88+
{
89+
"Ref": "MyProject39F7B0AE"
90+
}
91+
]
92+
]
93+
}
94+
]
95+
},
96+
{
97+
"Action": [
98+
"codebuild:BatchPutCodeCoverages",
99+
"codebuild:BatchPutTestCases",
100+
"codebuild:CreateReport",
101+
"codebuild:CreateReportGroup",
102+
"codebuild:UpdateReport"
103+
],
104+
"Effect": "Allow",
105+
"Resource": {
106+
"Fn::Join": [
107+
"",
108+
[
109+
"arn:",
110+
{
111+
"Ref": "AWS::Partition"
112+
},
113+
":codebuild:",
114+
{
115+
"Ref": "AWS::Region"
116+
},
117+
":",
118+
{
119+
"Ref": "AWS::AccountId"
120+
},
121+
":report-group/",
122+
{
123+
"Ref": "MyProject39F7B0AE"
124+
},
125+
"-*"
126+
]
127+
]
128+
}
129+
}
130+
],
131+
"Version": "2012-10-17"
132+
},
133+
"PolicyName": "MyProjectRoleDefaultPolicyB19B7C29",
134+
"Roles": [
135+
{
136+
"Ref": "MyProjectRole9BBE5233"
137+
}
138+
]
139+
}
140+
},
141+
"MyProject39F7B0AE": {
142+
"Type": "AWS::CodeBuild::Project",
143+
"Properties": {
144+
"Artifacts": {
145+
"Type": "NO_ARTIFACTS"
146+
},
147+
"Cache": {
148+
"Type": "NO_CACHE"
149+
},
150+
"EncryptionKey": "alias/aws/s3",
151+
"Environment": {
152+
"ComputeType": "BUILD_GENERAL1_SMALL",
153+
"Image": "aws/codebuild/standard:7.0",
154+
"ImagePullCredentialsType": "CODEBUILD",
155+
"PrivilegedMode": false,
156+
"Type": "LINUX_CONTAINER"
157+
},
158+
"ServiceRole": {
159+
"Fn::GetAtt": [
160+
"MyProjectRole9BBE5233",
161+
"Arn"
162+
]
163+
},
164+
"Source": {
165+
"BuildSpec": "{\n \"version\": \"0.2\",\n \"phases\": {\n \"build\": {\n \"commands\": [\n \"echo \\\"Nothing to do!\\\"\"\n ]\n }\n }\n}",
166+
"Type": "NO_SOURCE"
167+
}
168+
}
169+
}
170+
},
171+
"Outputs": {
172+
"ExportsOutputRefMyProject39F7B0AE1CE3CA42": {
173+
"Value": {
174+
"Ref": "MyProject39F7B0AE"
175+
},
176+
"Export": {
177+
"Name": "AttributeBasedComputeFleetIntegStack0:ExportsOutputRefMyProject39F7B0AE1CE3CA42"
178+
}
179+
}
180+
},
181+
"Parameters": {
182+
"BootstrapVersion": {
183+
"Type": "AWS::SSM::Parameter::Value<String>",
184+
"Default": "/cdk-bootstrap/hnb659fds/version",
185+
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
186+
}
187+
},
188+
"Rules": {
189+
"CheckBootstrapVersion": {
190+
"Assertions": [
191+
{
192+
"Assert": {
193+
"Fn::Not": [
194+
{
195+
"Fn::Contains": [
196+
[
197+
"1",
198+
"2",
199+
"3",
200+
"4",
201+
"5"
202+
],
203+
{
204+
"Ref": "BootstrapVersion"
205+
}
206+
]
207+
}
208+
]
209+
},
210+
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
211+
}
212+
]
213+
}
214+
}
215+
}

packages/@aws-cdk-testing/framework-integ/test/aws-codebuild/test/integ.project-fleet-attribute-based-compute.js.snapshot/AttributeBasedComputeFleetIntegStack1.assets.json

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

0 commit comments

Comments
 (0)