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

Class: Aws::SSM::Types::CreateDocumentRequest

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 CreateDocumentRequest data as a hash:

{
  content: "DocumentContent", # required
  name: "DocumentName", # required
  document_type: "Command", # accepts Command, Policy, Automation
}

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

A valid JSON string.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1660

class CreateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_type)
  include Aws::Structure
end

#document_typeString

The type of document to create. Valid document types include: Policy, Automation, and Command.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1660

class CreateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_type)
  include Aws::Structure
end

#nameString

A name for the Systems Manager document.

Returns:

  • (String)


1660
1661
1662
1663
1664
1665
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 1660

class CreateDocumentRequest < Struct.new(
  :content,
  :name,
  :document_type)
  include Aws::Structure
end