Class DocumentArgs.Builder

  • Enclosing class:
    DocumentArgs

    public static final class DocumentArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • attachmentsSources

        public DocumentArgs.Builder attachmentsSources​(@Nullable
                                                       com.pulumi.core.Output<java.util.List<DocumentAttachmentsSourceArgs>> attachmentsSources)
        Parameters:
        attachmentsSources - One or more configuration blocks describing attachments sources to a version of a document. See `attachmentsSource` block below for details.
        Returns:
        builder
      • attachmentsSources

        public DocumentArgs.Builder attachmentsSources​(java.util.List<DocumentAttachmentsSourceArgs> attachmentsSources)
        Parameters:
        attachmentsSources - One or more configuration blocks describing attachments sources to a version of a document. See `attachmentsSource` block below for details.
        Returns:
        builder
      • attachmentsSources

        public DocumentArgs.Builder attachmentsSources​(DocumentAttachmentsSourceArgs... attachmentsSources)
        Parameters:
        attachmentsSources - One or more configuration blocks describing attachments sources to a version of a document. See `attachmentsSource` block below for details.
        Returns:
        builder
      • content

        public DocumentArgs.Builder content​(com.pulumi.core.Output<java.lang.String> content)
        Parameters:
        content - 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.
        Returns:
        builder
      • content

        public DocumentArgs.Builder content​(java.lang.String content)
        Parameters:
        content - 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.
        Returns:
        builder
      • documentFormat

        public DocumentArgs.Builder documentFormat​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> documentFormat)
        Parameters:
        documentFormat - The format of the document. Valid values: `JSON`, `TEXT`, `YAML`.
        Returns:
        builder
      • documentFormat

        public DocumentArgs.Builder documentFormat​(java.lang.String documentFormat)
        Parameters:
        documentFormat - The format of the document. Valid values: `JSON`, `TEXT`, `YAML`.
        Returns:
        builder
      • documentType

        public DocumentArgs.Builder documentType​(com.pulumi.core.Output<java.lang.String> documentType)
        Parameters:
        documentType - 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).
        Returns:
        builder
      • documentType

        public DocumentArgs.Builder documentType​(java.lang.String documentType)
        Parameters:
        documentType - 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).
        Returns:
        builder
      • name

        public DocumentArgs.Builder name​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name of the document.
        Returns:
        builder
      • name

        public DocumentArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name of the document.
        Returns:
        builder
      • permissions

        public DocumentArgs.Builder permissions​(@Nullable
                                                com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> permissions)
        Parameters:
        permissions - Additional permissions to attach to the document. See Permissions below for details.
        Returns:
        builder
      • permissions

        public DocumentArgs.Builder permissions​(java.util.Map<java.lang.String,​java.lang.String> permissions)
        Parameters:
        permissions - Additional permissions to attach to the document. See Permissions below for details.
        Returns:
        builder
      • region

        public DocumentArgs.Builder region​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - 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.
        Returns:
        builder
      • region

        public DocumentArgs.Builder region​(java.lang.String region)
        Parameters:
        region - 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.
        Returns:
        builder
      • tags

        public DocumentArgs.Builder tags​(@Nullable
                                         com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • tags

        public DocumentArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - 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.
        Returns:
        builder
      • targetType

        public DocumentArgs.Builder targetType​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> targetType)
        Parameters:
        targetType - 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).
        Returns:
        builder
      • targetType

        public DocumentArgs.Builder targetType​(java.lang.String targetType)
        Parameters:
        targetType - 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).
        Returns:
        builder
      • versionName

        public DocumentArgs.Builder versionName​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> versionName)
        Parameters:
        versionName - 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.
        Returns:
        builder
      • versionName

        public DocumentArgs.Builder versionName​(java.lang.String versionName)
        Parameters:
        versionName - 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.
        Returns:
        builder