Enum ResourceToReplicateTags
Resources that tags applied to a canary should be replicated to.
Namespace: Amazon.CDK.AWS.Synthetics
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum ResourceToReplicateTags
Syntax (vb)
Public Enum ResourceToReplicateTags
Remarks
ExampleMetadata: infused
Examples
var canary = new Canary(this, "MyCanary", new CanaryProps {
Schedule = Schedule.Rate(Duration.Minutes(5)),
Test = Test.Custom(new CustomTestOptions {
Code = Code.FromAsset(Join(__dirname, "canary")),
Handler = "index.handler"
}),
Runtime = Runtime.SYNTHETICS_NODEJS_PUPPETEER_7_0,
ResourcesToReplicateTags = new [] { ResourceToReplicateTags.LAMBDA_FUNCTION }
});
Synopsis
Fields
LAMBDA_FUNCTION | Replicate canary tags to the Lambda function. |
Fields
Name | Description |
---|---|
LAMBDA_FUNCTION | Replicate canary tags to the Lambda function. |