Interface InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps.Jsii$Proxy
- Enclosing class:
InstanceEvents.OpsWorksInstanceStateChange
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forInstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) ec2-instance-id property.default AWSEventMetadataProps(experimental) EventBridge event metadata.(experimental) hostname property.(experimental) initiated_by property.(experimental) instance-id property.(experimental) layer-ids property.(experimental) stack-id property.(experimental) status property.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
getEventMetadata
(experimental) EventBridge event metadata.Default: - -
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Filter with the Instance reference
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
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.Matchfor more advanced matching options.Default: - Do not filter on this field
-
builder
@Stability(Experimental) static InstanceEvents.OpsWorksInstanceStateChange.OpsWorksInstanceStateChangeProps.Builder builder()
-