Interface InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps.Jsii$Proxy
Enclosing class:
InstanceEvents.OpsWorksCommandStateChange

@Stability(Experimental) public static interface InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.mixins.preview.services.opsworks.events.*;
 OpsWorksCommandStateChangeProps opsWorksCommandStateChangeProps = OpsWorksCommandStateChangeProps.builder()
         .commandId(List.of("commandId"))
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .instanceId(List.of("instanceId"))
         .status(List.of("status"))
         .type(List.of("type"))
         .build();
 
  • Method Details

    • getCommandId

      @Stability(Experimental) @Nullable default List<String> getCommandId()
      (experimental) 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.

      Default: - Do not filter on this field

    • getEventMetadata

      @Stability(Experimental) @Nullable default AWSEventMetadataProps getEventMetadata()
      (experimental) EventBridge event metadata.

      Default: - -

    • getInstanceId

      @Stability(Experimental) @Nullable default List<String> getInstanceId()
      (experimental) 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.

      Default: - Filter with the Instance reference

    • getStatus

      @Stability(Experimental) @Nullable default List<String> getStatus()
      (experimental) 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.

      Default: - Do not filter on this field

    • getType

      @Stability(Experimental) @Nullable default List<String> getType()
      (experimental) 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.

      Default: - Do not filter on this field

    • builder

      Returns:
      a InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps.Builder of InstanceEvents.OpsWorksCommandStateChange.OpsWorksCommandStateChangeProps