Skip to content

Commit 4a1e188

Browse files
author
AWS
committed
AWS CodeBuild Update: AWS CodeBuild now supports creating fleets with macOS platform for running builds.
1 parent 9738cc1 commit 4a1e188

File tree

2 files changed

+35
-12
lines changed

2 files changed

+35
-12
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": "AWS CodeBuild now supports creating fleets with macOS platform for running builds."
6+
}

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

Lines changed: 29 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
{"shape":"AccountLimitExceededException"},
342342
{"shape":"ResourceAlreadyExistsException"}
343343
],
344-
"documentation":"<p> Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, or Bitbucket repository. </p>"
344+
"documentation":"<p> Imports the source repository credentials for an CodeBuild project that has its source code stored in a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>"
345345
},
346346
"InvalidateProjectCache":{
347347
"name":"InvalidateProjectCache",
@@ -735,7 +735,8 @@
735735
"OAUTH",
736736
"BASIC_AUTH",
737737
"PERSONAL_ACCESS_TOKEN",
738-
"CODECONNECTIONS"
738+
"CODECONNECTIONS",
739+
"SECRETS_MANAGER"
739740
]
740741
},
741742
"BatchDeleteBuildsInput":{
@@ -1606,6 +1607,10 @@
16061607
"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>"
16071608
},
16081609
"vpcConfig":{"shape":"VpcConfig"},
1610+
"imageId":{
1611+
"shape":"NonEmptyString",
1612+
"documentation":"<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"
1613+
},
16091614
"fleetServiceRole":{
16101615
"shape":"NonEmptyString",
16111616
"documentation":"<p>The service role associated with the compute fleet. 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-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"
@@ -2111,7 +2116,8 @@
21112116
"ARM_CONTAINER",
21122117
"WINDOWS_SERVER_2019_CONTAINER",
21132118
"LINUX_LAMBDA_CONTAINER",
2114-
"ARM_LAMBDA_CONTAINER"
2119+
"ARM_LAMBDA_CONTAINER",
2120+
"MAC_ARM"
21152121
]
21162122
},
21172123
"EnvironmentVariable":{
@@ -2226,6 +2232,10 @@
22262232
"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>"
22272233
},
22282234
"vpcConfig":{"shape":"VpcConfig"},
2235+
"imageId":{
2236+
"shape":"NonEmptyString",
2237+
"documentation":"<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"
2238+
},
22292239
"fleetServiceRole":{
22302240
"shape":"NonEmptyString",
22312241
"documentation":"<p>The service role associated with the compute fleet. 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-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"
@@ -2252,7 +2262,9 @@
22522262
"enum":[
22532263
"CREATE_FAILED",
22542264
"UPDATE_FAILED",
2255-
"ACTION_REQUIRED"
2265+
"ACTION_REQUIRED",
2266+
"PENDING_DELETION",
2267+
"INSUFFICIENT_CAPACITY"
22562268
]
22572269
},
22582270
"FleetName":{
@@ -2424,15 +2436,15 @@
24242436
},
24252437
"token":{
24262438
"shape":"SensitiveNonEmptyString",
2427-
"documentation":"<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>.</p>"
2439+
"documentation":"<p> For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is either the access token or the app password. For the <code>authType</code> CODECONNECTIONS, this is the <code>connectionArn</code>. For the <code>authType</code> SECRETS_MANAGER, this is the <code>secretArn</code>.</p>"
24282440
},
24292441
"serverType":{
24302442
"shape":"ServerType",
24312443
"documentation":"<p> The source provider used for this project. </p>"
24322444
},
24332445
"authType":{
24342446
"shape":"AuthType",
2435-
"documentation":"<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console. Note that CODECONNECTIONS is only valid for GitLab and GitLab Self Managed.</p>"
2447+
"documentation":"<p> The type of authentication used to connect to a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the CodeBuild console.</p>"
24362448
},
24372449
"shouldOverwrite":{
24382450
"shape":"WrapperBoolean",
@@ -3391,7 +3403,7 @@
33913403
},
33923404
"auth":{
33933405
"shape":"SourceAuth",
3394-
"documentation":"<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>"
3406+
"documentation":"<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p>"
33953407
},
33963408
"reportBuildStatus":{
33973409
"shape":"WrapperBoolean",
@@ -3986,20 +3998,21 @@
39863998
"members":{
39873999
"type":{
39884000
"shape":"SourceAuthType",
3989-
"documentation":"<p>The authorization type to use. Valid options are OAUTH or CODECONNECTIONS.</p>"
4001+
"documentation":"<p>The authorization type to use. Valid options are OAUTH, CODECONNECTIONS, or SECRETS_MANAGER.</p>"
39904002
},
39914003
"resource":{
39924004
"shape":"String",
39934005
"documentation":"<p>The resource value that applies to the specified authorization type.</p>"
39944006
}
39954007
},
3996-
"documentation":"<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p> <p>This information is for the CodeBuild console's use only. Your code should not get or set this information directly.</p>"
4008+
"documentation":"<p>Information about the authorization settings for CodeBuild to access the source code to be built.</p>"
39974009
},
39984010
"SourceAuthType":{
39994011
"type":"string",
40004012
"enum":[
40014013
"OAUTH",
4002-
"CODECONNECTIONS"
4014+
"CODECONNECTIONS",
4015+
"SECRETS_MANAGER"
40034016
]
40044017
},
40054018
"SourceCredentialsInfo":{
@@ -4015,11 +4028,11 @@
40154028
},
40164029
"authType":{
40174030
"shape":"AuthType",
4018-
"documentation":"<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, or CODECONNECTIONS. </p>"
4031+
"documentation":"<p> The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, PERSONAL_ACCESS_TOKEN, CODECONNECTIONS, or SECRETS_MANAGER. </p>"
40194032
},
40204033
"resource":{
40214034
"shape":"String",
4022-
"documentation":"<p>The connection ARN if your serverType type is GITLAB or GITLAB_SELF_MANAGED and your authType is CODECONNECTIONS.</p>"
4035+
"documentation":"<p>The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.</p>"
40234036
}
40244037
},
40254038
"documentation":"<p> Information about the credentials for a GitHub, GitHub Enterprise, GitLab, GitLab Self Managed, or Bitbucket repository. </p>"
@@ -4528,6 +4541,10 @@
45284541
"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>"
45294542
},
45304543
"vpcConfig":{"shape":"VpcConfig"},
4544+
"imageId":{
4545+
"shape":"NonEmptyString",
4546+
"documentation":"<p>The Amazon Machine Image (AMI) of the compute fleet.</p>"
4547+
},
45314548
"fleetServiceRole":{
45324549
"shape":"NonEmptyString",
45334550
"documentation":"<p>The service role associated with the compute fleet. 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-permission-policy-fleet-service-role.html\"> Allow a user to add a permission policy for a fleet service role</a> in the <i>CodeBuild User Guide</i>.</p>"

0 commit comments

Comments
 (0)