You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SSM::Types::Association

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

Overview

Describes an association of a Systems Manager document and an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#association_idString

The ID created by the system when you create an association. An association is a binding between a document and a set of targets with a schedule.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#association_nameString

The association name.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#association_versionString

The association version.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#document_versionString

The version of the document used in the association.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#instance_idString

The ID of the instance.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#last_execution_dateTime

The date on which the association was last run.

Returns:

  • (Time)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#nameString

The name of the Systems Manager document.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#overviewTypes::AssociationOverview

Information about the association.



160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#schedule_expressionString

A cron expression that specifies a schedule when the association runs.

Returns:

  • (String)


160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end

#targetsArray<Types::Target>

The instances targeted by the request to create an association.

Returns:



160
161
162
163
164
165
166
167
168
169
170
171
172
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 160

class Association < Struct.new(
  :name,
  :instance_id,
  :association_id,
  :association_version,
  :document_version,
  :targets,
  :last_execution_date,
  :overview,
  :schedule_expression,
  :association_name)
  include Aws::Structure
end