Interface InstanceEvents.AWSAPICallViaCloudTrail.StateReason

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

@Stability(Experimental) public static interface InstanceEvents.AWSAPICallViaCloudTrail.StateReason extends software.amazon.jsii.JsiiSerializable
(experimental) Type definition for StateReason.

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.ec2.events.*;
 StateReason stateReason = StateReason.builder()
         .code(List.of("code"))
         .message(List.of("message"))
         .build();
 
  • Method Details

    • getCode

      @Stability(Experimental) @Nullable default List<String> getCode()
      (experimental) code property.

      Specify an array of string values to match this event if the actual value of code 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

    • 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

    • builder

      @Stability(Experimental) static InstanceEvents.AWSAPICallViaCloudTrail.StateReason.Builder builder()
      Returns:
      a InstanceEvents.AWSAPICallViaCloudTrail.StateReason.Builder of InstanceEvents.AWSAPICallViaCloudTrail.StateReason