Struct rusoto_ssm::CreateDocumentRequest[][src]

pub struct CreateDocumentRequest {
    pub content: String,
    pub document_format: Option<String>,
    pub document_type: Option<String>,
    pub name: String,
    pub target_type: Option<String>,
}

Fields

A valid JSON or YAML string.

Specify the document format for the request. The document format can be either JSON or YAML. JSON is the default format.

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

A name for the Systems Manager document.

Do not use the following to begin the names of documents you create. They are reserved by AWS for use as document prefixes:

  • aws

  • amazon

  • amzn

Specify a target type to define the kinds of resources the document can run on. For example, to run a document on EC2 instances, specify the following value: /AWS::EC2::Instance. If you specify a value of '/' the document can run on all types of resources. If you don't specify a value, the document can't run on any resources. For a list of valid resource types, see AWS Resource Types Reference in the AWS CloudFormation User Guide.

Trait Implementations

impl Default for CreateDocumentRequest
[src]

Returns the "default value" for a type. Read more

impl Debug for CreateDocumentRequest
[src]

Formats the value using the given formatter. Read more

impl Clone for CreateDocumentRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for CreateDocumentRequest
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations