Class CfnDocumentProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ssm.CfnDocumentProps.Jsii$Proxy
All Implemented Interfaces:
CfnDocumentProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
CfnDocumentProps

@Stability(Stable) @Internal public static final class CfnDocumentProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnDocumentProps
An implementation for CfnDocumentProps
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode

    Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ssm.CfnDocumentProps

    CfnDocumentProps.Builder, CfnDocumentProps.Jsii$Proxy
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
     
    final boolean
     
    final Object
    A list of key-value pairs that describe attachments to a version of a document.
    final Object
    The content for the new SSM document in JSON or YAML.
    final String
    Specify the document format for the request.
    final String
    The type of document to create.
    final String
    A name for the SSM document.
    final Object
    A list of SSM documents required by a document.
    final List<CfnTag>
    AWS CloudFormation resource tags to apply to the document.
    final String
    Specify a target type to define the kinds of resources the document can run on.
    final String
    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.
    final String
    An optional field specifying the version of the artifact you are creating with the document.
    final int
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(CfnDocumentProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnDocumentProps.Builder.
  • Method Details

    • getContent

      public final Object getContent()
      Description copied from interface: CfnDocumentProps
      The content for the new SSM document in JSON or YAML.

      For more information about the schemas for SSM document content, see SSM document schema features and examples in the AWS Systems Manager User Guide .

      This parameter also supports String data types.

      Specified by:
      getContent in interface CfnDocumentProps
    • getAttachments

      public final Object getAttachments()
      Description copied from interface: CfnDocumentProps
      A list of key-value pairs that describe attachments to a version of a document.
      Specified by:
      getAttachments in interface CfnDocumentProps
    • getDocumentFormat

      public final String getDocumentFormat()
      Description copied from interface: CfnDocumentProps
      Specify the document format for the request.

      JSON is the default format.

      Specified by:
      getDocumentFormat in interface CfnDocumentProps
    • getDocumentType

      public final String getDocumentType()
      Description copied from interface: CfnDocumentProps
      The type of document to create.

      Allowed Values : ApplicationConfigurationSchema | Automation | Automation.ChangeTemplate | Command | DeploymentStrategy | Package | Policy | Session

      Specified by:
      getDocumentType in interface CfnDocumentProps
    • getName

      public final String getName()
      Description copied from interface: CfnDocumentProps
      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
      • amazon
      • amzn

      Specified by:
      getName in interface CfnDocumentProps
    • getRequires

      public final Object getRequires()
      Description copied from interface: CfnDocumentProps
      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 .

      Specified by:
      getRequires in interface CfnDocumentProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnDocumentProps
      AWS CloudFormation resource tags to apply to the document.

      Use tags to help you identify and categorize resources.

      Specified by:
      getTags in interface CfnDocumentProps
    • getTargetType

      public final String getTargetType()
      Description copied from interface: CfnDocumentProps
      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 .

      Specified by:
      getTargetType in interface CfnDocumentProps
    • getUpdateMethod

      public final String getUpdateMethod()
      Description copied from interface: CfnDocumentProps
      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.

      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.

      Specified by:
      getUpdateMethod in interface CfnDocumentProps
    • getVersionName

      public final String getVersionName()
      Description copied from interface: CfnDocumentProps
      An optional field specifying the version of the artifact you are creating with the document.

      For example, Release12.1 . This value is unique across all versions of a document, and can't be changed.

      Specified by:
      getVersionName in interface CfnDocumentProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object