interface SyntheticsCanaryStatusChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Synthetics.Events.SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssynthetics/events#SyntheticsCanaryStatusChange_SyntheticsCanaryStatusChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.synthetics.events.SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps |
Python | aws_cdk.mixins_preview.aws_synthetics.events.SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_synthetics ยป events ยป SyntheticsCanaryStatusChange ยป SyntheticsCanaryStatusChangeProps |
Props type for aws.synthetics@SyntheticsCanaryStatusChange 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 syntheticsCanaryStatusChangeProps: synthetics_events.SyntheticsCanaryStatusChange.SyntheticsCanaryStatusChangeProps = {
accountId: ['accountId'],
canaryId: ['canaryId'],
canaryName: ['canaryName'],
changedConfig: {
executionArn: {
currentValue: ['currentValue'],
previousValue: ['previousValue'],
},
testCodeLayerVersionArn: {
currentValue: ['currentValue'],
previousValue: ['previousValue'],
},
},
currentState: ['currentState'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
message: ['message'],
previousState: ['previousState'],
sourceLocation: ['sourceLocation'],
updatedOn: ['updatedOn'],
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string[] | account-id property. |
| canary | string[] | canary-id property. |
| canary | string[] | canary-name property. |
| changed | Changed | changed-config property. |
| current | string[] | current-state property. |
| event | AWSEvent | EventBridge event metadata. |
| message? | string[] | message property. |
| previous | string[] | previous-state property. |
| source | string[] | source-location property. |
| updated | string[] | updated-on 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.
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.
changedConfig?
Type:
Changed
(optional, default: Do not filter on this field)
changed-config property.
Specify an array of string values to match this event if the actual value of changed-config is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
currentState?
Type:
string[]
(optional, default: Do not filter on this field)
current-state property.
Specify an array of string values to match this event if the actual value of current-state 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.
previousState?
Type:
string[]
(optional, default: Do not filter on this field)
previous-state property.
Specify an array of string values to match this event if the actual value of previous-state is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
sourceLocation?
Type:
string[]
(optional, default: Do not filter on this field)
source-location property.
Specify an array of string values to match this event if the actual value of source-location is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
updatedOn?
Type:
string[]
(optional, default: Do not filter on this field)
updated-on property.
Specify an array of string values to match this event if the actual value of updated-on 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