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

Class: Aws::SSM::Types::CreateAssociationBatchRequestEntry

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateAssociationBatchRequestEntry as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#association_nameString

Specify a descriptive name for the association.

Returns:

  • (String)

    Specify a descriptive name for the association.

#document_versionString

The document version.

Returns:

  • (String)

    The document version.

#instance_idString

The ID of the instance.

Returns:

  • (String)

    The ID of the instance.

#nameString

The name of the configuration document.

Returns:

  • (String)

    The name of the configuration document.

#output_locationTypes::InstanceAssociationOutputLocation

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

Returns:

#parametersHash<String,Array<String>>

A description of the parameters for a document.

Returns:

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

    A description of the parameters for a document.

#schedule_expressionString

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

Returns:

  • (String)

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

#targetsArray<Types::Target>

The instances targeted by the request.

Returns:

  • (Array<Types::Target>)

    The instances targeted by the request.