Interface InstanceEvents.EC2SpotInstanceInterruptionWarning.IEC2SpotInstanceInterruptionWarningProps
(experimental) Props type for Instance aws.ec2@EC2SpotInstanceInterruptionWarning event.
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Events
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface InstanceEvents.EC2SpotInstanceInterruptionWarning.IEC2SpotInstanceInterruptionWarningProps
Syntax (vb)
Public Interface InstanceEvents.EC2SpotInstanceInterruptionWarning.IEC2SpotInstanceInterruptionWarningProps
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.EC2.Events;
var eC2SpotInstanceInterruptionWarningProps = new EC2SpotInstanceInterruptionWarningProps {
EventMetadata = new AWSEventMetadataProps {
Region = new [] { "region" },
Resources = new [] { "resources" },
Version = new [] { "version" }
},
InstanceAction = new [] { "instanceAction" },
InstanceId = new [] { "instanceId" }
};
Synopsis
Properties
| EventMetadata | (experimental) EventBridge event metadata. |
| InstanceAction | (experimental) instance-action property. |
| InstanceId | (experimental) instance-id property. |
Properties
EventMetadata
(experimental) EventBridge event metadata.
IAWSEventMetadataProps? EventMetadata { get; }
Property Value
Remarks
Default: - -
Stability: Experimental
InstanceAction
(experimental) instance-action property.
string[]? InstanceAction { get; }
Property Value
string[]
Remarks
Specify an array of string values to match this event if the actual value of instance-action 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
Stability: Experimental
InstanceId
(experimental) instance-id property.
string[]? InstanceId { get; }
Property Value
string[]
Remarks
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
Stability: Experimental