Skip to content

Commit defbfa9

Browse files
author
AWS
committed
AWS CodeBuild Update: AWS CodeBuild now allows you to set the access permissions for build artifacts, project artifacts, and log files that are uploaded to an Amazon S3 bucket that is owned by another account.
1 parent 379ce26 commit defbfa9

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
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 allows you to set the access permissions for build artifacts, project artifacts, and log files that are uploaded to an Amazon S3 bucket that is owned by another account."
6+
}

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

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,15 @@
805805
"documentation":"<p>Specifies restrictions for the batch build.</p>"
806806
},
807807
"Boolean":{"type":"boolean"},
808+
"BucketOwnerAccess":{
809+
"type":"string",
810+
"documentation":"<p>Specifies the access for objects that are uploaded to an Amazon S3 bucket that is owned by another account.</p> <p>By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects.</p> <dl> <dt>NONE</dt> <dd> <p>The bucket owner does not have access to the objects. This is the default.</p> </dd> <dt>READ_ONLY</dt> <dd> <p>The bucket owner has read only access to the objects. The uploading account retains ownership of the objects.</p> </dd> <dt>FULL</dt> <dd> <p>The bucket owner has full access to the objects. Object ownership is determined by the following criteria:</p> <ul> <li> <p>If the bucket is configured with the <b>Bucket owner preferred</b> setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.</p> </li> <li> <p>Otherwise, the uploading account retains ownership of the objects.</p> </li> </ul> <p>For more information about Amazon S3 object ownership, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html\">Controlling ownership of uploaded objects using S3 Object Ownership</a> in the <i>Amazon Simple Storage Service User Guide</i>.</p> </dd> </dl>",
811+
"enum":[
812+
"NONE",
813+
"READ_ONLY",
814+
"FULL"
815+
]
816+
},
808817
"Build":{
809818
"type":"structure",
810819
"members":{
@@ -918,7 +927,7 @@
918927
},
919928
"exportedEnvironmentVariables":{
920929
"shape":"ExportedEnvironmentVariables",
921-
"documentation":"<p> A list of exported environment variables for this build. </p>"
930+
"documentation":"<p>A list of exported environment variables for this build.</p> <p>Exported environment variables are used in conjunction with AWS CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html\">Working with variables</a> in the <i>AWS CodePipeline User Guide</i>.</p>"
922931
},
923932
"reportArns":{
924933
"shape":"BuildReportArns",
@@ -965,7 +974,8 @@
965974
"artifactIdentifier":{
966975
"shape":"String",
967976
"documentation":"<p> An identifier for this artifact definition. </p>"
968-
}
977+
},
978+
"bucketOwnerAccess":{"shape":"BucketOwnerAccess"}
969979
},
970980
"documentation":"<p>Information about build output artifacts.</p>"
971981
},
@@ -1078,7 +1088,7 @@
10781088
},
10791089
"debugSessionEnabled":{
10801090
"shape":"WrapperBoolean",
1081-
"documentation":"<p/> <p>Specifies if session debugging is enabled for this batch build. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html\">Viewing a running build in Session Manager</a>. Batch session debugging is not supported for matrix batch builds.</p>"
1091+
"documentation":"<p>Specifies if session debugging is enabled for this batch build. For more information, see <a href=\"https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html\">Viewing a running build in Session Manager</a>. Batch session debugging is not supported for matrix batch builds.</p>"
10821092
}
10831093
},
10841094
"documentation":"<p>Contains information about a batch build.</p>"
@@ -1938,14 +1948,14 @@
19381948
"members":{
19391949
"name":{
19401950
"shape":"NonEmptyString",
1941-
"documentation":"<p> The name of this exported environment variable. </p>"
1951+
"documentation":"<p>The name of the exported environment variable.</p>"
19421952
},
19431953
"value":{
19441954
"shape":"String",
1945-
"documentation":"<p> The value assigned to this exported environment variable. </p> <note> <p> During a build, the value of a variable is available starting with the <code>install</code> phase. It can be updated between the start of the <code>install</code> phase and the end of the <code>post_build</code> phase. After the <code>post_build</code> phase ends, the value of exported variables cannot change.</p> </note>"
1955+
"documentation":"<p>The value assigned to the exported environment variable.</p>"
19461956
}
19471957
},
1948-
"documentation":"<p> Information about an exported environment variable. </p>"
1958+
"documentation":"<p>Contains information about an exported environment variable. </p> <p>Exported environment variables are used in conjunction with AWS CodePipeline to export environment variables from the current build stage to subsequent stages in the pipeline. For more information, see <a href=\"https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-variables.html\">Working with variables</a> in the <i>AWS CodePipeline User Guide</i>.</p> <note> <p> During a build, the value of a variable is available starting with the <code>install</code> phase. It can be updated between the start of the <code>install</code> phase and the end of the <code>post_build</code> phase. After the <code>post_build</code> phase ends, the value of exported variables cannot change.</p> </note>"
19491959
},
19501960
"ExportedEnvironmentVariables":{
19511961
"type":"list",
@@ -2766,7 +2776,8 @@
27662776
"artifactIdentifier":{
27672777
"shape":"String",
27682778
"documentation":"<p> An identifier for this artifact definition. </p>"
2769-
}
2779+
},
2780+
"bucketOwnerAccess":{"shape":"BucketOwnerAccess"}
27702781
},
27712782
"documentation":"<p>Information about the build output artifacts for the build project.</p>"
27722783
},
@@ -3411,7 +3422,8 @@
34113422
"encryptionDisabled":{
34123423
"shape":"WrapperBoolean",
34133424
"documentation":"<p> Set to true if you do not want your S3 build log output encrypted. By default S3 build logs are encrypted. </p>"
3414-
}
3425+
},
3426+
"bucketOwnerAccess":{"shape":"BucketOwnerAccess"}
34153427
},
34163428
"documentation":"<p> Information about S3 logs for a build project. </p>"
34173429
},

0 commit comments

Comments
 (0)