ResourceSyncAttempt - AWS CodeConnections

ResourceSyncAttempt

Information about a resource sync attempt.

Contents

Events

The events related to a resource sync attempt.

Type: Array of ResourceSyncEvent objects

Required: Yes

InitialRevision

The current state of the resource as defined in the resource's config-file in the linked repository.

Type: Revision object

Required: Yes

StartedAt

The start time for a resource sync attempt.

Type: Timestamp

Required: Yes

Status

The status for a resource sync attempt. The follow are valid statuses:

  • SYNC-INITIATED - A resource sync attempt has been created and will begin soon.

  • SYNCING - Syncing has started and work is being done to reconcile state.

  • SYNCED - Syncing has completed successfully.

  • SYNC_FAILED - A resource sync attempt has failed.

Type: String

Valid Values: FAILED | INITIATED | IN_PROGRESS | SUCCEEDED

Required: Yes

Target

The name of the AWS resource that is attempted to be synchronized.

Type: String

Required: Yes

TargetRevision

The desired state of the resource as defined in the resource's config-file in the linked repository. Git sync attempts to update the resource to this state.

Type: Revision object

Required: Yes

See Also

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