Interface InstanceEvents.OpsWorksAlert.OpsWorksAlertProps

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

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

    • 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

    • getMessage

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

      Default: - Do not filter on this field

    • getStackId

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

      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

      @Stability(Experimental) static InstanceEvents.OpsWorksAlert.OpsWorksAlertProps.Builder builder()
      Returns:
      a InstanceEvents.OpsWorksAlert.OpsWorksAlertProps.Builder of InstanceEvents.OpsWorksAlert.OpsWorksAlertProps