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.
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)
public virtual CreateDocumentResponse CreateDocument( String content, String name )
A valid JSON string. For more information about the contents of this string, see SSM Document.
A name for the SSM document.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5