Interface InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps

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

@Stability(Experimental) public static interface InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps extends software.amazon.jsii.JsiiSerializable
(experimental) 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 software.amazon.awscdk.mixins.preview.services.opsworks.events.*;
 OpsWorksInstanceStateChangeProps opsWorksInstanceStateChangeProps = OpsWorksInstanceStateChangeProps.builder()
         .ec2InstanceId(List.of("ec2InstanceId"))
         .eventMetadata(AWSEventMetadataProps.builder()
                 .region(List.of("region"))
                 .resources(List.of("resources"))
                 .version(List.of("version"))
                 .build())
         .hostname(List.of("hostname"))
         .initiatedBy(List.of("initiatedBy"))
         .instanceId(List.of("instanceId"))
         .layerIds(List.of("layerIds"))
         .stackId(List.of("stackId"))
         .status(List.of("status"))
         .build();
 
  • Method Details

    • getEc2InstanceId

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

      Default: - Do not filter on this field

    • getEventMetadata

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

      Default: - -

    • getHostname

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

      Default: - Do not filter on this field

    • getInitiatedBy

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

      Default: - Do not filter on this field

    • 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

    • getLayerIds

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

      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

    • 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

    • builder

      Returns:
      a InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps.Builder of InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps