Struct aws_sdk_codebuild::model::BuildArtifacts
source · [−]#[non_exhaustive]pub struct BuildArtifacts { /* private fields */ }
Expand description
Information about build output artifacts.
Implementations
sourceimpl BuildArtifacts
impl BuildArtifacts
sourcepub fn sha256sum(&self) -> Option<&str>
pub fn sha256sum(&self) -> Option<&str>
The SHA-256 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's packaging
value is set to ZIP
.
sourcepub fn md5sum(&self) -> Option<&str>
pub fn md5sum(&self) -> Option<&str>
The MD5 hash of the build artifact.
You can use this hash along with a checksum tool to confirm file integrity and authenticity.
This value is available only if the build project's packaging
value is set to ZIP
.
sourcepub fn override_artifact_name(&self) -> Option<bool>
pub fn override_artifact_name(&self) -> Option<bool>
If this flag is set, a name specified in the buildspec file overrides the artifact name. The name specified in a buildspec file is calculated at build time and uses the Shell Command Language. For example, you can append a date and time to your artifact name so that it is always unique.
sourcepub fn encryption_disabled(&self) -> Option<bool>
pub fn encryption_disabled(&self) -> Option<bool>
Information that tells you if encryption for build artifacts is disabled.
sourcepub fn artifact_identifier(&self) -> Option<&str>
pub fn artifact_identifier(&self) -> Option<&str>
An identifier for this artifact definition.
sourcepub fn bucket_owner_access(&self) -> Option<&BucketOwnerAccess>
pub fn bucket_owner_access(&self) -> Option<&BucketOwnerAccess>
Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. 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.
To use this property, your CodeBuild service role must have the s3:PutBucketAcl
permission. This permission allows CodeBuild to modify the access control list for the bucket.
This property can be one of the following values:
- NONE
-
The bucket owner does not have access to the objects. This is the default.
- READ_ONLY
-
The bucket owner has read-only access to the objects. The uploading account retains ownership of the objects.
- FULL
-
The bucket owner has full access to the objects. Object ownership is determined by the following criteria:
-
If the bucket is configured with the Bucket owner preferred setting, the bucket owner owns the objects. The uploading account will have object access as specified by the bucket's policy.
-
Otherwise, the uploading account retains ownership of the objects.
For more information about Amazon S3 object ownership, see Controlling ownership of uploaded objects using S3 Object Ownership in the Amazon Simple Storage Service User Guide.
-
sourceimpl BuildArtifacts
impl BuildArtifacts
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture BuildArtifacts
.
Trait Implementations
sourceimpl Clone for BuildArtifacts
impl Clone for BuildArtifacts
sourcefn clone(&self) -> BuildArtifacts
fn clone(&self) -> BuildArtifacts
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more