View a markdown version of this page

PatchBody - AWS Continuum for Code Vulnerabilities

PatchBody

Projected content for a PATCH artifact: the remediation patch for one repository, with the descriptors needed to verify and apply it and the state of its delivery to the customer's own bucket or repository.

Contents

patch

The patch.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 5242880.

Required: Yes

patchSha256

The patch Sha256.

Type: String

Length Constraints: Fixed length of 64.

Pattern: [0-9a-f]{64}

Required: Yes

sizeBytes

The size Bytes.

Type: Long

Required: Yes

delivery

Delivery of a patch to a destination the customer owns: an object in the environment's source bucket or a pull request in the source repository.

Type: PatchDelivery object

Required: No

format

The format.

Type: String

Valid Values: GIT_MAILBOX_PATCH | GIT_BINARY_DIFF | GIT_DIFF

Required: No

repositoryName

The repository Name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Pattern: [a-zA-Z0-9_-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: