Class: Aws::Synthetics::Types::CanaryCodeOutput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#blueprint_typesArray<String>

BlueprintTypes is a list of templates that enable simplified canary creation. You can create canaries for common monitoring scenarios by providing only a JSON configuration file instead of writing custom scripts. The only supported value is multi-checks.

Multi-checks monitors HTTP/DNS/SSL/TCP endpoints with built-in authentication schemes (Basic, API Key, OAuth, SigV4) and assertion capabilities. When you specify BlueprintTypes, the Handler field cannot be specified since the blueprint provides a pre-defined entry point.

BlueprintTypes is supported only on canaries for syn-nodejs-3.0 runtime or later.

Returns:

  • (Array<String>)


493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 493

class CanaryCodeOutput < Struct.new(
  :source_location_arn,
  :handler,
  :blueprint_types,
  :dependencies)
  SENSITIVE = []
  include Aws::Structure
end

#dependenciesArray<Types::Dependency>

A list of dependencies that are used for running this canary. The dependencies are specified as a key-value pair, where the key is the type of dependency and the value is the dependency reference.

Returns:



493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 493

class CanaryCodeOutput < Struct.new(
  :source_location_arn,
  :handler,
  :blueprint_types,
  :dependencies)
  SENSITIVE = []
  include Aws::Structure
end

#handlerString

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

This field is required when you don't specify BlueprintTypes and is not allowed when you specify BlueprintTypes.

Returns:

  • (String)


493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 493

class CanaryCodeOutput < Struct.new(
  :source_location_arn,
  :handler,
  :blueprint_types,
  :dependencies)
  SENSITIVE = []
  include Aws::Structure
end

#source_location_arnString

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

Returns:

  • (String)


493
494
495
496
497
498
499
500
# File 'gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb', line 493

class CanaryCodeOutput < Struct.new(
  :source_location_arn,
  :handler,
  :blueprint_types,
  :dependencies)
  SENSITIVE = []
  include Aws::Structure
end