Show / Hide Table of Contents

Class OceanState

Inheritance
System.Object
InputArgs
ResourceArgs
OceanState
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.Aws
Assembly: Pulumi.SpotInst.dll
Syntax
public sealed class OceanState : ResourceArgs

Constructors

View Source

OceanState()

Declaration
public OceanState()

Properties

View Source

AssociatePublicIpAddress

Configure public IP address allocation.

Declaration
public Input<bool> AssociatePublicIpAddress { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Autoscaler

Declaration
public Input<OceanAutoscalerGetArgs> Autoscaler { get; set; }
Property Value
Type Description
Input<OceanAutoscalerGetArgs>
View Source

Blacklists

Instance types not allowed in the Ocean cluster. Cannot be configured if whitelist is configured.

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

ControllerId

The ocean cluster identifier. Example: ocean.k8s

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

DesiredCapacity

The number of instances to launch and maintain in the cluster.

Declaration
public Input<int> DesiredCapacity { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

DrainingTimeout

The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.

Declaration
public Input<int> DrainingTimeout { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

EbsOptimized

Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.

Declaration
public Input<bool> EbsOptimized { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

FallbackToOndemand

If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.

Declaration
public Input<bool> FallbackToOndemand { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

GracePeriod

The amount of time, in seconds, after the instance has launched to start checking its health.

Declaration
public Input<int> GracePeriod { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

IamInstanceProfile

The instance profile iam role.

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

ImageId

ID of the image used to launch the instances.

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

KeyName

The key pair to attach the instances.

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

LoadBalancers

  • Array of load balancer objects to add to ocean cluster
Declaration
public InputList<OceanLoadBalancerGetArgs> LoadBalancers { get; set; }
Property Value
Type Description
InputList<OceanLoadBalancerGetArgs>
View Source

MaxSize

The upper limit of instances the cluster can scale up to.

Declaration
public Input<int> MaxSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MinSize

The lower limit of instances the cluster can scale down to.

Declaration
public Input<int> MinSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Monitoring

Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.

Declaration
public Input<bool> Monitoring { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Name

Required if type is set to CLASSIC

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

Region

The region the cluster will run in.

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

RootVolumeSize

The size (in Gb) to allocate for the root volume. Minimum 20.

Declaration
public Input<int> RootVolumeSize { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ScheduledTasks

Declaration
public InputList<OceanScheduledTaskGetArgs> ScheduledTasks { get; set; }
Property Value
Type Description
InputList<OceanScheduledTaskGetArgs>
View Source

SecurityGroups

One or more security group ids.

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

SpotPercentage

Declaration
public Input<double> SpotPercentage { get; set; }
Property Value
Type Description
Input<System.Double>
View Source

SubnetIds

A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.

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

Tags

Optionally adds tags to instances launched in an Ocean cluster.

Declaration
public InputList<OceanTagGetArgs> Tags { get; set; }
Property Value
Type Description
InputList<OceanTagGetArgs>
View Source

UpdatePolicy

Declaration
public Input<OceanUpdatePolicyGetArgs> UpdatePolicy { get; set; }
Property Value
Type Description
Input<OceanUpdatePolicyGetArgs>
View Source

UserData

Base64-encoded MIME user data to make available to the instances.

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

UtilizeReservedInstances

If Reserved instances exist, Ocean will utilize them before launching Spot instances.

Declaration
public Input<bool> UtilizeReservedInstances { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Whitelists

Instance types allowed in the Ocean cluster. Cannot be configured if blacklist is configured.

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