class Amazonite::Ssm::UpdateDocumentRequest

Included Modules

Defined in:

ssm/update_document_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(content : String, name : String, attachments : Array(AttachmentsSource) | Nil = nil, display_name : String | Nil = nil, version_name : String | Nil = nil, document_version : String | Nil = nil, document_format : DocumentFormat | Nil = nil, target_type : String | Nil = nil) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def attachments : Array(AttachmentsSource) | Nil #

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


[View source]
def attachments=(attachments : Array(AttachmentsSource) | Nil) #

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


[View source]
def content : String #

A valid JSON or YAML string.


[View source]
def content=(content : String) #

A valid JSON or YAML string.


[View source]
def display_name : String | Nil #

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.


[View source]
def display_name=(display_name : String | Nil) #

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.


[View source]
def document_format : DocumentFormat | Nil #

Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.


[View source]
def document_format=(document_format : DocumentFormat | Nil) #

Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.


[View source]
def document_version : String | Nil #

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.


[View source]
def document_version=(document_version : String | Nil) #

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.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

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


[View source]
def name=(name : String) #

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


[View source]
def target_type : String | Nil #

Specify a new target type for the document.


[View source]
def target_type=(target_type : String | Nil) #

Specify a new target type for the document.


[View source]
def validate! : Nil #

[View source]
def version_name : String | Nil #

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.


[View source]
def version_name=(version_name : String | Nil) #

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.


[View source]