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
content: String
A valid JSON or YAML string.
document_format: Option<String>
Specify the document format for the request. The document format can be either JSON or YAML. JSON is the default format.
document_type: Option<String>
The type of document to create. Valid document types include: Policy, Automation, and Command.
name: String
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
target_type: Option<String>
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]
impl Default for CreateDocumentRequest
fn default() -> CreateDocumentRequest
[src]
fn default() -> CreateDocumentRequest
Returns the "default value" for a type. Read more
impl Debug for CreateDocumentRequest
[src]
impl Debug for CreateDocumentRequest
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CreateDocumentRequest
[src]
impl Clone for CreateDocumentRequest
fn clone(&self) -> CreateDocumentRequest
[src]
fn clone(&self) -> CreateDocumentRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CreateDocumentRequest
[src]
impl PartialEq for CreateDocumentRequest
fn eq(&self, other: &CreateDocumentRequest) -> bool
[src]
fn eq(&self, other: &CreateDocumentRequest) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CreateDocumentRequest) -> bool
[src]
fn ne(&self, other: &CreateDocumentRequest) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateDocumentRequest
impl Send for CreateDocumentRequest
impl Sync for CreateDocumentRequest
impl Sync for CreateDocumentRequest