amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.ScheduledInstanceRecurrence

Description

 
Synopsis

Documentation

data ScheduledInstanceRecurrence Source #

Describes the recurring schedule for a Scheduled Instance.

See: newScheduledInstanceRecurrence smart constructor.

Constructors

ScheduledInstanceRecurrence' 

Fields

  • frequency :: Maybe Text

    The frequency (Daily, Weekly, or Monthly).

  • interval :: Maybe Int

    The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

  • occurrenceDaySet :: Maybe [Int]

    The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

  • occurrenceRelativeToEnd :: Maybe Bool

    Indicates whether the occurrence is relative to the end of the specified week or month.

  • occurrenceUnit :: Maybe Text

    The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

Instances

Instances details
FromXML ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

Generic ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

Associated Types

type Rep ScheduledInstanceRecurrence :: Type -> Type #

Read ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

Show ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

NFData ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

Eq ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

Hashable ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

type Rep ScheduledInstanceRecurrence Source # 
Instance details

Defined in Amazonka.EC2.Types.ScheduledInstanceRecurrence

type Rep ScheduledInstanceRecurrence = D1 ('MetaData "ScheduledInstanceRecurrence" "Amazonka.EC2.Types.ScheduledInstanceRecurrence" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ScheduledInstanceRecurrence'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "frequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "interval") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "occurrenceDaySet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Int])) :*: (S1 ('MetaSel ('Just "occurrenceRelativeToEnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "occurrenceUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newScheduledInstanceRecurrence :: ScheduledInstanceRecurrence Source #

Create a value of ScheduledInstanceRecurrence 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:frequency:ScheduledInstanceRecurrence', scheduledInstanceRecurrence_frequency - The frequency (Daily, Weekly, or Monthly).

$sel:interval:ScheduledInstanceRecurrence', scheduledInstanceRecurrence_interval - The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

$sel:occurrenceDaySet:ScheduledInstanceRecurrence', scheduledInstanceRecurrence_occurrenceDaySet - The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

$sel:occurrenceRelativeToEnd:ScheduledInstanceRecurrence', scheduledInstanceRecurrence_occurrenceRelativeToEnd - Indicates whether the occurrence is relative to the end of the specified week or month.

$sel:occurrenceUnit:ScheduledInstanceRecurrence', scheduledInstanceRecurrence_occurrenceUnit - The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).

scheduledInstanceRecurrence_interval :: Lens' ScheduledInstanceRecurrence (Maybe Int) Source #

The interval quantity. The interval unit depends on the value of frequency. For example, every 2 weeks or every 2 months.

scheduledInstanceRecurrence_occurrenceDaySet :: Lens' ScheduledInstanceRecurrence (Maybe [Int]) Source #

The days. For a monthly schedule, this is one or more days of the month (1-31). For a weekly schedule, this is one or more days of the week (1-7, where 1 is Sunday).

scheduledInstanceRecurrence_occurrenceRelativeToEnd :: Lens' ScheduledInstanceRecurrence (Maybe Bool) Source #

Indicates whether the occurrence is relative to the end of the specified week or month.

scheduledInstanceRecurrence_occurrenceUnit :: Lens' ScheduledInstanceRecurrence (Maybe Text) Source #

The unit for occurrenceDaySet (DayOfWeek or DayOfMonth).