@Stability(value=Stable) @Internal public static final class CfnDocumentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDocumentProps
CfnDocumentPropssoftware.amazon.jsii.JsiiObject.InitializationModeCfnDocumentProps.Builder, CfnDocumentProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(CfnDocumentProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
CfnDocumentProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Object |
getAttachments()
A list of key-value pairs that describe attachments to a version of a document.
|
Object |
getContent()
The content for the new SSM document in JSON or YAML.
|
String |
getDocumentFormat()
Specify the document format for the request.
|
String |
getDocumentType()
The type of document to create.
|
String |
getName()
A name for the SSM document.
|
Object |
getRequires()
A list of SSM documents required by a document.
|
List<CfnTag> |
getTags()
AWS CloudFormation resource tags to apply to the document.
|
String |
getTargetType()
Specify a target type to define the kinds of resources the document can run on.
|
String |
getUpdateMethod()
If the document resource you specify in your template already exists, this parameter determines whether a new version of the existing document is created, or the existing document is replaced.
|
String |
getVersionName()
An optional field specifying the version of the artifact you are creating with the document.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(CfnDocumentProps.Builder builder)
CfnDocumentProps.Builder.public final Object getContent()
CfnDocumentProps
This parameter also supports
Stringdata types.
getContent in interface CfnDocumentPropspublic final Object getAttachments()
CfnDocumentPropsgetAttachments in interface CfnDocumentPropspublic final String getDocumentFormat()
CfnDocumentPropsJSON is the default format.
getDocumentFormat in interface CfnDocumentPropspublic final String getDocumentType()
CfnDocumentProps
Allowed Values : ApplicationConfigurationSchema | Automation | Automation.ChangeTemplate | Command | DeploymentStrategy | Package | Policy | Session
getDocumentType in interface CfnDocumentPropspublic final String getName()
CfnDocumentProps
You can't use the following strings as document name prefixes. These are reserved by AWS for use as document name prefixes:
aws-amazonamzn
getName in interface CfnDocumentPropspublic final Object getRequires()
CfnDocumentProps
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 .
getRequires in interface CfnDocumentPropspublic final List<CfnTag> getTags()
CfnDocumentPropsUse tags to help you identify and categorize resources.
getTags in interface CfnDocumentPropspublic final String getTargetType()
CfnDocumentProps
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 .
getTargetType in interface CfnDocumentPropspublic final String getUpdateMethod()
CfnDocumentProps
Replace is the default method. If you specify NewVersion for the UpdateMethod parameter, and the Name of the document does not match an existing resource, a new document is created. When you specify NewVersion , the default version of the document is changed to the newly created version.
getUpdateMethod in interface CfnDocumentPropspublic final String getVersionName()
CfnDocumentProps
For example, Release12.1 . This value is unique across all versions of a document, and can't be changed.
getVersionName in interface CfnDocumentProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.