interface OpsWorksInstanceStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpsWorks.Events.InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopsworks/events#InstanceEvents_OpsWorksInstanceStateChange_OpsWorksInstanceStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.opsworks.events.InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps |
Python | aws_cdk.mixins_preview.aws_opsworks.events.InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_opsworks ยป events ยป InstanceEvents ยป OpsWorksInstanceStateChange ยป OpsWorksInstanceStateChangeProps |
Props type for Instance aws.opsworks@OpsWorksInstanceStateChange 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 opsWorksInstanceStateChangeProps: opsworks_events.InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps = {
ec2InstanceId: ['ec2InstanceId'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
hostname: ['hostname'],
initiatedBy: ['initiatedBy'],
instanceId: ['instanceId'],
layerIds: ['layerIds'],
stackId: ['stackId'],
status: ['status'],
};
Properties
| Name | Type | Description |
|---|---|---|
| ec2 | string[] | ec2-instance-id property. |
| event | AWSEvent | EventBridge event metadata. |
| hostname? | string[] | hostname property. |
| initiated | string[] | initiated_by property. |
| instance | string[] | instance-id property. |
| layer | string[] | layer-ids property. |
| stack | string[] | stack-id property. |
| status? | string[] | status property. |
ec2InstanceId?
Type:
string[]
(optional, default: Do not filter on this field)
ec2-instance-id property.
Specify an array of string values to match this event if the actual value of ec2-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.
eventMetadata?
Type:
AWSEvent
(optional, default: -)
EventBridge event metadata.
hostname?
Type:
string[]
(optional, default: Do not filter on this field)
hostname property.
Specify an array of string values to match this event if the actual value of hostname is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
initiatedBy?
Type:
string[]
(optional, default: Do not filter on this field)
initiated_by property.
Specify an array of string values to match this event if the actual value of initiated_by is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.
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.
layerIds?
Type:
string[]
(optional, default: Do not filter on this field)
layer-ids property.
Specify an array of string values to match this event if the actual value of layer-ids 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.
status?
Type:
string[]
(optional, default: Do not filter on this field)
status property.
Specify an array of string values to match this event if the actual value of 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