Interface ICanary
- All Superinterfaces:
ICanaryRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ICanary.Jsii$Default
- All Known Implementing Classes:
Canary,ICanary.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-04-24T20:29:38.599Z")
@Stability(Stable)
public interface ICanary
extends software.amazon.jsii.JsiiSerializable, IResource, ICanaryRef
Represents a CloudWatch Synthetics Canary.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forICanary.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the canary.The ID of the canary.The name of the canary.Methods inherited from interface software.amazon.awscdk.interfaces.synthetics.ICanaryRef
getCanaryRefMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCanaryArn
The ARN of the canary. -
getCanaryId
The ID of the canary.For imported canaries, this may be the canary name as a fallback, since the actual ID (a UUID) is not available when importing by name.
-
getCanaryName
The name of the canary.
-