AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Creates an SSM document.

After you create an SSM document, you can use CreateAssociation to associate it with one or more running instances.

Namespace: Amazon.SimpleSystemsManagement
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CreateDocumentResponse CreateDocument(
         String content,
         String name
)

Parameters

content
Type: System.String

A valid JSON string. For more information about the contents of this string, see SSM Document.

name
Type: System.String

A name for the SSM document.

Return Value
Type: Amazon.SimpleSystemsManagement.Model.CreateDocumentResponse
The response from the CreateDocument service method, as returned by SimpleSystemsManagement.

Exceptions

ExceptionCondition
DocumentAlreadyExistsException The specified SSM document already exists.
DocumentLimitExceededException You can have at most 100 active SSM documents.
InternalServerErrorException An error occurred on the server side.
InvalidDocumentContentException The content for the SSM document is not valid.
MaxDocumentSizeExceededException The size limit of an SSM document is 64 KB.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5