View a markdown version of this page

AssetFile - AWS DevOps Agent

AssetFile

Represents a single file within an asset, including its path, content, version, and timestamps.

Contents

content

The content of this file

Type: AssetFileBody object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: Yes

createdAt

Timestamp when this file was created

Type: Timestamp

Required: Yes

path

The path of this file within the asset

Type: String

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

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

Required: Yes

updatedAt

Timestamp when this file was last updated

Type: Timestamp

Required: Yes

version

The asset version this file belongs to

Type: Integer

Required: Yes

metadata

The metadata for this file

Type: JSON value

Required: No

See Also

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