Show / Hide Table of Contents

Class SubscriptionArgs

Inheritance
System.Object
InputArgs
ResourceArgs
SubscriptionArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.SpotInst
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class SubscriptionArgs : ResourceArgs

Constructors

View Source

SubscriptionArgs()

Declaration
public SubscriptionArgs()

Properties

View Source

Endpoint

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>
View Source

EventType

The event to send the notification when triggered. Valid values: &quot;AWS_EC2_INSTANCE_TERMINATE&quot;, &quot;AWS_EC2_INSTANCE_TERMINATED&quot;, &quot;AWS_EC2_INSTANCE_LAUNCH&quot;, &quot;AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT&quot;, &quot;AWS_EC2_CANT_SPIN_OD&quot;, &quot;AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB&quot;, &quot;GROUP_ROLL_FAILED&quot;, &quot;GROUP_ROLL_FINISHED&quot;, &quot;CANT_SCALE_UP_GROUP_MAX_CAPACITY&quot;, &quot;GROUP_UPDATED&quot;, &quot;AWS_EMR_PROVISION_TIMEOUT&quot;, &quot;GROUP_BEANSTALK_INIT_READY&quot;, &quot;AZURE_VM_TERMINATED&quot;, &quot;AZURE_VM_TERMINATE&quot;, &quot;AWS_EC2_MANAGED_INSTANCE_PAUSING&quot;, &quot;AWS_EC2_MANAGED_INSTANCE_RESUMING&quot;, &quot;AWS_EC2_MANAGED_INSTANCE_RECYCLING&quot;,&quot;AWS_EC2_MANAGED_INSTANCE_DELETING&quot;. Ocean Events:&quot;CLUSTER_ROLL_FINISHED&quot;,&quot;GROUP_ROLL_FAILED&quot;.

Declaration
public Input<string> EventType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Format

The format of the notification content (JSON Format - Key+Value). Valid Values : &quot;instance-id&quot;, &quot;event&quot;, &quot;resource-id&quot;, &quot;resource-name&quot;, &quot;subnet-id&quot;, &quot;availability-zone&quot;, &quot;reason&quot;, &quot;private-ip&quot;, &quot;launchspec-id&quot; Example: {"event": &quot;event&quot;, &quot;resourceId&quot;: &quot;resource-id&quot;, &quot;resourceName&quot;: &quot;resource-name&quot;", &quot;myCustomKey&quot;: &quot;My content is set here&quot; } Default: {&quot;event&quot;: &quot;&lt;event>&quot;, &quot;instanceId&quot;: &quot;&lt;instance-id>&quot;, &quot;resourceId&quot;: &quot;&lt;resource-id>&quot;, &quot;resourceName&quot;: &quot;&lt;resource-name>&quot; }.

Declaration
public InputMap<object> Format { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Protocol

The protocol to send the notification. Valid values: &quot;email&quot;, &quot;email-json&quot;, &quot;aws-sns&quot;, &quot;web&quot;. The following values are deprecated: &quot;http&quot; , &quot;https&quot; You can use the generic &quot;web&quot; protocol instead. &quot;aws-sns&quot; is only supported with AWS provider

Declaration
public Input<string> Protocol { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResourceId

Spotinst Resource id (Elastigroup or Ocean ID).

Declaration
public Input<string> ResourceId { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.