Class: Aws::CodeConnections::Types::ResourceSyncAttempt

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb

Overview

Information about a resource sync attempt.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<Types::ResourceSyncEvent>

The events related to a resource sync attempt.

Returns:



1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 1227

class ResourceSyncAttempt < Struct.new(
  :events,
  :initial_revision,
  :started_at,
  :status,
  :target_revision,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#initial_revisionTypes::Revision

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

Returns:



1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 1227

class ResourceSyncAttempt < Struct.new(
  :events,
  :initial_revision,
  :started_at,
  :status,
  :target_revision,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#started_atTime

The start time for a resource sync attempt.

Returns:

  • (Time)


1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 1227

class ResourceSyncAttempt < Struct.new(
  :events,
  :initial_revision,
  :started_at,
  :status,
  :target_revision,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

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.

Returns:

  • (String)


1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 1227

class ResourceSyncAttempt < Struct.new(
  :events,
  :initial_revision,
  :started_at,
  :status,
  :target_revision,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

The name of the Amazon Web Services resource that is attempted to be synchronized.

Returns:

  • (String)


1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 1227

class ResourceSyncAttempt < Struct.new(
  :events,
  :initial_revision,
  :started_at,
  :status,
  :target_revision,
  :target)
  SENSITIVE = []
  include Aws::Structure
end

#target_revisionTypes::Revision

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.

Returns:



1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb', line 1227

class ResourceSyncAttempt < Struct.new(
  :events,
  :initial_revision,
  :started_at,
  :status,
  :target_revision,
  :target)
  SENSITIVE = []
  include Aws::Structure
end