amazonka-synthetics-2.0: Amazon Synthetics 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.Synthetics.Types.CanaryCodeOutput

Description

 
Synopsis

Documentation

data CanaryCodeOutput Source #

This structure contains information about the canary's Lambda handler and where its code is stored by CloudWatch Synthetics.

See: newCanaryCodeOutput smart constructor.

Constructors

CanaryCodeOutput' 

Fields

Instances

Instances details
FromJSON CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

Generic CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

Associated Types

type Rep CanaryCodeOutput :: Type -> Type #

Read CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

Show CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

NFData CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

Methods

rnf :: CanaryCodeOutput -> () #

Eq CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

Hashable CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

type Rep CanaryCodeOutput Source # 
Instance details

Defined in Amazonka.Synthetics.Types.CanaryCodeOutput

type Rep CanaryCodeOutput = D1 ('MetaData "CanaryCodeOutput" "Amazonka.Synthetics.Types.CanaryCodeOutput" "amazonka-synthetics-2.0-3I8gICXDswl2F1HDbijRHZ" 'False) (C1 ('MetaCons "CanaryCodeOutput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "handler") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourceLocationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newCanaryCodeOutput :: CanaryCodeOutput Source #

Create a value of CanaryCodeOutput 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:handler:CanaryCodeOutput', canaryCodeOutput_handler - The entry point to use for the source code when running the canary.

$sel:sourceLocationArn:CanaryCodeOutput', canaryCodeOutput_sourceLocationArn - The ARN of the Lambda layer where Synthetics stores the canary script code.

canaryCodeOutput_handler :: Lens' CanaryCodeOutput (Maybe Text) Source #

The entry point to use for the source code when running the canary.

canaryCodeOutput_sourceLocationArn :: Lens' CanaryCodeOutput (Maybe Text) Source #

The ARN of the Lambda layer where Synthetics stores the canary script code.