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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/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)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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.

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.

Returns:

  • (String)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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.

This value is available only if the build project's packaging value is set to ZIP.

Returns:

  • (String)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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.

This value is available only if the build project's packaging value is set to ZIP.

Returns:

  • (String)


631
632
633
634
635
636
637
638
639
640
641
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 631

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