Skip to content

Commit 41bf971

Browse files
author
AWS
committed
AWS CodeBuild Update: Enable proxy for reserved capacity fleet.
1 parent 5326c51 commit 41bf971

File tree

2 files changed

+89
-1
lines changed

2 files changed

+89
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS CodeBuild",
4+
"contributor": "",
5+
"description": "Enable proxy for reserved capacity fleet."
6+
}

services/codebuild/src/main/resources/codegen-resources/service-2.json

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,6 +1607,10 @@
16071607
"documentation":"<p>The compute fleet overflow behavior.</p> <ul> <li> <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on the existing fleet instance to become available.</p> </li> <li> <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p> <note> <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface\">Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p> </note> </li> </ul>"
16081608
},
16091609
"vpcConfig":{"shape":"VpcConfig"},
1610+
"proxyConfiguration":{
1611+
"shape":"ProxyConfiguration",
1612+
"documentation":"<p>The proxy configuration of the compute fleet.</p>"
1613+
},
16101614
"imageId":{
16111615
"shape":"NonEmptyString",
16121616
"documentation":"<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"
@@ -2232,6 +2236,10 @@
22322236
"documentation":"<p>The compute fleet overflow behavior.</p> <ul> <li> <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on the existing fleet instance to become available.</p> </li> <li> <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p> <note> <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface\">Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p> </note> </li> </ul>"
22332237
},
22342238
"vpcConfig":{"shape":"VpcConfig"},
2239+
"proxyConfiguration":{
2240+
"shape":"ProxyConfiguration",
2241+
"documentation":"<p>The proxy configuration of the compute fleet.</p>"
2242+
},
22352243
"imageId":{
22362244
"shape":"NonEmptyString",
22372245
"documentation":"<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"
@@ -2286,6 +2294,61 @@
22862294
"ON_DEMAND"
22872295
]
22882296
},
2297+
"FleetProxyRule":{
2298+
"type":"structure",
2299+
"required":[
2300+
"type",
2301+
"effect",
2302+
"entities"
2303+
],
2304+
"members":{
2305+
"type":{
2306+
"shape":"FleetProxyRuleType",
2307+
"documentation":"<p>The type of proxy rule.</p>"
2308+
},
2309+
"effect":{
2310+
"shape":"FleetProxyRuleEffectType",
2311+
"documentation":"<p>The behavior of the proxy rule.</p>"
2312+
},
2313+
"entities":{
2314+
"shape":"FleetProxyRuleEntities",
2315+
"documentation":"<p>The destination of the proxy rule.</p>"
2316+
}
2317+
},
2318+
"documentation":"<p>Information about the proxy rule for your reserved capacity instances.</p>"
2319+
},
2320+
"FleetProxyRuleBehavior":{
2321+
"type":"string",
2322+
"enum":[
2323+
"ALLOW_ALL",
2324+
"DENY_ALL"
2325+
]
2326+
},
2327+
"FleetProxyRuleEffectType":{
2328+
"type":"string",
2329+
"enum":[
2330+
"ALLOW",
2331+
"DENY"
2332+
]
2333+
},
2334+
"FleetProxyRuleEntities":{
2335+
"type":"list",
2336+
"member":{"shape":"String"},
2337+
"max":100,
2338+
"min":1
2339+
},
2340+
"FleetProxyRuleType":{
2341+
"type":"string",
2342+
"enum":[
2343+
"DOMAIN",
2344+
"IP"
2345+
]
2346+
},
2347+
"FleetProxyRules":{
2348+
"type":"list",
2349+
"member":{"shape":"FleetProxyRule"},
2350+
"max":100
2351+
},
22892352
"FleetScalingMetricType":{
22902353
"type":"string",
22912354
"enum":["FLEET_UTILIZATION_RATE"]
@@ -3460,6 +3523,20 @@
34603523
"type":"list",
34613524
"member":{"shape":"Project"}
34623525
},
3526+
"ProxyConfiguration":{
3527+
"type":"structure",
3528+
"members":{
3529+
"defaultBehavior":{
3530+
"shape":"FleetProxyRuleBehavior",
3531+
"documentation":"<p>The default behavior of outgoing traffic.</p>"
3532+
},
3533+
"orderedProxyRules":{
3534+
"shape":"FleetProxyRules",
3535+
"documentation":"<p>An array of <code>FleetProxyRule</code> objects that represent the specified destination domains or IPs to allow or deny network access control to.</p>"
3536+
}
3537+
},
3538+
"documentation":"<p>Information about the proxy configurations that apply network access control to your reserved capacity instances.</p>"
3539+
},
34633540
"PutResourcePolicyInput":{
34643541
"type":"structure",
34653542
"required":[
@@ -4541,6 +4618,10 @@
45414618
"documentation":"<p>The compute fleet overflow behavior.</p> <ul> <li> <p>For overflow behavior <code>QUEUE</code>, your overflow builds need to wait on the existing fleet instance to become available.</p> </li> <li> <p>For overflow behavior <code>ON_DEMAND</code>, your overflow builds run on CodeBuild on-demand.</p> <note> <p>If you choose to set your overflow behavior to on-demand while creating a VPC-connected fleet, make sure that you add the required VPC permissions to your project service role. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/auth-and-access-control-iam-identity-based-access-control.html#customer-managed-policies-example-create-vpc-network-interface\">Example policy statement to allow CodeBuild access to Amazon Web Services services required to create a VPC network interface</a>.</p> </note> </li> </ul>"
45424619
},
45434620
"vpcConfig":{"shape":"VpcConfig"},
4621+
"proxyConfiguration":{
4622+
"shape":"ProxyConfiguration",
4623+
"documentation":"<p>The proxy configuration of the compute fleet.</p>"
4624+
},
45444625
"imageId":{
45454626
"shape":"NonEmptyString",
45464627
"documentation":"<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"
@@ -4860,7 +4941,8 @@
48604941
"COMMIT_MESSAGE",
48614942
"WORKFLOW_NAME",
48624943
"TAG_NAME",
4863-
"RELEASE_NAME"
4944+
"RELEASE_NAME",
4945+
"REPOSITORY_NAME"
48644946
]
48654947
},
48664948
"WebhookScopeType":{

0 commit comments

Comments
 (0)