interface SyntheticsCanaryTestRunFailureProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Synthetics.Events.SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssynthetics/events#SyntheticsCanaryTestRunFailure_SyntheticsCanaryTestRunFailureProps |
Java | software.amazon.awscdk.mixins.preview.services.synthetics.events.SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps |
Python | aws_cdk.mixins_preview.aws_synthetics.events.SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_synthetics ยป events ยป SyntheticsCanaryTestRunFailure ยป SyntheticsCanaryTestRunFailureProps |
Props type for aws.synthetics@SyntheticsCanaryTestRunFailure event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as synthetics_events } from '@aws-cdk/mixins-preview/aws-synthetics';
const syntheticsCanaryTestRunFailureProps: synthetics_events.SyntheticsCanaryTestRunFailure.SyntheticsCanaryTestRunFailureProps = {
accountId: ['accountId'],
artifactLocation: ['artifactLocation'],
canaryId: ['canaryId'],
canaryName: ['canaryName'],
canaryRunId: ['canaryRunId'],
canaryRunTimeline: {
completed: ['completed'],
started: ['started'],
},
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
message: ['message'],
stateReason: ['stateReason'],
testRunStatus: ['testRunStatus'],
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string[] | account-id property. |
| artifact | string[] | artifact-location property. |
| canary | string[] | canary-id property. |
| canary | string[] | canary-name property. |
| canary | string[] | canary-run-id property. |
| canary | Canary | canary-run-timeline property. |
| event | AWSEvent | EventBridge event metadata. |
| message? | string[] | message property. |
| state | string[] | state-reason property. |
| test | string[] | test-run-status property. |
accountId?
Type:
string[]
(optional, default: Do not filter on this field)
account-id property.
Specify an array of string values to match this event if the actual value of account-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
artifactLocation?
Type:
string[]
(optional, default: Do not filter on this field)
artifact-location property.
Specify an array of string values to match this event if the actual value of artifact-location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
canaryId?
Type:
string[]
(optional, default: Do not filter on this field)
canary-id property.
Specify an array of string values to match this event if the actual value of canary-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
canaryName?
Type:
string[]
(optional, default: Do not filter on this field)
canary-name property.
Specify an array of string values to match this event if the actual value of canary-name is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
canaryRunId?
Type:
string[]
(optional, default: Do not filter on this field)
canary-run-id property.
Specify an array of string values to match this event if the actual value of canary-run-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
canaryRunTimeline?
Type:
Canary
(optional, default: Do not filter on this field)
canary-run-timeline property.
Specify an array of string values to match this event if the actual value of canary-run-timeline is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
message?
Type:
string[]
(optional, default: Do not filter on this field)
message property.
Specify an array of string values to match this event if the actual value of message is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
stateReason?
Type:
string[]
(optional, default: Do not filter on this field)
state-reason property.
Specify an array of string values to match this event if the actual value of state-reason is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
testRunStatus?
Type:
string[]
(optional, default: Do not filter on this field)
test-run-status property.
Specify an array of string values to match this event if the actual value of test-run-status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

.NET
Go
Java
Python
TypeScript