Class: Aws::SSM::Types::UpdateDocumentRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attachments ⇒ Array<Types::AttachmentsSource>

A list of key-value pairs that describe attachments to a version of a document.

Returns:



20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#cloud_providers ⇒ Array<String>

The cloud providers that the new document version can run against. Valid values include the following:

  • AWS - The document runs against Amazon Web Services resources.

  • Azure - The document runs against Microsoft Azure resources.

  • GCP - The document runs against Google Cloud resources.

If you don't specify a value, the new version uses the cloud providers of the latest version.

Returns:

  • (Array<String>)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#content ⇒ String

A valid JSON or YAML string.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#display_name ⇒ String

The friendly name of the SSM document that you want to update. This value can differ for each version of the document. If you don't specify a value for this parameter in your request, the existing value is applied to the new document version.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#document_format ⇒ String

Specify the document format for the new document version. The document format can be JSON, YAML, or TEXT. JSON is the default format.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#document_version ⇒ String

The version of the document that you want to update. Currently, Systems Manager supports updating only the latest version of the document. You can specify the version number of the latest version or use the $LATEST variable.

If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval parameter.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the SSM document that you want to update.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#target_type ⇒ String

Specify a new target type for the document.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end

#version_name ⇒ String

An optional field specifying the version of the artifact you are updating with the document. For example, 12.6. This value is unique across all versions of a document, and can't be changed.

Returns:

  • (String)


20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 20891

class UpdateDocumentRequest < Struct.new(
  :content,
  :attachments,
  :name,
  :display_name,
  :version_name,
  :document_version,
  :document_format,
  :target_type,
  :cloud_providers)
  SENSITIVE = []
  include Aws::Structure
end