Interface CfnDocumentProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnDocumentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.97.0 (build 729de35)", date="2024-04-24T21:00:37.783Z") @Stability(Stable) public interface CfnDocumentProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnDocument.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ssm.*;
 Object content;
 CfnDocumentProps cfnDocumentProps = CfnDocumentProps.builder()
         .content(content)
         // the properties below are optional
         .attachments(List.of(AttachmentsSourceProperty.builder()
                 .key("key")
                 .name("name")
                 .values(List.of("values"))
                 .build()))
         .documentFormat("documentFormat")
         .documentType("documentType")
         .name("name")
         .requires(List.of(DocumentRequiresProperty.builder()
                 .name("name")
                 .version("version")
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .targetType("targetType")
         .updateMethod("updateMethod")
         .versionName("versionName")
         .build();
 

See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnDocumentProps
    static final class 
    An implementation for CfnDocumentProps
  • Method Summary

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

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson