libZSservicesZSamazonka-datasyncZSamazonka-datasync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DataSync.Types.TaskSchedule

Description

 
Synopsis

Documentation

data TaskSchedule Source #

Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.

See: newTaskSchedule smart constructor.

Constructors

TaskSchedule' 

Fields

  • scheduleExpression :: Text

    A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.

Instances

Instances details
Eq TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

Read TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

Show TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

Generic TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

Associated Types

type Rep TaskSchedule :: Type -> Type #

NFData TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

Methods

rnf :: TaskSchedule -> () #

Hashable TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

ToJSON TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

FromJSON TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

type Rep TaskSchedule Source # 
Instance details

Defined in Amazonka.DataSync.Types.TaskSchedule

type Rep TaskSchedule = D1 ('MetaData "TaskSchedule" "Amazonka.DataSync.Types.TaskSchedule" "libZSservicesZSamazonka-datasyncZSamazonka-datasync" 'False) (C1 ('MetaCons "TaskSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scheduleExpression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTaskSchedule Source #

Create a value of TaskSchedule with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:scheduleExpression:TaskSchedule', taskSchedule_scheduleExpression - A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.

taskSchedule_scheduleExpression :: Lens' TaskSchedule Text Source #

A cron expression that specifies when DataSync initiates a scheduled transfer from a source to a destination location.