spotinst.ecs.Ocean
Explore with Pulumi AI
Manages a Spotinst Ocean ECS resource.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["oceanId"] = spotinst_ocean_ecs.Example.Id,
};
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("oceanId", spotinst_ocean_ecs.Example.Id)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.ecs.Ocean;
import com.pulumi.spotinst.ecs.OceanArgs;
import com.pulumi.spotinst.ecs.inputs.OceanBlockDeviceMappingArgs;
import com.pulumi.spotinst.ecs.inputs.OceanBlockDeviceMappingEbsArgs;
import com.pulumi.spotinst.ecs.inputs.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs;
import com.pulumi.spotinst.ecs.inputs.OceanClusterOrientationArgs;
import com.pulumi.spotinst.ecs.inputs.OceanInstanceMetadataOptionsArgs;
import com.pulumi.spotinst.ecs.inputs.OceanLoggingArgs;
import com.pulumi.spotinst.ecs.inputs.OceanLoggingExportArgs;
import com.pulumi.spotinst.ecs.inputs.OceanOptimizeImagesArgs;
import com.pulumi.spotinst.ecs.inputs.OceanTagArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Ocean("example", OceanArgs.builder()
.associatePublicIpAddress(false)
.blockDeviceMappings(OceanBlockDeviceMappingArgs.builder()
.deviceName("/dev/xvda1")
.ebs(OceanBlockDeviceMappingEbsArgs.builder()
.deleteOnTermination("true")
.dynamicVolumeSize(OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs.builder()
.baseSize(50)
.resource("CPU")
.sizePerResourceUnit(20)
.build())
.encrypted("false")
.throughput(500)
.volumeSize(50)
.volumeType("gp2")
.build())
.build())
.clusterName("sample-ecs-cluster")
.clusterOrientations(OceanClusterOrientationArgs.builder()
.availabilityVsCost("balanced")
.build())
.desiredCapacity("0")
.drainingTimeout(120)
.ebsOptimized(true)
.iamInstanceProfile("iam-profile")
.imageId("ami-12345")
.instanceTypes(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.instanceMetadataOptions(OceanInstanceMetadataOptionsArgs.builder()
.httpPutResponseHopLimit(10)
.httpTokens("required")
.build())
.keyPair("KeyPair")
.logging(OceanLoggingArgs.builder()
.export(OceanLoggingExportArgs.builder()
.s3(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build())
.build())
.maxSize("1")
.minSize("0")
.monitoring(true)
.optimizeImages(OceanOptimizeImagesArgs.builder()
.performAt("timeWindow")
.shouldOptimizeEcsAmi(true)
.timeWindows(
"Sun:02:00-Sun:12:00",
"Sun:05:00-Sun:16:00")
.build())
.region("us-west-2")
.securityGroupIds("sg-12345")
.spotPercentage(100)
.subnetIds("subnet-12345")
.tags(OceanTagArgs.builder()
.key("fakeKey")
.value("fakeValue")
.build())
.useAsTemplateOnly(true)
.userData("echo hello world")
.utilizeCommitments(false)
.utilizeReservedInstances(false)
.build());
}
}
import pulumi
pulumi.export("oceanId", spotinst_ocean_ecs["example"]["id"])
import * as pulumi from "@pulumi/pulumi";
export const oceanId = spotinst_ocean_ecs.example.id;
resources:
example:
type: spotinst:ecs:Ocean
properties:
associatePublicIpAddress: false
blockDeviceMappings:
- deviceName: /dev/xvda1
ebs:
deleteOnTermination: 'true'
dynamicVolumeSize:
baseSize: 50
resource: CPU
sizePerResourceUnit: 20
encrypted: 'false'
throughput: 500
volumeSize: 50
volumeType: gp2
clusterName: sample-ecs-cluster
clusterOrientations:
- availabilityVsCost: balanced
desiredCapacity: '0'
drainingTimeout: 120
ebsOptimized: true
iamInstanceProfile: iam-profile
imageId: ami-12345
instanceTypes:
- filters:
- architectures:
- x86_64
- i386
categories:
- Accelerated_computing
- Compute_optimized
diskTypes:
- EBS
- SSD
excludeFamilies:
- m*
excludeMetal: false
hypervisor:
- xen
includeFamilies:
- c*
- t*
isEnaSupported: false
maxGpu: 4
maxMemoryGib: 16
maxNetworkPerformance: 20
maxVcpu: 16
minEnis: 2
minGpu: 0
minMemoryGib: 8
minNetworkPerformance: 2
minVcpu: 2
rootDeviceTypes:
- ebs
virtualizationTypes:
- hvm
instanceMetadataOptions:
httpPutResponseHopLimit: 10
httpTokens: required
keyPair: KeyPair
logging:
export:
s3:
- id: di-abcd123
maxSize: '1'
minSize: '0'
monitoring: true
optimizeImages:
performAt: timeWindow
shouldOptimizeEcsAmi: true
timeWindows:
- Sun:02:00-Sun:12:00
- Sun:05:00-Sun:16:00
region: us-west-2
securityGroupIds:
- sg-12345
spotPercentage: 100
subnetIds:
- subnet-12345
tags:
- key: fakeKey
value: fakeValue
useAsTemplateOnly: true
userData: echo hello world
utilizeCommitments: false
utilizeReservedInstances: false
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
ctx.export("oceanId", spotinst_ocean_ecs.example().id());
}
}
Coming soon!
Coming soon!
outputs:
oceanId: ${spotinst_ocean_ecs.example.id}
Create Ocean Resource
new Ocean(name: string, args: OceanArgs, opts?: CustomResourceOptions);
@overload
def Ocean(resource_name: str,
opts: Optional[ResourceOptions] = None,
associate_public_ip_address: Optional[bool] = None,
autoscaler: Optional[OceanAutoscalerArgs] = None,
blacklists: Optional[Sequence[str]] = None,
block_device_mappings: Optional[Sequence[OceanBlockDeviceMappingArgs]] = None,
cluster_name: Optional[str] = None,
cluster_orientations: Optional[Sequence[OceanClusterOrientationArgs]] = None,
desired_capacity: Optional[int] = None,
draining_timeout: Optional[int] = None,
ebs_optimized: Optional[bool] = None,
filters: Optional[OceanFiltersArgs] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
instance_metadata_options: Optional[OceanInstanceMetadataOptionsArgs] = None,
key_pair: Optional[str] = None,
logging: Optional[OceanLoggingArgs] = None,
max_size: Optional[int] = None,
min_size: Optional[int] = None,
monitoring: Optional[bool] = None,
name: Optional[str] = None,
optimize_images: Optional[OceanOptimizeImagesArgs] = None,
region: Optional[str] = None,
scheduled_tasks: Optional[Sequence[OceanScheduledTaskArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
spot_percentage: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[OceanTagArgs]] = None,
update_policy: Optional[OceanUpdatePolicyArgs] = None,
use_as_template_only: Optional[bool] = None,
user_data: Optional[str] = None,
utilize_commitments: Optional[bool] = None,
utilize_reserved_instances: Optional[bool] = None,
whitelists: Optional[Sequence[str]] = None)
@overload
def Ocean(resource_name: str,
args: OceanArgs,
opts: Optional[ResourceOptions] = None)
func NewOcean(ctx *Context, name string, args OceanArgs, opts ...ResourceOption) (*Ocean, error)
public Ocean(string name, OceanArgs args, CustomResourceOptions? opts = null)
type: spotinst:ecs:Ocean
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Ocean Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Ocean resource accepts the following input properties:
- Cluster
Name string The name of the ECS cluster.
- Region string
The region the cluster will run in.
- Security
Group List<string>Ids One or more security group ids.
- Subnet
Ids List<string> A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- Associate
Public boolIp Address Configure public IP address allocation.
- Autoscaler
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Autoscaler Describes the Ocean ECS autoscaler.
- Blacklists List<string>
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- Block
Device List<Pulumi.Mappings Spot Inst. Ecs. Inputs. Ocean Block Device Mapping> Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Orientations List<Pulumi.Spot Inst. Ecs. Inputs. Ocean Cluster Orientation> - Desired
Capacity int The number of instances to launch and maintain in the cluster.
- Draining
Timeout int 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.
- Ebs
Optimized bool 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.
- Filters
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Filters List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- Iam
Instance stringProfile The instance profile iam role.
- Image
Id string ID of the image used to launch the instances.
- Instance
Metadata Pulumi.Options Spot Inst. Ecs. Inputs. Ocean Instance Metadata Options Ocean instance metadata options object for IMDSv2.
- Key
Pair string The key pair to attach the instances.
- Logging
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Logging Logging configuration.
- Max
Size int The upper limit of instances the cluster can scale up to.
- Min
Size int The lower limit of instances the cluster can scale down to.
- Monitoring bool
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- Name string
The Ocean cluster name.
- Optimize
Images Pulumi.Spot Inst. Ecs. Inputs. Ocean Optimize Images Object. Set auto image update settings.
- Scheduled
Tasks List<Pulumi.Spot Inst. Ecs. Inputs. Ocean Scheduled Task> While used, you can control whether the group should perform a deployment after an update to the configuration.
- Spot
Percentage int The percentage of Spot instances that would spin up from the
desired_capacity
number.- List<Pulumi.
Spot Inst. Ecs. Inputs. Ocean Tag> Optionally adds tags to instances launched in an Ocean cluster.
- Update
Policy Pulumi.Spot Inst. Ecs. Inputs. Ocean Update Policy - Use
As boolTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- User
Data string Base64-encoded MIME user data to make available to the instances.
- Utilize
Commitments bool If savings plans exist, Ocean will utilize them before launching Spot instances.
- Utilize
Reserved boolInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- Whitelists List<string>
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- Cluster
Name string The name of the ECS cluster.
- Region string
The region the cluster will run in.
- Security
Group []stringIds One or more security group ids.
- Subnet
Ids []string A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- Associate
Public boolIp Address Configure public IP address allocation.
- Autoscaler
Ocean
Autoscaler Args Describes the Ocean ECS autoscaler.
- Blacklists []string
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- Block
Device []OceanMappings Block Device Mapping Args Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Orientations []OceanCluster Orientation Args - Desired
Capacity int The number of instances to launch and maintain in the cluster.
- Draining
Timeout int 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.
- Ebs
Optimized bool 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.
- Filters
Ocean
Filters Args List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- Iam
Instance stringProfile The instance profile iam role.
- Image
Id string ID of the image used to launch the instances.
- Instance
Metadata OceanOptions Instance Metadata Options Args Ocean instance metadata options object for IMDSv2.
- Key
Pair string The key pair to attach the instances.
- Logging
Ocean
Logging Args Logging configuration.
- Max
Size int The upper limit of instances the cluster can scale up to.
- Min
Size int The lower limit of instances the cluster can scale down to.
- Monitoring bool
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- Name string
The Ocean cluster name.
- Optimize
Images OceanOptimize Images Args Object. Set auto image update settings.
- Scheduled
Tasks []OceanScheduled Task Args While used, you can control whether the group should perform a deployment after an update to the configuration.
- Spot
Percentage int The percentage of Spot instances that would spin up from the
desired_capacity
number.- []Ocean
Tag Args Optionally adds tags to instances launched in an Ocean cluster.
- Update
Policy OceanUpdate Policy Args - Use
As boolTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- User
Data string Base64-encoded MIME user data to make available to the instances.
- Utilize
Commitments bool If savings plans exist, Ocean will utilize them before launching Spot instances.
- Utilize
Reserved boolInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- Whitelists []string
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- cluster
Name String The name of the ECS cluster.
- region String
The region the cluster will run in.
- security
Group List<String>Ids One or more security group ids.
- subnet
Ids List<String> A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- associate
Public BooleanIp Address Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Describes the Ocean ECS autoscaler.
- blacklists List<String>
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block
Device List<OceanMappings Block Device Mapping> Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations List<OceanCluster Orientation> - desired
Capacity Integer The number of instances to launch and maintain in the cluster.
- draining
Timeout Integer 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.
- ebs
Optimized Boolean 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.
- filters
Ocean
Filters List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam
Instance StringProfile The instance profile iam role.
- image
Id String ID of the image used to launch the instances.
- instance
Metadata OceanOptions Instance Metadata Options Ocean instance metadata options object for IMDSv2.
- key
Pair String The key pair to attach the instances.
- logging
Ocean
Logging Logging configuration.
- max
Size Integer The upper limit of instances the cluster can scale up to.
- min
Size Integer The lower limit of instances the cluster can scale down to.
- monitoring Boolean
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name String
The Ocean cluster name.
- optimize
Images OceanOptimize Images Object. Set auto image update settings.
- scheduled
Tasks List<OceanScheduled Task> While used, you can control whether the group should perform a deployment after an update to the configuration.
- spot
Percentage Integer The percentage of Spot instances that would spin up from the
desired_capacity
number.- List<Ocean
Tag> Optionally adds tags to instances launched in an Ocean cluster.
- update
Policy OceanUpdate Policy - use
As BooleanTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user
Data String Base64-encoded MIME user data to make available to the instances.
- utilize
Commitments Boolean If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize
Reserved BooleanInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists List<String>
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- cluster
Name string The name of the ECS cluster.
- region string
The region the cluster will run in.
- security
Group string[]Ids One or more security group ids.
- subnet
Ids string[] A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- associate
Public booleanIp Address Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Describes the Ocean ECS autoscaler.
- blacklists string[]
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block
Device OceanMappings Block Device Mapping[] Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations OceanCluster Orientation[] - desired
Capacity number The number of instances to launch and maintain in the cluster.
- draining
Timeout number 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.
- ebs
Optimized boolean 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.
- filters
Ocean
Filters List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam
Instance stringProfile The instance profile iam role.
- image
Id string ID of the image used to launch the instances.
- instance
Metadata OceanOptions Instance Metadata Options Ocean instance metadata options object for IMDSv2.
- key
Pair string The key pair to attach the instances.
- logging
Ocean
Logging Logging configuration.
- max
Size number The upper limit of instances the cluster can scale up to.
- min
Size number The lower limit of instances the cluster can scale down to.
- monitoring boolean
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name string
The Ocean cluster name.
- optimize
Images OceanOptimize Images Object. Set auto image update settings.
- scheduled
Tasks OceanScheduled Task[] While used, you can control whether the group should perform a deployment after an update to the configuration.
- spot
Percentage number The percentage of Spot instances that would spin up from the
desired_capacity
number.- Ocean
Tag[] Optionally adds tags to instances launched in an Ocean cluster.
- update
Policy OceanUpdate Policy - use
As booleanTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user
Data string Base64-encoded MIME user data to make available to the instances.
- utilize
Commitments boolean If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize
Reserved booleanInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists string[]
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- cluster_
name str The name of the ECS cluster.
- region str
The region the cluster will run in.
- security_
group_ Sequence[str]ids One or more security group ids.
- subnet_
ids Sequence[str] A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- associate_
public_ boolip_ address Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Args Describes the Ocean ECS autoscaler.
- blacklists Sequence[str]
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block_
device_ Sequence[Oceanmappings Block Device Mapping Args] Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster_
orientations Sequence[OceanCluster Orientation Args] - desired_
capacity int The number of instances to launch and maintain in the cluster.
- draining_
timeout int 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.
- ebs_
optimized bool 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.
- filters
Ocean
Filters Args List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam_
instance_ strprofile The instance profile iam role.
- image_
id str ID of the image used to launch the instances.
- instance_
metadata_ Oceanoptions Instance Metadata Options Args Ocean instance metadata options object for IMDSv2.
- key_
pair str The key pair to attach the instances.
- logging
Ocean
Logging Args Logging configuration.
- max_
size int The upper limit of instances the cluster can scale up to.
- min_
size int The lower limit of instances the cluster can scale down to.
- monitoring bool
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name str
The Ocean cluster name.
- optimize_
images OceanOptimize Images Args Object. Set auto image update settings.
- scheduled_
tasks Sequence[OceanScheduled Task Args] While used, you can control whether the group should perform a deployment after an update to the configuration.
- spot_
percentage int The percentage of Spot instances that would spin up from the
desired_capacity
number.- Sequence[Ocean
Tag Args] Optionally adds tags to instances launched in an Ocean cluster.
- update_
policy OceanUpdate Policy Args - use_
as_ booltemplate_ only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user_
data str Base64-encoded MIME user data to make available to the instances.
- utilize_
commitments bool If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize_
reserved_ boolinstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists Sequence[str]
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- cluster
Name String The name of the ECS cluster.
- region String
The region the cluster will run in.
- security
Group List<String>Ids One or more security group ids.
- subnet
Ids List<String> A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- associate
Public BooleanIp Address Configure public IP address allocation.
- autoscaler Property Map
Describes the Ocean ECS autoscaler.
- blacklists List<String>
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block
Device List<Property Map>Mappings Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations List<Property Map> - desired
Capacity Number The number of instances to launch and maintain in the cluster.
- draining
Timeout Number 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.
- ebs
Optimized Boolean 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.
- filters Property Map
List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam
Instance StringProfile The instance profile iam role.
- image
Id String ID of the image used to launch the instances.
- instance
Metadata Property MapOptions Ocean instance metadata options object for IMDSv2.
- key
Pair String The key pair to attach the instances.
- logging Property Map
Logging configuration.
- max
Size Number The upper limit of instances the cluster can scale up to.
- min
Size Number The lower limit of instances the cluster can scale down to.
- monitoring Boolean
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name String
The Ocean cluster name.
- optimize
Images Property Map Object. Set auto image update settings.
- scheduled
Tasks List<Property Map> While used, you can control whether the group should perform a deployment after an update to the configuration.
- spot
Percentage Number The percentage of Spot instances that would spin up from the
desired_capacity
number.- List<Property Map>
Optionally adds tags to instances launched in an Ocean cluster.
- update
Policy Property Map - use
As BooleanTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user
Data String Base64-encoded MIME user data to make available to the instances.
- utilize
Commitments Boolean If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize
Reserved BooleanInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists List<String>
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ocean resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing Ocean Resource
Get an existing Ocean resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: OceanState, opts?: CustomResourceOptions): Ocean
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
associate_public_ip_address: Optional[bool] = None,
autoscaler: Optional[OceanAutoscalerArgs] = None,
blacklists: Optional[Sequence[str]] = None,
block_device_mappings: Optional[Sequence[OceanBlockDeviceMappingArgs]] = None,
cluster_name: Optional[str] = None,
cluster_orientations: Optional[Sequence[OceanClusterOrientationArgs]] = None,
desired_capacity: Optional[int] = None,
draining_timeout: Optional[int] = None,
ebs_optimized: Optional[bool] = None,
filters: Optional[OceanFiltersArgs] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
instance_metadata_options: Optional[OceanInstanceMetadataOptionsArgs] = None,
key_pair: Optional[str] = None,
logging: Optional[OceanLoggingArgs] = None,
max_size: Optional[int] = None,
min_size: Optional[int] = None,
monitoring: Optional[bool] = None,
name: Optional[str] = None,
optimize_images: Optional[OceanOptimizeImagesArgs] = None,
region: Optional[str] = None,
scheduled_tasks: Optional[Sequence[OceanScheduledTaskArgs]] = None,
security_group_ids: Optional[Sequence[str]] = None,
spot_percentage: Optional[int] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[OceanTagArgs]] = None,
update_policy: Optional[OceanUpdatePolicyArgs] = None,
use_as_template_only: Optional[bool] = None,
user_data: Optional[str] = None,
utilize_commitments: Optional[bool] = None,
utilize_reserved_instances: Optional[bool] = None,
whitelists: Optional[Sequence[str]] = None) -> Ocean
func GetOcean(ctx *Context, name string, id IDInput, state *OceanState, opts ...ResourceOption) (*Ocean, error)
public static Ocean Get(string name, Input<string> id, OceanState? state, CustomResourceOptions? opts = null)
public static Ocean get(String name, Output<String> id, OceanState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Associate
Public boolIp Address Configure public IP address allocation.
- Autoscaler
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Autoscaler Describes the Ocean ECS autoscaler.
- Blacklists List<string>
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- Block
Device List<Pulumi.Mappings Spot Inst. Ecs. Inputs. Ocean Block Device Mapping> Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Name string The name of the ECS cluster.
- Cluster
Orientations List<Pulumi.Spot Inst. Ecs. Inputs. Ocean Cluster Orientation> - Desired
Capacity int The number of instances to launch and maintain in the cluster.
- Draining
Timeout int 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.
- Ebs
Optimized bool 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.
- Filters
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Filters List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- Iam
Instance stringProfile The instance profile iam role.
- Image
Id string ID of the image used to launch the instances.
- Instance
Metadata Pulumi.Options Spot Inst. Ecs. Inputs. Ocean Instance Metadata Options Ocean instance metadata options object for IMDSv2.
- Key
Pair string The key pair to attach the instances.
- Logging
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Logging Logging configuration.
- Max
Size int The upper limit of instances the cluster can scale up to.
- Min
Size int The lower limit of instances the cluster can scale down to.
- Monitoring bool
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- Name string
The Ocean cluster name.
- Optimize
Images Pulumi.Spot Inst. Ecs. Inputs. Ocean Optimize Images Object. Set auto image update settings.
- Region string
The region the cluster will run in.
- Scheduled
Tasks List<Pulumi.Spot Inst. Ecs. Inputs. Ocean Scheduled Task> While used, you can control whether the group should perform a deployment after an update to the configuration.
- Security
Group List<string>Ids One or more security group ids.
- Spot
Percentage int The percentage of Spot instances that would spin up from the
desired_capacity
number.- Subnet
Ids List<string> A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- List<Pulumi.
Spot Inst. Ecs. Inputs. Ocean Tag> Optionally adds tags to instances launched in an Ocean cluster.
- Update
Policy Pulumi.Spot Inst. Ecs. Inputs. Ocean Update Policy - Use
As boolTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- User
Data string Base64-encoded MIME user data to make available to the instances.
- Utilize
Commitments bool If savings plans exist, Ocean will utilize them before launching Spot instances.
- Utilize
Reserved boolInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- Whitelists List<string>
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- Associate
Public boolIp Address Configure public IP address allocation.
- Autoscaler
Ocean
Autoscaler Args Describes the Ocean ECS autoscaler.
- Blacklists []string
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- Block
Device []OceanMappings Block Device Mapping Args Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Name string The name of the ECS cluster.
- Cluster
Orientations []OceanCluster Orientation Args - Desired
Capacity int The number of instances to launch and maintain in the cluster.
- Draining
Timeout int 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.
- Ebs
Optimized bool 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.
- Filters
Ocean
Filters Args List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- Iam
Instance stringProfile The instance profile iam role.
- Image
Id string ID of the image used to launch the instances.
- Instance
Metadata OceanOptions Instance Metadata Options Args Ocean instance metadata options object for IMDSv2.
- Key
Pair string The key pair to attach the instances.
- Logging
Ocean
Logging Args Logging configuration.
- Max
Size int The upper limit of instances the cluster can scale up to.
- Min
Size int The lower limit of instances the cluster can scale down to.
- Monitoring bool
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- Name string
The Ocean cluster name.
- Optimize
Images OceanOptimize Images Args Object. Set auto image update settings.
- Region string
The region the cluster will run in.
- Scheduled
Tasks []OceanScheduled Task Args While used, you can control whether the group should perform a deployment after an update to the configuration.
- Security
Group []stringIds One or more security group ids.
- Spot
Percentage int The percentage of Spot instances that would spin up from the
desired_capacity
number.- Subnet
Ids []string A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- []Ocean
Tag Args Optionally adds tags to instances launched in an Ocean cluster.
- Update
Policy OceanUpdate Policy Args - Use
As boolTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- User
Data string Base64-encoded MIME user data to make available to the instances.
- Utilize
Commitments bool If savings plans exist, Ocean will utilize them before launching Spot instances.
- Utilize
Reserved boolInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- Whitelists []string
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- associate
Public BooleanIp Address Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Describes the Ocean ECS autoscaler.
- blacklists List<String>
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block
Device List<OceanMappings Block Device Mapping> Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Name String The name of the ECS cluster.
- cluster
Orientations List<OceanCluster Orientation> - desired
Capacity Integer The number of instances to launch and maintain in the cluster.
- draining
Timeout Integer 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.
- ebs
Optimized Boolean 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.
- filters
Ocean
Filters List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam
Instance StringProfile The instance profile iam role.
- image
Id String ID of the image used to launch the instances.
- instance
Metadata OceanOptions Instance Metadata Options Ocean instance metadata options object for IMDSv2.
- key
Pair String The key pair to attach the instances.
- logging
Ocean
Logging Logging configuration.
- max
Size Integer The upper limit of instances the cluster can scale up to.
- min
Size Integer The lower limit of instances the cluster can scale down to.
- monitoring Boolean
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name String
The Ocean cluster name.
- optimize
Images OceanOptimize Images Object. Set auto image update settings.
- region String
The region the cluster will run in.
- scheduled
Tasks List<OceanScheduled Task> While used, you can control whether the group should perform a deployment after an update to the configuration.
- security
Group List<String>Ids One or more security group ids.
- spot
Percentage Integer The percentage of Spot instances that would spin up from the
desired_capacity
number.- subnet
Ids List<String> A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- List<Ocean
Tag> Optionally adds tags to instances launched in an Ocean cluster.
- update
Policy OceanUpdate Policy - use
As BooleanTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user
Data String Base64-encoded MIME user data to make available to the instances.
- utilize
Commitments Boolean If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize
Reserved BooleanInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists List<String>
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- associate
Public booleanIp Address Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Describes the Ocean ECS autoscaler.
- blacklists string[]
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block
Device OceanMappings Block Device Mapping[] Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Name string The name of the ECS cluster.
- cluster
Orientations OceanCluster Orientation[] - desired
Capacity number The number of instances to launch and maintain in the cluster.
- draining
Timeout number 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.
- ebs
Optimized boolean 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.
- filters
Ocean
Filters List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam
Instance stringProfile The instance profile iam role.
- image
Id string ID of the image used to launch the instances.
- instance
Metadata OceanOptions Instance Metadata Options Ocean instance metadata options object for IMDSv2.
- key
Pair string The key pair to attach the instances.
- logging
Ocean
Logging Logging configuration.
- max
Size number The upper limit of instances the cluster can scale up to.
- min
Size number The lower limit of instances the cluster can scale down to.
- monitoring boolean
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name string
The Ocean cluster name.
- optimize
Images OceanOptimize Images Object. Set auto image update settings.
- region string
The region the cluster will run in.
- scheduled
Tasks OceanScheduled Task[] While used, you can control whether the group should perform a deployment after an update to the configuration.
- security
Group string[]Ids One or more security group ids.
- spot
Percentage number The percentage of Spot instances that would spin up from the
desired_capacity
number.- subnet
Ids string[] A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- Ocean
Tag[] Optionally adds tags to instances launched in an Ocean cluster.
- update
Policy OceanUpdate Policy - use
As booleanTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user
Data string Base64-encoded MIME user data to make available to the instances.
- utilize
Commitments boolean If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize
Reserved booleanInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists string[]
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- associate_
public_ boolip_ address Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Args Describes the Ocean ECS autoscaler.
- blacklists Sequence[str]
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block_
device_ Sequence[Oceanmappings Block Device Mapping Args] Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster_
name str The name of the ECS cluster.
- cluster_
orientations Sequence[OceanCluster Orientation Args] - desired_
capacity int The number of instances to launch and maintain in the cluster.
- draining_
timeout int 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.
- ebs_
optimized bool 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.
- filters
Ocean
Filters Args List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam_
instance_ strprofile The instance profile iam role.
- image_
id str ID of the image used to launch the instances.
- instance_
metadata_ Oceanoptions Instance Metadata Options Args Ocean instance metadata options object for IMDSv2.
- key_
pair str The key pair to attach the instances.
- logging
Ocean
Logging Args Logging configuration.
- max_
size int The upper limit of instances the cluster can scale up to.
- min_
size int The lower limit of instances the cluster can scale down to.
- monitoring bool
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name str
The Ocean cluster name.
- optimize_
images OceanOptimize Images Args Object. Set auto image update settings.
- region str
The region the cluster will run in.
- scheduled_
tasks Sequence[OceanScheduled Task Args] While used, you can control whether the group should perform a deployment after an update to the configuration.
- security_
group_ Sequence[str]ids One or more security group ids.
- spot_
percentage int The percentage of Spot instances that would spin up from the
desired_capacity
number.- subnet_
ids Sequence[str] A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- Sequence[Ocean
Tag Args] Optionally adds tags to instances launched in an Ocean cluster.
- update_
policy OceanUpdate Policy Args - use_
as_ booltemplate_ only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user_
data str Base64-encoded MIME user data to make available to the instances.
- utilize_
commitments bool If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize_
reserved_ boolinstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists Sequence[str]
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
- associate
Public BooleanIp Address Configure public IP address allocation.
- autoscaler Property Map
Describes the Ocean ECS autoscaler.
- blacklists List<String>
Instance types not allowed in the Ocean cluster. Cannot be configured if
whitelist
/filters
is configured.- block
Device List<Property Map>Mappings Object. List of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Name String The name of the ECS cluster.
- cluster
Orientations List<Property Map> - desired
Capacity Number The number of instances to launch and maintain in the cluster.
- draining
Timeout Number 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.
- ebs
Optimized Boolean 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.
- filters Property Map
List of filters. The Instance types that match with all filters compose the Ocean's whitelist parameter. Cannot be configured together with
whitelist
/blacklist
.- iam
Instance StringProfile The instance profile iam role.
- image
Id String ID of the image used to launch the instances.
- instance
Metadata Property MapOptions Ocean instance metadata options object for IMDSv2.
- key
Pair String The key pair to attach the instances.
- logging Property Map
Logging configuration.
- max
Size Number The upper limit of instances the cluster can scale up to.
- min
Size Number The lower limit of instances the cluster can scale down to.
- monitoring Boolean
Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
- name String
The Ocean cluster name.
- optimize
Images Property Map Object. Set auto image update settings.
- region String
The region the cluster will run in.
- scheduled
Tasks List<Property Map> While used, you can control whether the group should perform a deployment after an update to the configuration.
- security
Group List<String>Ids One or more security group ids.
- spot
Percentage Number The percentage of Spot instances that would spin up from the
desired_capacity
number.- subnet
Ids List<String> A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public ip.
- List<Property Map>
Optionally adds tags to instances launched in an Ocean cluster.
- update
Policy Property Map - use
As BooleanTemplate Only launch specification defined on the Ocean object will function only as a template for virtual node groups.
- user
Data String Base64-encoded MIME user data to make available to the instances.
- utilize
Commitments Boolean If savings plans exist, Ocean will utilize them before launching Spot instances.
- utilize
Reserved BooleanInstances If Reserved instances exist, Ocean will utilize them before launching Spot instances.
- whitelists List<String>
Instance types allowed in the Ocean cluster. Cannot be configured if
blacklist
/filters
is configured.
Supporting Types
OceanAutoscaler, OceanAutoscalerArgs
- Auto
Headroom intPercentage The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when
isAutoConfig
= true.- Cooldown int
Cooldown period between scaling actions.
- Down
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Autoscaler Down Auto Scaling scale down operations.
- Enable
Automatic boolAnd Manual Headroom When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- Headroom
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Autoscaler Headroom Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
- Is
Auto boolConfig Automatically configure and optimize headroom resources.
- Is
Enabled bool Enable the Ocean ECS autoscaler.
- Resource
Limits Pulumi.Spot Inst. Ecs. Inputs. Ocean Autoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- Should
Scale boolDown Non Service Tasks Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
- Auto
Headroom intPercentage The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when
isAutoConfig
= true.- Cooldown int
Cooldown period between scaling actions.
- Down
Ocean
Autoscaler Down Auto Scaling scale down operations.
- Enable
Automatic boolAnd Manual Headroom When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- Headroom
Ocean
Autoscaler Headroom Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
- Is
Auto boolConfig Automatically configure and optimize headroom resources.
- Is
Enabled bool Enable the Ocean ECS autoscaler.
- Resource
Limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- Should
Scale boolDown Non Service Tasks Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
- auto
Headroom IntegerPercentage The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when
isAutoConfig
= true.- cooldown Integer
Cooldown period between scaling actions.
- down
Ocean
Autoscaler Down Auto Scaling scale down operations.
- enable
Automatic BooleanAnd Manual Headroom When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- headroom
Ocean
Autoscaler Headroom Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
- is
Auto BooleanConfig Automatically configure and optimize headroom resources.
- is
Enabled Boolean Enable the Ocean ECS autoscaler.
- resource
Limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- should
Scale BooleanDown Non Service Tasks Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
- auto
Headroom numberPercentage The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when
isAutoConfig
= true.- cooldown number
Cooldown period between scaling actions.
- down
Ocean
Autoscaler Down Auto Scaling scale down operations.
- enable
Automatic booleanAnd Manual Headroom When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- headroom
Ocean
Autoscaler Headroom Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
- is
Auto booleanConfig Automatically configure and optimize headroom resources.
- is
Enabled boolean Enable the Ocean ECS autoscaler.
- resource
Limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- should
Scale booleanDown Non Service Tasks Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
- auto_
headroom_ intpercentage The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when
isAutoConfig
= true.- cooldown int
Cooldown period between scaling actions.
- down
Ocean
Autoscaler Down Auto Scaling scale down operations.
- enable_
automatic_ booland_ manual_ headroom When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- headroom
Ocean
Autoscaler Headroom Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
- is_
auto_ boolconfig Automatically configure and optimize headroom resources.
- is_
enabled bool Enable the Ocean ECS autoscaler.
- resource_
limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- should_
scale_ booldown_ non_ service_ tasks Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
- auto
Headroom NumberPercentage The auto-headroom percentage. Set a number between 0-200 to control the headroom % of the cluster. Relevant when
isAutoConfig
= true.- cooldown Number
Cooldown period between scaling actions.
- down Property Map
Auto Scaling scale down operations.
- enable
Automatic BooleanAnd Manual Headroom When set to true, both automatic and per custom launch specification manual headroom to be saved concurrently and independently in the cluster. prerequisite: isAutoConfig must be true
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- headroom Property Map
Spare resource capacity management enabling fast assignment of tasks without waiting for new resources to launch.
- is
Auto BooleanConfig Automatically configure and optimize headroom resources.
- is
Enabled Boolean Enable the Ocean ECS autoscaler.
- resource
Limits Property Map Optionally set upper and lower bounds on the resource usage of the cluster.
- should
Scale BooleanDown Non Service Tasks Option to scale down non-service tasks. If not set, Ocean does not scale down standalone tasks.
OceanAutoscalerDown, OceanAutoscalerDownArgs
- Max
Scale doubleDown Percentage Would represent the maximum % to scale-down. Number between 1-100.
- Max
Scale float64Down Percentage Would represent the maximum % to scale-down. Number between 1-100.
- max
Scale DoubleDown Percentage Would represent the maximum % to scale-down. Number between 1-100.
- max
Scale numberDown Percentage Would represent the maximum % to scale-down. Number between 1-100.
- max_
scale_ floatdown_ percentage Would represent the maximum % to scale-down. Number between 1-100.
- max
Scale NumberDown Percentage Would represent the maximum % to scale-down. Number between 1-100.
OceanAutoscalerHeadroom, OceanAutoscalerHeadroomArgs
- Cpu
Per intUnit Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Memory
Per intUnit Optionally configure the amount of memory (MB) to allocate the headroom.
- Num
Of intUnits The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- Cpu
Per intUnit Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Memory
Per intUnit Optionally configure the amount of memory (MB) to allocate the headroom.
- Num
Of intUnits The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per IntegerUnit Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- memory
Per IntegerUnit Optionally configure the amount of memory (MB) to allocate the headroom.
- num
Of IntegerUnits The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per numberUnit Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- memory
Per numberUnit Optionally configure the amount of memory (MB) to allocate the headroom.
- num
Of numberUnits The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu_
per_ intunit Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- memory_
per_ intunit Optionally configure the amount of memory (MB) to allocate the headroom.
- num_
of_ intunits The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
- cpu
Per NumberUnit Optionally configure the number of CPUs to allocate the headroom. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- memory
Per NumberUnit Optionally configure the amount of memory (MB) to allocate the headroom.
- num
Of NumberUnits The number of units to retain as headroom, where each unit has the defined headroom CPU and memory.
OceanAutoscalerResourceLimits, OceanAutoscalerResourceLimitsArgs
- Max
Memory intGib Maximum amount of Memory (GiB).
- Max
Vcpu int Maximum number of vcpus available.
- Max
Memory intGib Maximum amount of Memory (GiB).
- Max
Vcpu int Maximum number of vcpus available.
- max
Memory IntegerGib Maximum amount of Memory (GiB).
- max
Vcpu Integer Maximum number of vcpus available.
- max
Memory numberGib Maximum amount of Memory (GiB).
- max
Vcpu number Maximum number of vcpus available.
- max_
memory_ intgib Maximum amount of Memory (GiB).
- max_
vcpu int Maximum number of vcpus available.
- max
Memory NumberGib Maximum amount of Memory (GiB).
- max
Vcpu Number Maximum number of vcpus available.
OceanBlockDeviceMapping, OceanBlockDeviceMappingArgs
- Device
Name string String. Set device name. Example:
/dev/xvda1
.- Ebs
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Block Device Mapping Ebs Object. Set Elastic Block Store properties.
- No
Device string String. Suppresses the specified device included in the block device mapping of the AMI.
- Virtual
Name string
- Device
Name string String. Set device name. Example:
/dev/xvda1
.- Ebs
Ocean
Block Device Mapping Ebs Object. Set Elastic Block Store properties.
- No
Device string String. Suppresses the specified device included in the block device mapping of the AMI.
- Virtual
Name string
- device
Name String String. Set device name. Example:
/dev/xvda1
.- ebs
Ocean
Block Device Mapping Ebs Object. Set Elastic Block Store properties.
- no
Device String String. Suppresses the specified device included in the block device mapping of the AMI.
- virtual
Name String
- device
Name string String. Set device name. Example:
/dev/xvda1
.- ebs
Ocean
Block Device Mapping Ebs Object. Set Elastic Block Store properties.
- no
Device string String. Suppresses the specified device included in the block device mapping of the AMI.
- virtual
Name string
- device_
name str String. Set device name. Example:
/dev/xvda1
.- ebs
Ocean
Block Device Mapping Ebs Object. Set Elastic Block Store properties.
- no_
device str String. Suppresses the specified device included in the block device mapping of the AMI.
- virtual_
name str
- device
Name String String. Set device name. Example:
/dev/xvda1
.- ebs Property Map
Object. Set Elastic Block Store properties.
- no
Device String String. Suppresses the specified device included in the block device mapping of the AMI.
- virtual
Name String
OceanBlockDeviceMappingEbs, OceanBlockDeviceMappingEbsArgs
- Delete
On boolTermination Boolean. Toggles EBS deletion upon instance termination.
- Dynamic
Volume Pulumi.Size Spot Inst. Ecs. Inputs. Ocean Block Device Mapping Ebs Dynamic Volume Size Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- Encrypted bool
Boolean. Enables EBS encryption on the volume.
- Iops int
Int. The number of I/O operations per second (IOPS) that the volume supports.
- Kms
Key stringId String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- Snapshot
Id string (Optional) String. The snapshot ID to mount by.
- Throughput int
The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
= gp3.- Volume
Size int Int. The size (in GB) of the volume.
- Volume
Type string String. The type of the volume. Example:
gp2
.
- Delete
On boolTermination Boolean. Toggles EBS deletion upon instance termination.
- Dynamic
Volume OceanSize Block Device Mapping Ebs Dynamic Volume Size Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- Encrypted bool
Boolean. Enables EBS encryption on the volume.
- Iops int
Int. The number of I/O operations per second (IOPS) that the volume supports.
- Kms
Key stringId String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- Snapshot
Id string (Optional) String. The snapshot ID to mount by.
- Throughput int
The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
= gp3.- Volume
Size int Int. The size (in GB) of the volume.
- Volume
Type string String. The type of the volume. Example:
gp2
.
- delete
On BooleanTermination Boolean. Toggles EBS deletion upon instance termination.
- dynamic
Volume OceanSize Block Device Mapping Ebs Dynamic Volume Size Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted Boolean
Boolean. Enables EBS encryption on the volume.
- iops Integer
Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms
Key StringId String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot
Id String (Optional) String. The snapshot ID to mount by.
- throughput Integer
The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
= gp3.- volume
Size Integer Int. The size (in GB) of the volume.
- volume
Type String String. The type of the volume. Example:
gp2
.
- delete
On booleanTermination Boolean. Toggles EBS deletion upon instance termination.
- dynamic
Volume OceanSize Block Device Mapping Ebs Dynamic Volume Size Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted boolean
Boolean. Enables EBS encryption on the volume.
- iops number
Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms
Key stringId String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot
Id string (Optional) String. The snapshot ID to mount by.
- throughput number
The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
= gp3.- volume
Size number Int. The size (in GB) of the volume.
- volume
Type string String. The type of the volume. Example:
gp2
.
- delete_
on_ booltermination Boolean. Toggles EBS deletion upon instance termination.
- dynamic_
volume_ Oceansize Block Device Mapping Ebs Dynamic Volume Size Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted bool
Boolean. Enables EBS encryption on the volume.
- iops int
Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms_
key_ strid String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot_
id str (Optional) String. The snapshot ID to mount by.
- throughput int
The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
= gp3.- volume_
size int Int. The size (in GB) of the volume.
- volume_
type str String. The type of the volume. Example:
gp2
.
- delete
On BooleanTermination Boolean. Toggles EBS deletion upon instance termination.
- dynamic
Volume Property MapSize Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted Boolean
Boolean. Enables EBS encryption on the volume.
- iops Number
Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms
Key StringId String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot
Id String (Optional) String. The snapshot ID to mount by.
- throughput Number
The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
= gp3.- volume
Size Number Int. The size (in GB) of the volume.
- volume
Type String String. The type of the volume. Example:
gp2
.
OceanBlockDeviceMappingEbsDynamicVolumeSize, OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs
- Base
Size int Int. Initial size for volume. Example:
50
.- Resource string
String. Resource type to increase volume size dynamically by. Valid values:
CPU
.- Size
Per intResource Unit Int. Additional size (in GB) per resource unit. Example: When the
baseSize=50
,sizePerResourceUnit=20
, and instance with two CPUs is launched, its total disk size will be: 90GB.
- Base
Size int Int. Initial size for volume. Example:
50
.- Resource string
String. Resource type to increase volume size dynamically by. Valid values:
CPU
.- Size
Per intResource Unit Int. Additional size (in GB) per resource unit. Example: When the
baseSize=50
,sizePerResourceUnit=20
, and instance with two CPUs is launched, its total disk size will be: 90GB.
- base
Size Integer Int. Initial size for volume. Example:
50
.- resource String
String. Resource type to increase volume size dynamically by. Valid values:
CPU
.- size
Per IntegerResource Unit Int. Additional size (in GB) per resource unit. Example: When the
baseSize=50
,sizePerResourceUnit=20
, and instance with two CPUs is launched, its total disk size will be: 90GB.
- base
Size number Int. Initial size for volume. Example:
50
.- resource string
String. Resource type to increase volume size dynamically by. Valid values:
CPU
.- size
Per numberResource Unit Int. Additional size (in GB) per resource unit. Example: When the
baseSize=50
,sizePerResourceUnit=20
, and instance with two CPUs is launched, its total disk size will be: 90GB.
- base_
size int Int. Initial size for volume. Example:
50
.- resource str
String. Resource type to increase volume size dynamically by. Valid values:
CPU
.- size_
per_ intresource_ unit Int. Additional size (in GB) per resource unit. Example: When the
baseSize=50
,sizePerResourceUnit=20
, and instance with two CPUs is launched, its total disk size will be: 90GB.
- base
Size Number Int. Initial size for volume. Example:
50
.- resource String
String. Resource type to increase volume size dynamically by. Valid values:
CPU
.- size
Per NumberResource Unit Int. Additional size (in GB) per resource unit. Example: When the
baseSize=50
,sizePerResourceUnit=20
, and instance with two CPUs is launched, its total disk size will be: 90GB.
OceanClusterOrientation, OceanClusterOrientationArgs
- Availability
Vs stringCost You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values:
costOriented
,balanced
,cheapest
.
- Availability
Vs stringCost You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values:
costOriented
,balanced
,cheapest
.
- availability
Vs StringCost You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values:
costOriented
,balanced
,cheapest
.
- availability
Vs stringCost You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values:
costOriented
,balanced
,cheapest
.
- availability_
vs_ strcost You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values:
costOriented
,balanced
,cheapest
.
- availability
Vs StringCost You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values:
costOriented
,balanced
,cheapest
.
OceanFilters, OceanFiltersArgs
- Architectures List<string>
The filtered instance types will support at least one of the architectures from this list.
- Categories List<string>
The filtered instance types will belong to one of the categories types from this list.
- Disk
Types List<string> The filtered instance types will have one of the disk type from this list.
- Exclude
Families List<string> Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- Exclude
Metal bool In case excludeMetal is set to true, metal types will not be available for scaling.
- Hypervisors List<string>
The filtered instance types will have a hypervisor type from this list.
- Include
Families List<string> Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- Is
Ena stringSupported Ena is supported or not.
- Max
Gpu int Maximum total number of GPUs.
- Max
Memory doubleGib Maximum amount of Memory (GiB).
- Max
Network intPerformance Maximum Bandwidth in Gib/s of network performance.
- Max
Vcpu int Maximum number of vcpus available.
- Min
Enis int Minimum number of network interfaces (ENIs).
- Min
Gpu int Minimum total number of GPUs.
- Min
Memory doubleGib Minimum amount of Memory (GiB).
- Min
Network intPerformance Minimum Bandwidth in Gib/s of network performance.
- Min
Vcpu int Minimum number of vcpus available.
- Root
Device List<string>Types The filtered instance types will have a root device types from this list.
- Virtualization
Types List<string> The filtered instance types will support at least one of the virtualization types from this list.
- Architectures []string
The filtered instance types will support at least one of the architectures from this list.
- Categories []string
The filtered instance types will belong to one of the categories types from this list.
- Disk
Types []string The filtered instance types will have one of the disk type from this list.
- Exclude
Families []string Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- Exclude
Metal bool In case excludeMetal is set to true, metal types will not be available for scaling.
- Hypervisors []string
The filtered instance types will have a hypervisor type from this list.
- Include
Families []string Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- Is
Ena stringSupported Ena is supported or not.
- Max
Gpu int Maximum total number of GPUs.
- Max
Memory float64Gib Maximum amount of Memory (GiB).
- Max
Network intPerformance Maximum Bandwidth in Gib/s of network performance.
- Max
Vcpu int Maximum number of vcpus available.
- Min
Enis int Minimum number of network interfaces (ENIs).
- Min
Gpu int Minimum total number of GPUs.
- Min
Memory float64Gib Minimum amount of Memory (GiB).
- Min
Network intPerformance Minimum Bandwidth in Gib/s of network performance.
- Min
Vcpu int Minimum number of vcpus available.
- Root
Device []stringTypes The filtered instance types will have a root device types from this list.
- Virtualization
Types []string The filtered instance types will support at least one of the virtualization types from this list.
- architectures List<String>
The filtered instance types will support at least one of the architectures from this list.
- categories List<String>
The filtered instance types will belong to one of the categories types from this list.
- disk
Types List<String> The filtered instance types will have one of the disk type from this list.
- exclude
Families List<String> Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude
Metal Boolean In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors List<String>
The filtered instance types will have a hypervisor type from this list.
- include
Families List<String> Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is
Ena StringSupported Ena is supported or not.
- max
Gpu Integer Maximum total number of GPUs.
- max
Memory DoubleGib Maximum amount of Memory (GiB).
- max
Network IntegerPerformance Maximum Bandwidth in Gib/s of network performance.
- max
Vcpu Integer Maximum number of vcpus available.
- min
Enis Integer Minimum number of network interfaces (ENIs).
- min
Gpu Integer Minimum total number of GPUs.
- min
Memory DoubleGib Minimum amount of Memory (GiB).
- min
Network IntegerPerformance Minimum Bandwidth in Gib/s of network performance.
- min
Vcpu Integer Minimum number of vcpus available.
- root
Device List<String>Types The filtered instance types will have a root device types from this list.
- virtualization
Types List<String> The filtered instance types will support at least one of the virtualization types from this list.
- architectures string[]
The filtered instance types will support at least one of the architectures from this list.
- categories string[]
The filtered instance types will belong to one of the categories types from this list.
- disk
Types string[] The filtered instance types will have one of the disk type from this list.
- exclude
Families string[] Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude
Metal boolean In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors string[]
The filtered instance types will have a hypervisor type from this list.
- include
Families string[] Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is
Ena stringSupported Ena is supported or not.
- max
Gpu number Maximum total number of GPUs.
- max
Memory numberGib Maximum amount of Memory (GiB).
- max
Network numberPerformance Maximum Bandwidth in Gib/s of network performance.
- max
Vcpu number Maximum number of vcpus available.
- min
Enis number Minimum number of network interfaces (ENIs).
- min
Gpu number Minimum total number of GPUs.
- min
Memory numberGib Minimum amount of Memory (GiB).
- min
Network numberPerformance Minimum Bandwidth in Gib/s of network performance.
- min
Vcpu number Minimum number of vcpus available.
- root
Device string[]Types The filtered instance types will have a root device types from this list.
- virtualization
Types string[] The filtered instance types will support at least one of the virtualization types from this list.
- architectures Sequence[str]
The filtered instance types will support at least one of the architectures from this list.
- categories Sequence[str]
The filtered instance types will belong to one of the categories types from this list.
- disk_
types Sequence[str] The filtered instance types will have one of the disk type from this list.
- exclude_
families Sequence[str] Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude_
metal bool In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors Sequence[str]
The filtered instance types will have a hypervisor type from this list.
- include_
families Sequence[str] Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is_
ena_ strsupported Ena is supported or not.
- max_
gpu int Maximum total number of GPUs.
- max_
memory_ floatgib Maximum amount of Memory (GiB).
- max_
network_ intperformance Maximum Bandwidth in Gib/s of network performance.
- max_
vcpu int Maximum number of vcpus available.
- min_
enis int Minimum number of network interfaces (ENIs).
- min_
gpu int Minimum total number of GPUs.
- min_
memory_ floatgib Minimum amount of Memory (GiB).
- min_
network_ intperformance Minimum Bandwidth in Gib/s of network performance.
- min_
vcpu int Minimum number of vcpus available.
- root_
device_ Sequence[str]types The filtered instance types will have a root device types from this list.
- virtualization_
types Sequence[str] The filtered instance types will support at least one of the virtualization types from this list.
- architectures List<String>
The filtered instance types will support at least one of the architectures from this list.
- categories List<String>
The filtered instance types will belong to one of the categories types from this list.
- disk
Types List<String> The filtered instance types will have one of the disk type from this list.
- exclude
Families List<String> Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude
Metal Boolean In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors List<String>
The filtered instance types will have a hypervisor type from this list.
- include
Families List<String> Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is
Ena StringSupported Ena is supported or not.
- max
Gpu Number Maximum total number of GPUs.
- max
Memory NumberGib Maximum amount of Memory (GiB).
- max
Network NumberPerformance Maximum Bandwidth in Gib/s of network performance.
- max
Vcpu Number Maximum number of vcpus available.
- min
Enis Number Minimum number of network interfaces (ENIs).
- min
Gpu Number Minimum total number of GPUs.
- min
Memory NumberGib Minimum amount of Memory (GiB).
- min
Network NumberPerformance Minimum Bandwidth in Gib/s of network performance.
- min
Vcpu Number Minimum number of vcpus available.
- root
Device List<String>Types The filtered instance types will have a root device types from this list.
- virtualization
Types List<String> The filtered instance types will support at least one of the virtualization types from this list.
OceanInstanceMetadataOptions, OceanInstanceMetadataOptionsArgs
- Http
Tokens string Determines if a signed token is required or not. Valid values:
optional
orrequired
.- Http
Put intResponse Hop Limit An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
- Http
Tokens string Determines if a signed token is required or not. Valid values:
optional
orrequired
.- Http
Put intResponse Hop Limit An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
- http
Tokens String Determines if a signed token is required or not. Valid values:
optional
orrequired
.- http
Put IntegerResponse Hop Limit An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
- http
Tokens string Determines if a signed token is required or not. Valid values:
optional
orrequired
.- http
Put numberResponse Hop Limit An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
- http_
tokens str Determines if a signed token is required or not. Valid values:
optional
orrequired
.- http_
put_ intresponse_ hop_ limit An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
- http
Tokens String Determines if a signed token is required or not. Valid values:
optional
orrequired
.- http
Put NumberResponse Hop Limit An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.
OceanLogging, OceanLoggingArgs
- Export
Pulumi.
Spot Inst. Ecs. Inputs. Ocean Logging Export Logging Export configuration.
- Export
Ocean
Logging Export Logging Export configuration.
- export
Ocean
Logging Export Logging Export configuration.
- export
Ocean
Logging Export Logging Export configuration.
- export
Ocean
Logging Export Logging Export configuration.
- export Property Map
Logging Export configuration.
OceanLoggingExport, OceanLoggingExportArgs
- S3s
List<Pulumi.
Spot Inst. Ecs. Inputs. Ocean Logging Export S3> Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
- S3s
[]Ocean
Logging Export S3 Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
- s3s
List<Ocean
Logging Export S3> Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
- s3s
Ocean
Logging Export S3[] Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
- s3s
Sequence[Ocean
Logging Export S3] Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
- s3s List<Property Map>
Exports your cluster's logs to the S3 bucket and subdir configured on the S3 data integration given.
OceanLoggingExportS3, OceanLoggingExportS3Args
- Id string
The identifier of The S3 data integration to export the logs to.
- Id string
The identifier of The S3 data integration to export the logs to.
- id String
The identifier of The S3 data integration to export the logs to.
- id string
The identifier of The S3 data integration to export the logs to.
- id str
The identifier of The S3 data integration to export the logs to.
- id String
The identifier of The S3 data integration to export the logs to.
OceanOptimizeImages, OceanOptimizeImagesArgs
- Perform
At string String. Valid values: "always" "never" "timeWindow".
- Should
Optimize boolEcs Ami Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
- Time
Windows List<string> Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- Perform
At string String. Valid values: "always" "never" "timeWindow".
- Should
Optimize boolEcs Ami Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
- Time
Windows []string Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- perform
At String String. Valid values: "always" "never" "timeWindow".
- should
Optimize BooleanEcs Ami Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
- time
Windows List<String> Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- perform
At string String. Valid values: "always" "never" "timeWindow".
- should
Optimize booleanEcs Ami Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
- time
Windows string[] Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- perform_
at str String. Valid values: "always" "never" "timeWindow".
- should_
optimize_ boolecs_ ami Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
- time_
windows Sequence[str] Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- perform
At String String. Valid values: "always" "never" "timeWindow".
- should
Optimize BooleanEcs Ami Boolean. Enable auto image (AMI) update for the ECS container instances. The auto update applies for ECS-Optimized AMIs.
- time
Windows List<String> Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
OceanScheduledTask, OceanScheduledTaskArgs
- Shutdown
Hours Pulumi.Spot Inst. Ecs. Inputs. Ocean Scheduled Task Shutdown Hours Set shutdown hours for cluster object.
- Tasks
List<Pulumi.
Spot Inst. Ecs. Inputs. Ocean Scheduled Task Task> The scheduling tasks for the cluster.
- Shutdown
Hours OceanScheduled Task Shutdown Hours Set shutdown hours for cluster object.
- Tasks
[]Ocean
Scheduled Task Task The scheduling tasks for the cluster.
- shutdown
Hours OceanScheduled Task Shutdown Hours Set shutdown hours for cluster object.
- tasks
List<Ocean
Scheduled Task Task> The scheduling tasks for the cluster.
- shutdown
Hours OceanScheduled Task Shutdown Hours Set shutdown hours for cluster object.
- tasks
Ocean
Scheduled Task Task[] The scheduling tasks for the cluster.
- shutdown_
hours OceanScheduled Task Shutdown Hours Set shutdown hours for cluster object.
- tasks
Sequence[Ocean
Scheduled Task Task] The scheduling tasks for the cluster.
- shutdown
Hours Property Map Set shutdown hours for cluster object.
- tasks List<Property Map>
The scheduling tasks for the cluster.
OceanScheduledTaskShutdownHours, OceanScheduledTaskShutdownHoursArgs
- Time
Windows List<string> Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- Is
Enabled bool Enable the Ocean ECS autoscaler.
- Time
Windows []string Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- Is
Enabled bool Enable the Ocean ECS autoscaler.
- time
Windows List<String> Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- is
Enabled Boolean Enable the Ocean ECS autoscaler.
- time
Windows string[] Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- is
Enabled boolean Enable the Ocean ECS autoscaler.
- time_
windows Sequence[str] Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- is_
enabled bool Enable the Ocean ECS autoscaler.
- time
Windows List<String> Array of strings. Set time windows for image update, at least one time window. Each string is in the format of ddd:hh:mm-ddd:hh:mm ddd. Time windows should not overlap.
- is
Enabled Boolean Enable the Ocean ECS autoscaler.
OceanScheduledTaskTask, OceanScheduledTaskTaskArgs
- Cron
Expression string A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of
frequency
orcronExpression
should be used at a time. Required forcluster.scheduling.tasks
object. Example:0 1 * * *
.- Is
Enabled bool Enable the Ocean ECS autoscaler.
- Task
Type string Valid values: "clusterRoll". Required for
cluster.scheduling.tasks object
. Example:clusterRoll
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- Cron
Expression string A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of
frequency
orcronExpression
should be used at a time. Required forcluster.scheduling.tasks
object. Example:0 1 * * *
.- Is
Enabled bool Enable the Ocean ECS autoscaler.
- Task
Type string Valid values: "clusterRoll". Required for
cluster.scheduling.tasks object
. Example:clusterRoll
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- cron
Expression String A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of
frequency
orcronExpression
should be used at a time. Required forcluster.scheduling.tasks
object. Example:0 1 * * *
.- is
Enabled Boolean Enable the Ocean ECS autoscaler.
- task
Type String Valid values: "clusterRoll". Required for
cluster.scheduling.tasks object
. Example:clusterRoll
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- cron
Expression string A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of
frequency
orcronExpression
should be used at a time. Required forcluster.scheduling.tasks
object. Example:0 1 * * *
.- is
Enabled boolean Enable the Ocean ECS autoscaler.
- task
Type string Valid values: "clusterRoll". Required for
cluster.scheduling.tasks object
. Example:clusterRoll
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- cron_
expression str A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of
frequency
orcronExpression
should be used at a time. Required forcluster.scheduling.tasks
object. Example:0 1 * * *
.- is_
enabled bool Enable the Ocean ECS autoscaler.
- task_
type str Valid values: "clusterRoll". Required for
cluster.scheduling.tasks object
. Example:clusterRoll
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- cron
Expression String A valid cron expression. The cron is running in UTC time zone and is in Unix cron format Cron Expression Validator Script. Only one of
frequency
orcronExpression
should be used at a time. Required forcluster.scheduling.tasks
object. Example:0 1 * * *
.- is
Enabled Boolean Enable the Ocean ECS autoscaler.
- task
Type String Valid values: "clusterRoll". Required for
cluster.scheduling.tasks object
. Example:clusterRoll
.import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
OceanTag, OceanTagArgs
OceanUpdatePolicy, OceanUpdatePolicyArgs
- Should
Roll bool Enables the roll.
- bool
will update instance tags on the fly without rolling the cluster.
- Conditioned
Roll bool Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- Roll
Config Pulumi.Spot Inst. Ecs. Inputs. Ocean Update Policy Roll Config
- Should
Roll bool Enables the roll.
- bool
will update instance tags on the fly without rolling the cluster.
- Conditioned
Roll bool Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- Roll
Config OceanUpdate Policy Roll Config
- should
Roll Boolean Enables the roll.
- Boolean
will update instance tags on the fly without rolling the cluster.
- conditioned
Roll Boolean Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll
Config OceanUpdate Policy Roll Config
- should
Roll boolean Enables the roll.
- boolean
will update instance tags on the fly without rolling the cluster.
- conditioned
Roll boolean Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll
Config OceanUpdate Policy Roll Config
- should_
roll bool Enables the roll.
- bool
will update instance tags on the fly without rolling the cluster.
- conditioned_
roll bool Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll_
config OceanUpdate Policy Roll Config
- should
Roll Boolean Enables the roll.
- Boolean
will update instance tags on the fly without rolling the cluster.
- conditioned
Roll Boolean Spot will perform a cluster Roll in accordance with a relevant modification of the cluster’s settings. When set to true , only specific changes in the cluster’s configuration will trigger a cluster roll (such as AMI, Key Pair, user data, instance types, load balancers, etc).
- roll
Config Property Map
OceanUpdatePolicyRollConfig, OceanUpdatePolicyRollConfigArgs
- Batch
Size intPercentage Sets the percentage of the instances to deploy in each batch.
- Batch
Min intHealthy Percentage Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- Batch
Size intPercentage Sets the percentage of the instances to deploy in each batch.
- Batch
Min intHealthy Percentage Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- batch
Size IntegerPercentage Sets the percentage of the instances to deploy in each batch.
- batch
Min IntegerHealthy Percentage Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- batch
Size numberPercentage Sets the percentage of the instances to deploy in each batch.
- batch
Min numberHealthy Percentage Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- batch_
size_ intpercentage Sets the percentage of the instances to deploy in each batch.
- batch_
min_ inthealthy_ percentage Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
- batch
Size NumberPercentage Sets the percentage of the instances to deploy in each batch.
- batch
Min NumberHealthy Percentage Default: 50. Indicates the threshold of minimum healthy instances in single batch. If the amount of healthy instances in single batch is under the threshold, the cluster roll will fail. If exists, the parameter value will be in range of 1-100. In case of null as value, the default value in the backend will be 50%. Value of param should represent the number in percentage (%) of the batch.
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic; using System.Linq; using Pulumi;
return await Deployment.RunAsync(() => { });
package main import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) func main() { pulumi.Run(func(ctx *pulumi.Context) error { return nil }) }
package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.io.File; import java.nio.file.Files; import java.nio.file.Paths; public class App { public static void main(String[] args) { Pulumi.run(App::stack); } public static void stack(Context ctx) { } }
{}
Import
Clusters can be imported using the Ocean id
, e.g., hcl
$ pulumi import spotinst:ecs/ocean:Ocean this o-12345678
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.