Class: Aws::SSM::Types::AttachmentsSource

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

Overview

Note:

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

{
  key: "SourceUrl", # accepts SourceUrl, S3FileUrl
  values: ["AttachmentsSourceValue"],
  name: "AttachmentIdentifier",
}

Identifying information about a document attachment, including the file name and a key-value pair that identifies the location of an attachment to a document.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The key of a key-value pair that identifies the location of an attachment to a document.

Returns:

  • (String)


841
842
843
844
845
846
# File 'lib/aws-sdk-ssm/types.rb', line 841

class AttachmentsSource < Struct.new(
  :key,
  :values,
  :name)
  include Aws::Structure
end

#nameString

The name of the document attachment file.

Returns:

  • (String)


841
842
843
844
845
846
# File 'lib/aws-sdk-ssm/types.rb', line 841

class AttachmentsSource < Struct.new(
  :key,
  :values,
  :name)
  include Aws::Structure
end

#valuesArray<String>

The value of a key-value pair that identifies the location of an attachment to a document. The format is the URL of the location of a document attachment, such as the URL of an Amazon S3 bucket.

Returns:

  • (Array<String>)


841
842
843
844
845
846
# File 'lib/aws-sdk-ssm/types.rb', line 841

class AttachmentsSource < Struct.new(
  :key,
  :values,
  :name)
  include Aws::Structure
end