@Stability(value=Stable) public static final class CfnDocumentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnDocumentProps>
CfnDocumentProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDocumentProps.Builder content(Object content)
CfnDocumentProps.getContent()content - The content for the new SSM document in JSON or YAML. This parameter is required.
This parameter also supports
Stringdata types.
this@Stability(value=Stable) public CfnDocumentProps.Builder attachments(IResolvable attachments)
CfnDocumentProps.getAttachments()attachments - A list of key-value pairs that describe attachments to a version of a document.this@Stability(value=Stable) public CfnDocumentProps.Builder attachments(List<? extends Object> attachments)
CfnDocumentProps.getAttachments()attachments - A list of key-value pairs that describe attachments to a version of a document.this@Stability(value=Stable) public CfnDocumentProps.Builder documentFormat(String documentFormat)
CfnDocumentProps.getDocumentFormat()documentFormat - Specify the document format for the request.
JSON is the default format.this@Stability(value=Stable) public CfnDocumentProps.Builder documentType(String documentType)
CfnDocumentProps.getDocumentType()documentType - The type of document to create.
Allowed Values : ApplicationConfigurationSchema | Automation | Automation.ChangeTemplate | Command | DeploymentStrategy | Package | Policy | Sessionthis@Stability(value=Stable) public CfnDocumentProps.Builder name(String name)
CfnDocumentProps.getName()name - A name for the SSM document.
You can't use the following strings as document name prefixes. These are reserved by AWS for use as document name prefixes:
aws-amazonamzn
this@Stability(value=Stable) public CfnDocumentProps.Builder requires(IResolvable requires)
CfnDocumentProps.getRequires()requires - A list of SSM documents required by a document.
This parameter is used exclusively by AWS AppConfig . When a user creates an AWS AppConfig configuration in an SSM document, the user must also specify a required document for validation purposes. In this case, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document for validation purposes. For more information, see What is AWS AppConfig ? in the AWS AppConfig User Guide .this@Stability(value=Stable) public CfnDocumentProps.Builder requires(List<? extends Object> requires)
CfnDocumentProps.getRequires()requires - A list of SSM documents required by a document.
This parameter is used exclusively by AWS AppConfig . When a user creates an AWS AppConfig configuration in an SSM document, the user must also specify a required document for validation purposes. In this case, an ApplicationConfiguration document requires an ApplicationConfigurationSchema document for validation purposes. For more information, see What is AWS AppConfig ? in the AWS AppConfig User Guide .this@Stability(value=Stable) public CfnDocumentProps.Builder tags(List<? extends CfnTag> tags)
CfnDocumentProps.getTags()tags - AWS CloudFormation resource tags to apply to the document.
Use tags to help you identify and categorize resources.this@Stability(value=Stable) public CfnDocumentProps.Builder targetType(String targetType)
CfnDocumentProps.getTargetType()targetType - 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 and property types reference in the AWS CloudFormation User Guide .this@Stability(value=Stable) public CfnDocumentProps.Builder updateMethod(String updateMethod)
CfnDocumentProps.getUpdateMethod()updateMethod - `AWS::SSM::Document.UpdateMethod`.this@Stability(value=Stable) public CfnDocumentProps.Builder versionName(String versionName)
CfnDocumentProps.getVersionName()versionName - An optional field specifying the version of the artifact you are creating with the document.
For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.this@Stability(value=Stable) public CfnDocumentProps build()
build in interface software.amazon.jsii.Builder<CfnDocumentProps>CfnDocumentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.