Class: Aws::CodeBuild::Types::BuildArtifacts

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codebuild/types.rb

Overview

Information about build output artifacts.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_identifierString

An identifier for this artifact definition.

Returns:

  • (String)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_owner_accessString

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.

<note markdown=“1”> 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.

</note>

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][1] in the *Amazon Simple Storage Service User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html

Returns:

  • (String)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_disabledBoolean

Information that tells you if encryption for build artifacts is disabled.

Returns:

  • (Boolean)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end

#locationString

Information about the location of the build artifacts.

Returns:

  • (String)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end

#md5sumString

The MD5 hash of the build artifact.

You can use this hash along with a checksum tool to confirm file integrity and authenticity.

<note markdown=“1”> This value is available only if the build project’s ‘packaging` value is set to `ZIP`.

</note>

Returns:

  • (String)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end

#override_artifact_nameBoolean

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.

Returns:

  • (Boolean)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end

#sha256sumString

The SHA-256 hash of the build artifact.

You can use this hash along with a checksum tool to confirm file integrity and authenticity.

<note markdown=“1”> This value is available only if the build project’s ‘packaging` value is set to `ZIP`.

</note>

Returns:

  • (String)


612
613
614
615
616
617
618
619
620
621
622
# File 'lib/aws-sdk-codebuild/types.rb', line 612

class BuildArtifacts < Struct.new(
  :location,
  :sha256sum,
  :md5sum,
  :override_artifact_name,
  :encryption_disabled,
  :artifact_identifier,
  :bucket_owner_access)
  SENSITIVE = []
  include Aws::Structure
end