interface OpsWorksCommandStateChangeProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.OpsWorks.Events.InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsopsworks/events#InstanceEvents_OpsWorksCommandStateChange_OpsWorksCommandStateChangeProps |
Java | software.amazon.awscdk.mixins.preview.services.opsworks.events.InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps |
Python | aws_cdk.mixins_preview.aws_opsworks.events.InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps |
TypeScript | @aws-cdk/mixins-preview ยป aws_opsworks ยป events ยป InstanceEvents ยป OpsWorksCommandStateChange ยป OpsWorksCommandStateChangeProps |
Props type for Instance aws.opsworks@OpsWorksCommandStateChange 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 opsWorksCommandStateChangeProps: opsworks_events.InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps = {
commandId: ['commandId'],
eventMetadata: {
region: ['region'],
resources: ['resources'],
version: ['version'],
},
instanceId: ['instanceId'],
status: ['status'],
type: ['type'],
};
Properties
| Name | Type | Description |
|---|---|---|
| command | string[] | command-id property. |
| event | AWSEvent | EventBridge event metadata. |
| instance | string[] | instance-id property. |
| status? | string[] | status property. |
| type? | string[] | type property. |
commandId?
Type:
string[]
(optional, default: Do not filter on this field)
command-id property.
Specify an array of string values to match this event if the actual value of command-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.
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.
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.
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