Struct aws_sdk_codebuild::model::BuildArtifacts [−][src]
#[non_exhaustive]pub struct BuildArtifacts {
pub location: Option<String>,
pub sha256sum: Option<String>,
pub md5sum: Option<String>,
pub override_artifact_name: Option<bool>,
pub encryption_disabled: Option<bool>,
pub artifact_identifier: Option<String>,
pub bucket_owner_access: Option<BucketOwnerAccess>,
}
Expand description
Information about build output artifacts.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.location: Option<String>
Information about the location of the build artifacts.
sha256sum: Option<String>
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
.
md5sum: Option<String>
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
.
override_artifact_name: 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.
encryption_disabled: Option<bool>
Information that tells you if encryption for build artifacts is disabled.
artifact_identifier: Option<String>
An identifier for this artifact definition.
bucket_owner_access: 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.
-
Implementations
Creates a new builder-style object to manufacture BuildArtifacts
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BuildArtifacts
impl Send for BuildArtifacts
impl Sync for BuildArtifacts
impl Unpin for BuildArtifacts
impl UnwindSafe for BuildArtifacts
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more