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.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. Defined below.
      • content

        public com.pulumi.core.Output<java.lang.String> content()
        Returns:
        The JSON or YAML content of the document.
      • documentFormat

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

        public com.pulumi.core.Output<java.lang.String> documentType()
        Returns:
        The type of the document. Valid document types include: `Automation`, `Command`, `Package`, `Policy`, and `Session`
      • 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.
      • 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 `default_tags` 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 Types Reference (http://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:
        A 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 cannot be changed for an existing document version.