interface OpsWorksAlertProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpsWorks.Events.InstanceEvents.OpsWorksAlert.OpsWorksAlertProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopsworks/events#InstanceEvents_OpsWorksAlert_OpsWorksAlertProps |
Java | software.amazon.awscdk.mixins.preview.services.opsworks.events.InstanceEvents.OpsWorksAlert.OpsWorksAlertProps |
Python | aws_cdk.mixins_preview.aws_opsworks.events.InstanceEvents.OpsWorksAlert.OpsWorksAlertProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_opsworks ยป events ยป InstanceEvents ยป OpsWorksAlert ยป OpsWorksAlertProps |
Props type for Instance aws.opsworks@OpsWorksAlert event.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as opsworks_events } from '@aws-cdk/mixins-preview/aws-opsworks';
const opsWorksAlertProps: opsworks_events.InstanceEvents.OpsWorksAlert.OpsWorksAlertProps = {
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
instanceId: ['instanceId'],
message: ['message'],
stackId: ['stackId'],
type: ['type'],
};
Properties
| Name | Type | Description |
|---|---|---|
| event | AWSEvent | EventBridge event metadata. |
| instance | string[] | instance-id property. |
| message? | string[] | message property. |
| stack | string[] | stack-id property. |
| type? | string[] | type property. |
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
instanceId?
Type:
string[]
(optional, default: Filter with the Instance reference)
instance-id property.
Specify an array of string values to match this event if the actual value of instance-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
stackId?
Type:
string[]
(optional, default: Do not filter on this field)
stack-id property.
Specify an array of string values to match this event if the actual value of stack-id is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
type?
Type:
string[]
(optional, default: Do not filter on this field)
type property.
Specify an array of string values to match this event if the actual value of type 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