Class TaskArgs


  • public final class TaskArgs
    extends com.pulumi.resources.ResourceArgs
    • Field Detail

      • Empty

        public static final TaskArgs Empty
    • Method Detail

      • cloudwatchLogGroupArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> cloudwatchLogGroupArn()
        Returns:
        ARN of the CloudWatch Log Group that is used to monitor and log events in the sync task.
      • destinationLocationArn

        public com.pulumi.core.Output<java.lang.String> destinationLocationArn()
        Returns:
        ARN of destination DataSync Location.
      • excludes

        public java.util.Optional<com.pulumi.core.Output<TaskExcludesArgs>> excludes()
        Returns:
        Filter rules that determines which files to exclude from a task.
      • includes

        public java.util.Optional<com.pulumi.core.Output<TaskIncludesArgs>> includes()
        Returns:
        Filter rules that determines which files to include in a task.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the DataSync Task.
      • options

        public java.util.Optional<com.pulumi.core.Output<TaskOptionsArgs>> options()
        Returns:
        Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.
      • 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.
      • schedule

        public java.util.Optional<com.pulumi.core.Output<TaskScheduleArgs>> schedule()
        Returns:
        Specifies a schedule used to periodically transfer files from a source to a destination location.
      • sourceLocationArn

        public com.pulumi.core.Output<java.lang.String> sourceLocationArn()
        Returns:
        ARN of source DataSync Location.
      • tags

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> taskMode()
        Returns:
        One of the following task modes for your data transfer: * `BASIC` (default) - Transfer files or objects between Amazon Web Services storage and on-premises, edge, or other cloud storage. * `ENHANCED` - Transfer virtually unlimited numbers of objects with enhanced metrics, more detailed logs, and higher performance than Basic mode. Currently available for transfers between Amazon S3 locations.
      • taskReportConfig

        public java.util.Optional<com.pulumi.core.Output<TaskTaskReportConfigArgs>> taskReportConfig()
        Returns:
        Configuration block containing the configuration of a DataSync Task Report. See `taskReportConfig` below.