You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Synthetics::Types::Canary

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

This structure contains all information about one canary in your account.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#artifact_s3_location ⇒ String

The location in Amazon S3 where Synthetics stores artifacts from the runs of this canary. Artifacts include the log file, screenshots, and HAR files.

Returns:

  • (String) —

    The location in Amazon S3 where Synthetics stores artifacts from the runs of this canary.

#code ⇒ Types::CanaryCodeOutput

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

Returns:

  • (Types::CanaryCodeOutput) —

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

    .

#engine_arn ⇒ String

The ARN of the Lambda function that is used as your canary\'s engine. For more information about Lambda ARN format, see Resources and Conditions for Lambda Actions.

Returns:

  • (String) —

    The ARN of the Lambda function that is used as your canary\'s engine.

#execution_role_arn ⇒ String

The ARN of the IAM role used to run the canary. This role must include lambda.amazonaws.com as a principal in the trust policy.

Returns:

  • (String) —

    The ARN of the IAM role used to run the canary.

#failure_retention_period_in_days ⇒ Integer

The number of days to retain data about failed runs of this canary.

Returns:

  • (Integer) —

    The number of days to retain data about failed runs of this canary.

#id ⇒ String

The unique ID of this canary.

Returns:

  • (String) —

    The unique ID of this canary.

#name ⇒ String

The name of the canary.

Returns:

  • (String) —

    The name of the canary.

#run_config ⇒ Types::CanaryRunConfigOutput

A structure that contains information about a canary run.

Returns:

#runtime_version ⇒ String

Specifies the runtime version to use for the canary. For more information about runtime versions, see Canary Runtime Versions.

Returns:

  • (String) —

    Specifies the runtime version to use for the canary.

#schedule ⇒ Types::CanaryScheduleOutput

A structure that contains information about how often the canary is to run, and when these runs are to stop.

Returns:

  • (Types::CanaryScheduleOutput) —

    A structure that contains information about how often the canary is to run, and when these runs are to stop.

#status ⇒ Types::CanaryStatus

A structure that contains information about the canary\'s status.

Returns:

#success_retention_period_in_days ⇒ Integer

The number of days to retain data about successful runs of this canary.

Returns:

  • (Integer) —

    The number of days to retain data about successful runs of this canary.

#tags ⇒ Hash<String,String>

The list of key-value pairs that are associated with the canary.

Returns:

  • (Hash<String,String>) —

    The list of key-value pairs that are associated with the canary.

#timeline ⇒ Types::CanaryTimeline

A structure that contains information about when the canary was created, modified, and most recently run.

Returns:

  • (Types::CanaryTimeline) —

    A structure that contains information about when the canary was created, modified, and most recently run.

#vpc_config ⇒ Types::VpcConfigOutput

If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint. For more information, see Running a Canary in a VPC.

Returns:

  • (Types::VpcConfigOutput) —

    If this canary is to test an endpoint in a VPC, this structure contains information about the subnets and security groups of the VPC endpoint.