class EC2SpotInstanceInterruptionWarning
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EC2.Events.EC2SpotInstanceInterruptionWarning |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsec2/events#EC2SpotInstanceInterruptionWarning |
Java | software.amazon.awscdk.mixins.preview.services.ec2.events.EC2SpotInstanceInterruptionWarning |
Python | aws_cdk.mixins_preview.aws_ec2.events.EC2SpotInstanceInterruptionWarning |
TypeScript | @aws-cdk/mixins-preview » aws_ec2 » events » EC2SpotInstanceInterruptionWarning |
EventBridge event pattern for aws.ec2@EC2SpotInstanceInterruptionWarning.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { events as ec2_events } from '@aws-cdk/mixins-preview/aws-ec2';
const eC2SpotInstanceInterruptionWarning = new ec2_events.EC2SpotInstanceInterruptionWarning();
Initializer
new EC2SpotInstanceInterruptionWarning()
Methods
| Name | Description |
|---|---|
| static ec2 | EventBridge event pattern for EC2 Spot Instance Interruption Warning. |
static ec2SpotInstanceInterruptionWarningPattern(options?)
public static ec2SpotInstanceInterruptionWarningPattern(options?: EC2SpotInstanceInterruptionWarningProps): EventPattern
Parameters
Returns
EventBridge event pattern for EC2 Spot Instance Interruption Warning.

.NET
Go
Java
Python
TypeScript