Class DocumentArgs


  • public final class DocumentArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  DocumentArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<com.pulumi.core.Output<java.util.List<DocumentAttachmentsSourceArgs>>> attachmentsSources()  
      static DocumentArgs.Builder builder()  
      static DocumentArgs.Builder builder​(DocumentArgs defaults)  
      com.pulumi.core.Output<java.lang.String> content()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> documentFormat()  
      com.pulumi.core.Output<java.lang.String> documentType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> permissions()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetType()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionName()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • attachmentsSources

        public java.util.Optional<com.pulumi.core.Output<java.util.List<DocumentAttachmentsSourceArgs>>> attachmentsSources()
        Returns:
        One or more configuration blocks describing attachments sources to a version of a document. See `attachmentsSource` block below for details.
      • content

        public com.pulumi.core.Output<java.lang.String> content()
        Returns:
        The content for the SSM document in JSON or YAML format. The content of the document must not exceed 64KB. This quota also includes the content specified for input parameters at runtime. We recommend storing the contents for your new document in an external JSON or YAML file and referencing the file in a command.
      • documentFormat

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> documentFormat()
        Returns:
        The format of the document. Valid values: `JSON`, `TEXT`, `YAML`.
      • documentType

        public com.pulumi.core.Output<java.lang.String> documentType()
        Returns:
        The type of the document. For a list of valid values, see the [API Reference](https://docs.aws.amazon.com/systems-manager/latest/APIReference/API_CreateDocument.html#systemsmanager-CreateDocument-request-DocumentType).
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        The name of the document.
      • permissions

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> permissions()
        Returns:
        Additional permissions to attach to the document. See Permissions below for details.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • tags

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> tags()
        Returns:
        A map of tags to assign to the object. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
      • targetType

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetType()
        Returns:
        The target type which defines the kinds of resources the document can run on. For example, `/AWS::EC2::Instance`. For a list of valid resource types, see [AWS resource and property types reference](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html).
      • versionName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> versionName()
        Returns:
        The version of the artifact associated with the document. For example, `12.6`. This value is unique across all versions of a document, and can't be changed.