Class: Aws::CodeStarconnections::Types::ResourceSyncAttempt

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codestarconnections/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:



1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
# File 'lib/aws-sdk-codestarconnections/types.rb', line 1221

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:



1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
# File 'lib/aws-sdk-codestarconnections/types.rb', line 1221

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)


1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
# File 'lib/aws-sdk-codestarconnections/types.rb', line 1221

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)


1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
# File 'lib/aws-sdk-codestarconnections/types.rb', line 1221

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)


1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
# File 'lib/aws-sdk-codestarconnections/types.rb', line 1221

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:



1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
# File 'lib/aws-sdk-codestarconnections/types.rb', line 1221

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