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

Class: Aws::SSM::Types::UpdateAssociationRequest

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

Overview

Note:

When making an API call, you may pass UpdateAssociationRequest data as a hash:

{
  association_id: "AssociationId", # required
  parameters: {
    "ParameterName" => ["ParameterValue"],
  },
  document_version: "DocumentVersion",
  schedule_expression: "ScheduleExpression",
  output_location: {
    s3_location: {
      output_s3_region: "S3Region",
      output_s3_bucket_name: "S3BucketName",
      output_s3_key_prefix: "S3KeyPrefix",
    },
  },
  name: "DocumentName",
  targets: [
    {
      key: "TargetKey",
      values: ["TargetValue"],
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#association_idString

The ID of the association you want to update.

Returns:

  • (String)


8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end

#document_versionString

The document version you want update for the association.

Returns:

  • (String)


8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end

#nameString

The name of the association document.

Returns:

  • (String)


8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end

#output_locationTypes::InstanceAssociationOutputLocation

An Amazon S3 bucket where you want to store the results of this request.



8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end

#parametersHash<String,Array<String>>

The parameters you want to update for the association. If you create a parameter using Parameter Store, you can reference the parameter using {\{ssm:parameter-name\}\}

Returns:

  • (Hash<String,Array<String>>)


8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end

#schedule_expressionString

The cron expression used to schedule the association that you want to update.

Returns:

  • (String)


8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end

#targetsArray<Types::Target>

The targets of the association.

Returns:



8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 8983

class UpdateAssociationRequest < Struct.new(
  :association_id,
  :parameters,
  :document_version,
  :schedule_expression,
  :output_location,
  :name,
  :targets)
  include Aws::Structure
end