amazonka-cloudwatch-events-2.0: Amazon EventBridge 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.CloudWatchEvents.Types.Primary

Description

 
Synopsis

Documentation

data Primary Source #

The primary Region of the endpoint.

See: newPrimary smart constructor.

Constructors

Primary' 

Fields

  • healthCheck :: Text

    The ARN of the health check used by the endpoint to determine whether failover is triggered.

Instances

Instances details
FromJSON Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

ToJSON Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

Generic Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

Associated Types

type Rep Primary :: Type -> Type #

Methods

from :: Primary -> Rep Primary x #

to :: Rep Primary x -> Primary #

Read Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

Show Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

NFData Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

Methods

rnf :: Primary -> () #

Eq Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

Methods

(==) :: Primary -> Primary -> Bool #

(/=) :: Primary -> Primary -> Bool #

Hashable Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

Methods

hashWithSalt :: Int -> Primary -> Int #

hash :: Primary -> Int #

type Rep Primary Source # 
Instance details

Defined in Amazonka.CloudWatchEvents.Types.Primary

type Rep Primary = D1 ('MetaData "Primary" "Amazonka.CloudWatchEvents.Types.Primary" "amazonka-cloudwatch-events-2.0-GJzRBos1CnlE3BT39axMc5" 'False) (C1 ('MetaCons "Primary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "healthCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newPrimary Source #

Create a value of Primary 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:healthCheck:Primary', primary_healthCheck - The ARN of the health check used by the endpoint to determine whether failover is triggered.

primary_healthCheck :: Lens' Primary Text Source #

The ARN of the health check used by the endpoint to determine whether failover is triggered.