Class SubscriptionArgs
Inherited Members
Namespace: Pulumi.SpotInst
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class SubscriptionArgs : ResourceArgs
Constructors
View SourceSubscriptionArgs()
Declaration
public SubscriptionArgs()
Properties
View SourceEndpoint
The endpoint the notification will be sent to. url in case of "http"/"https"/"web", email address in case of "email"/"email-json" and sns-topic-arn in case of "aws-sns".
Declaration
public Input<string> Endpoint { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EventType
The event to send the notification when triggered. Valid values: "AWS_EC2_INSTANCE_TERMINATE", "AWS_EC2_INSTANCE_TERMINATED", "AWS_EC2_INSTANCE_LAUNCH", "AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT", "AWS_EC2_CANT_SPIN_OD", "AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB", "GROUP_ROLL_FAILED", "GROUP_ROLL_FINISHED",
"CANT_SCALE_UP_GROUP_MAX_CAPACITY",
"GROUP_UPDATED",
"AWS_EMR_PROVISION_TIMEOUT",
"GROUP_BEANSTALK_INIT_READY",
"AZURE_VM_TERMINATED",
"AZURE_VM_TERMINATE",
"AWS_EC2_MANAGED_INSTANCE_PAUSING",
"AWS_EC2_MANAGED_INSTANCE_RESUMING",
"AWS_EC2_MANAGED_INSTANCE_RECYCLING","AWS_EC2_MANAGED_INSTANCE_DELETING".
Ocean Events:"CLUSTER_ROLL_FINISHED","GROUP_ROLL_FAILED".
Declaration
public Input<string> EventType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Format
The format of the notification content (JSON Format - Key+Value). Valid Values : "instance-id", "event", "resource-id", "resource-name", "subnet-id", "availability-zone", "reason", "private-ip", "launchspec-id"
Example: {"event": "event", "resourceId": "resource-id", "resourceName": "resource-name"", "myCustomKey": "My content is set here" }
Default: {"event": "<event>", "instanceId": "<instance-id>", "resourceId": "<resource-id>", "resourceName": "<resource-name>" }.
Declaration
public InputMap<object> Format { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Protocol
The protocol to send the notification. Valid values: "email", "email-json", "aws-sns", "web".
The following values are deprecated: "http" , "https"
You can use the generic "web" protocol instead.
"aws-sns" is only supported with AWS provider
Declaration
public Input<string> Protocol { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceId
Spotinst Resource id (Elastigroup or Ocean ID).
Declaration
public Input<string> ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |