spotinst.aws.Ocean
Explore with Pulumi AI
Example Usage
Create Ocean Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Ocean(name: string, args: OceanArgs, opts?: CustomResourceOptions);
@overload
def Ocean(resource_name: str,
args: OceanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Ocean(resource_name: str,
opts: Optional[ResourceOptions] = None,
security_groups: Optional[Sequence[str]] = None,
subnet_ids: Optional[Sequence[str]] = None,
load_balancers: Optional[Sequence[OceanLoadBalancerArgs]] = None,
utilize_reserved_instances: Optional[bool] = None,
block_device_mappings: Optional[Sequence[OceanBlockDeviceMappingArgs]] = None,
max_size: Optional[int] = None,
controller_id: Optional[str] = None,
desired_capacity: Optional[int] = None,
draining_timeout: Optional[int] = None,
ebs_optimized: Optional[bool] = None,
fallback_to_ondemand: Optional[bool] = None,
filters: Optional[OceanFiltersArgs] = None,
grace_period: Optional[int] = None,
health_check_unhealthy_duration_before_replacement: Optional[int] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
instance_metadata_options: Optional[OceanInstanceMetadataOptionsArgs] = None,
key_name: Optional[str] = None,
associate_ipv6_address: Optional[bool] = None,
logging: Optional[OceanLoggingArgs] = None,
cluster_orientations: Optional[Sequence[OceanClusterOrientationArgs]] = None,
blacklists: Optional[Sequence[str]] = None,
name: Optional[str] = None,
monitoring: Optional[bool] = None,
region: Optional[str] = None,
resource_tag_specifications: Optional[Sequence[OceanResourceTagSpecificationArgs]] = None,
root_volume_size: Optional[int] = None,
scheduled_tasks: Optional[Sequence[OceanScheduledTaskArgs]] = None,
autoscaler: Optional[OceanAutoscalerArgs] = None,
spot_percentage: Optional[int] = None,
spread_nodes_by: Optional[str] = None,
associate_public_ip_address: Optional[bool] = 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,
min_size: Optional[int] = None,
whitelists: Optional[Sequence[str]] = None)
func NewOcean(ctx *Context, name string, args OceanArgs, opts ...ResourceOption) (*Ocean, error)
public Ocean(string name, OceanArgs args, CustomResourceOptions? opts = null)
type: spotinst:aws:Ocean
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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.
Example
The following reference example uses placeholder values for all input properties.
var oceanResource = new SpotInst.Aws.Ocean("oceanResource", new()
{
SecurityGroups = new[]
{
"string",
},
SubnetIds = new[]
{
"string",
},
LoadBalancers = new[]
{
new SpotInst.Aws.Inputs.OceanLoadBalancerArgs
{
Arn = "string",
Name = "string",
Type = "string",
},
},
UtilizeReservedInstances = false,
BlockDeviceMappings = new[]
{
new SpotInst.Aws.Inputs.OceanBlockDeviceMappingArgs
{
DeviceName = "string",
Ebs = new SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbsArgs
{
DeleteOnTermination = false,
DynamicIops = new SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbsDynamicIopsArgs
{
BaseSize = 0,
Resource = "string",
SizePerResourceUnit = 0,
},
DynamicVolumeSize = new SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs
{
BaseSize = 0,
Resource = "string",
SizePerResourceUnit = 0,
},
Encrypted = false,
Iops = 0,
KmsKeyId = "string",
SnapshotId = "string",
Throughput = 0,
VolumeSize = 0,
VolumeType = "string",
},
},
},
MaxSize = 0,
ControllerId = "string",
DesiredCapacity = 0,
DrainingTimeout = 0,
EbsOptimized = false,
FallbackToOndemand = false,
Filters = new SpotInst.Aws.Inputs.OceanFiltersArgs
{
Architectures = new[]
{
"string",
},
Categories = new[]
{
"string",
},
DiskTypes = new[]
{
"string",
},
ExcludeFamilies = new[]
{
"string",
},
ExcludeMetal = false,
Hypervisors = new[]
{
"string",
},
IncludeFamilies = new[]
{
"string",
},
IsEnaSupported = "string",
MaxGpu = 0,
MaxMemoryGib = 0,
MaxNetworkPerformance = 0,
MaxVcpu = 0,
MinEnis = 0,
MinGpu = 0,
MinMemoryGib = 0,
MinNetworkPerformance = 0,
MinVcpu = 0,
RootDeviceTypes = new[]
{
"string",
},
VirtualizationTypes = new[]
{
"string",
},
},
GracePeriod = 0,
HealthCheckUnhealthyDurationBeforeReplacement = 0,
IamInstanceProfile = "string",
ImageId = "string",
InstanceMetadataOptions = new SpotInst.Aws.Inputs.OceanInstanceMetadataOptionsArgs
{
HttpTokens = "string",
HttpPutResponseHopLimit = 0,
},
KeyName = "string",
AssociateIpv6Address = false,
Logging = new SpotInst.Aws.Inputs.OceanLoggingArgs
{
Export = new SpotInst.Aws.Inputs.OceanLoggingExportArgs
{
S3s = new[]
{
new SpotInst.Aws.Inputs.OceanLoggingExportS3Args
{
Id = "string",
},
},
},
},
ClusterOrientations = new[]
{
new SpotInst.Aws.Inputs.OceanClusterOrientationArgs
{
AvailabilityVsCost = "string",
},
},
Blacklists = new[]
{
"string",
},
Name = "string",
Monitoring = false,
Region = "string",
ResourceTagSpecifications = new[]
{
new SpotInst.Aws.Inputs.OceanResourceTagSpecificationArgs
{
ShouldTagVolumes = false,
},
},
RootVolumeSize = 0,
ScheduledTasks = new[]
{
new SpotInst.Aws.Inputs.OceanScheduledTaskArgs
{
ShutdownHours = new SpotInst.Aws.Inputs.OceanScheduledTaskShutdownHoursArgs
{
TimeWindows = new[]
{
"string",
},
IsEnabled = false,
},
Tasks = new[]
{
new SpotInst.Aws.Inputs.OceanScheduledTaskTaskArgs
{
CronExpression = "string",
IsEnabled = false,
TaskType = "string",
Parameters = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersArgs
{
AmiAutoUpdate = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersAmiAutoUpdateArgs
{
AmiAutoUpdateClusterRoll = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
RespectPdb = false,
},
ApplyRoll = false,
MinorVersion = false,
Patch = false,
},
ParametersClusterRoll = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersParametersClusterRollArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
RespectPdb = false,
},
},
},
},
},
},
Autoscaler = new SpotInst.Aws.Inputs.OceanAutoscalerArgs
{
AutoHeadroomPercentage = 0,
AutoscaleCooldown = 0,
AutoscaleDown = new SpotInst.Aws.Inputs.OceanAutoscalerAutoscaleDownArgs
{
EvaluationPeriods = 0,
IsAggressiveScaleDownEnabled = false,
MaxScaleDownPercentage = 0,
},
AutoscaleHeadroom = new SpotInst.Aws.Inputs.OceanAutoscalerAutoscaleHeadroomArgs
{
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
NumOfUnits = 0,
},
AutoscaleIsAutoConfig = false,
AutoscaleIsEnabled = false,
EnableAutomaticAndManualHeadroom = false,
ExtendedResourceDefinitions = new[]
{
"string",
},
ResourceLimits = new SpotInst.Aws.Inputs.OceanAutoscalerResourceLimitsArgs
{
MaxMemoryGib = 0,
MaxVcpu = 0,
},
},
SpotPercentage = 0,
SpreadNodesBy = "string",
AssociatePublicIpAddress = false,
Tags = new[]
{
new SpotInst.Aws.Inputs.OceanTagArgs
{
Key = "string",
Value = "string",
},
},
UpdatePolicy = new SpotInst.Aws.Inputs.OceanUpdatePolicyArgs
{
ShouldRoll = false,
AutoApplyTags = false,
ConditionedRoll = false,
ConditionedRollParams = new[]
{
"string",
},
RollConfig = new SpotInst.Aws.Inputs.OceanUpdatePolicyRollConfigArgs
{
BatchSizePercentage = 0,
BatchMinHealthyPercentage = 0,
LaunchSpecIds = new[]
{
"string",
},
RespectPdb = false,
},
},
UseAsTemplateOnly = false,
UserData = "string",
UtilizeCommitments = false,
MinSize = 0,
Whitelists = new[]
{
"string",
},
});
example, err := aws.NewOcean(ctx, "oceanResource", &aws.OceanArgs{
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
LoadBalancers: aws.OceanLoadBalancerArray{
&aws.OceanLoadBalancerArgs{
Arn: pulumi.String("string"),
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
UtilizeReservedInstances: pulumi.Bool(false),
BlockDeviceMappings: aws.OceanBlockDeviceMappingArray{
&aws.OceanBlockDeviceMappingArgs{
DeviceName: pulumi.String("string"),
Ebs: &aws.OceanBlockDeviceMappingEbsArgs{
DeleteOnTermination: pulumi.Bool(false),
DynamicIops: &aws.OceanBlockDeviceMappingEbsDynamicIopsArgs{
BaseSize: pulumi.Int(0),
Resource: pulumi.String("string"),
SizePerResourceUnit: pulumi.Int(0),
},
DynamicVolumeSize: &aws.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs{
BaseSize: pulumi.Int(0),
Resource: pulumi.String("string"),
SizePerResourceUnit: pulumi.Int(0),
},
Encrypted: pulumi.Bool(false),
Iops: pulumi.Int(0),
KmsKeyId: pulumi.String("string"),
SnapshotId: pulumi.String("string"),
Throughput: pulumi.Int(0),
VolumeSize: pulumi.Int(0),
VolumeType: pulumi.String("string"),
},
},
},
MaxSize: pulumi.Int(0),
ControllerId: pulumi.String("string"),
DesiredCapacity: pulumi.Int(0),
DrainingTimeout: pulumi.Int(0),
EbsOptimized: pulumi.Bool(false),
FallbackToOndemand: pulumi.Bool(false),
Filters: &aws.OceanFiltersArgs{
Architectures: pulumi.StringArray{
pulumi.String("string"),
},
Categories: pulumi.StringArray{
pulumi.String("string"),
},
DiskTypes: pulumi.StringArray{
pulumi.String("string"),
},
ExcludeFamilies: pulumi.StringArray{
pulumi.String("string"),
},
ExcludeMetal: pulumi.Bool(false),
Hypervisors: pulumi.StringArray{
pulumi.String("string"),
},
IncludeFamilies: pulumi.StringArray{
pulumi.String("string"),
},
IsEnaSupported: pulumi.String("string"),
MaxGpu: pulumi.Int(0),
MaxMemoryGib: pulumi.Float64(0),
MaxNetworkPerformance: pulumi.Int(0),
MaxVcpu: pulumi.Int(0),
MinEnis: pulumi.Int(0),
MinGpu: pulumi.Int(0),
MinMemoryGib: pulumi.Float64(0),
MinNetworkPerformance: pulumi.Int(0),
MinVcpu: pulumi.Int(0),
RootDeviceTypes: pulumi.StringArray{
pulumi.String("string"),
},
VirtualizationTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
GracePeriod: pulumi.Int(0),
HealthCheckUnhealthyDurationBeforeReplacement: pulumi.Int(0),
IamInstanceProfile: pulumi.String("string"),
ImageId: pulumi.String("string"),
InstanceMetadataOptions: &aws.OceanInstanceMetadataOptionsArgs{
HttpTokens: pulumi.String("string"),
HttpPutResponseHopLimit: pulumi.Int(0),
},
KeyName: pulumi.String("string"),
AssociateIpv6Address: pulumi.Bool(false),
Logging: &aws.OceanLoggingArgs{
Export: &aws.OceanLoggingExportArgs{
S3s: aws.OceanLoggingExportS3Array{
&aws.OceanLoggingExportS3Args{
Id: pulumi.String("string"),
},
},
},
},
ClusterOrientations: aws.OceanClusterOrientationArray{
&aws.OceanClusterOrientationArgs{
AvailabilityVsCost: pulumi.String("string"),
},
},
Blacklists: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
Monitoring: pulumi.Bool(false),
Region: pulumi.String("string"),
ResourceTagSpecifications: aws.OceanResourceTagSpecificationArray{
&aws.OceanResourceTagSpecificationArgs{
ShouldTagVolumes: pulumi.Bool(false),
},
},
RootVolumeSize: pulumi.Int(0),
ScheduledTasks: aws.OceanScheduledTaskArray{
&aws.OceanScheduledTaskArgs{
ShutdownHours: &aws.OceanScheduledTaskShutdownHoursArgs{
TimeWindows: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
},
Tasks: aws.OceanScheduledTaskTaskArray{
&aws.OceanScheduledTaskTaskArgs{
CronExpression: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
TaskType: pulumi.String("string"),
Parameters: &aws.OceanScheduledTaskTaskParametersArgs{
AmiAutoUpdate: &aws.OceanScheduledTaskTaskParametersAmiAutoUpdateArgs{
AmiAutoUpdateClusterRoll: &aws.OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs{
BatchMinHealthyPercentage: pulumi.Int(0),
BatchSizePercentage: pulumi.Int(0),
Comment: pulumi.String("string"),
RespectPdb: pulumi.Bool(false),
},
ApplyRoll: pulumi.Bool(false),
MinorVersion: pulumi.Bool(false),
Patch: pulumi.Bool(false),
},
ParametersClusterRoll: &aws.OceanScheduledTaskTaskParametersParametersClusterRollArgs{
BatchMinHealthyPercentage: pulumi.Int(0),
BatchSizePercentage: pulumi.Int(0),
Comment: pulumi.String("string"),
RespectPdb: pulumi.Bool(false),
},
},
},
},
},
},
Autoscaler: &aws.OceanAutoscalerArgs{
AutoHeadroomPercentage: pulumi.Int(0),
AutoscaleCooldown: pulumi.Int(0),
AutoscaleDown: &aws.OceanAutoscalerAutoscaleDownArgs{
EvaluationPeriods: pulumi.Int(0),
IsAggressiveScaleDownEnabled: pulumi.Bool(false),
MaxScaleDownPercentage: pulumi.Float64(0),
},
AutoscaleHeadroom: &aws.OceanAutoscalerAutoscaleHeadroomArgs{
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
NumOfUnits: pulumi.Int(0),
},
AutoscaleIsAutoConfig: pulumi.Bool(false),
AutoscaleIsEnabled: pulumi.Bool(false),
EnableAutomaticAndManualHeadroom: pulumi.Bool(false),
ExtendedResourceDefinitions: pulumi.StringArray{
pulumi.String("string"),
},
ResourceLimits: &aws.OceanAutoscalerResourceLimitsArgs{
MaxMemoryGib: pulumi.Int(0),
MaxVcpu: pulumi.Int(0),
},
},
SpotPercentage: pulumi.Int(0),
SpreadNodesBy: pulumi.String("string"),
AssociatePublicIpAddress: pulumi.Bool(false),
Tags: aws.OceanTagArray{
&aws.OceanTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdatePolicy: &aws.OceanUpdatePolicyArgs{
ShouldRoll: pulumi.Bool(false),
AutoApplyTags: pulumi.Bool(false),
ConditionedRoll: pulumi.Bool(false),
ConditionedRollParams: pulumi.StringArray{
pulumi.String("string"),
},
RollConfig: &aws.OceanUpdatePolicyRollConfigArgs{
BatchSizePercentage: pulumi.Int(0),
BatchMinHealthyPercentage: pulumi.Int(0),
LaunchSpecIds: pulumi.StringArray{
pulumi.String("string"),
},
RespectPdb: pulumi.Bool(false),
},
},
UseAsTemplateOnly: pulumi.Bool(false),
UserData: pulumi.String("string"),
UtilizeCommitments: pulumi.Bool(false),
MinSize: pulumi.Int(0),
Whitelists: pulumi.StringArray{
pulumi.String("string"),
},
})
var oceanResource = new Ocean("oceanResource", OceanArgs.builder()
.securityGroups("string")
.subnetIds("string")
.loadBalancers(OceanLoadBalancerArgs.builder()
.arn("string")
.name("string")
.type("string")
.build())
.utilizeReservedInstances(false)
.blockDeviceMappings(OceanBlockDeviceMappingArgs.builder()
.deviceName("string")
.ebs(OceanBlockDeviceMappingEbsArgs.builder()
.deleteOnTermination(false)
.dynamicIops(OceanBlockDeviceMappingEbsDynamicIopsArgs.builder()
.baseSize(0)
.resource("string")
.sizePerResourceUnit(0)
.build())
.dynamicVolumeSize(OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs.builder()
.baseSize(0)
.resource("string")
.sizePerResourceUnit(0)
.build())
.encrypted(false)
.iops(0)
.kmsKeyId("string")
.snapshotId("string")
.throughput(0)
.volumeSize(0)
.volumeType("string")
.build())
.build())
.maxSize(0)
.controllerId("string")
.desiredCapacity(0)
.drainingTimeout(0)
.ebsOptimized(false)
.fallbackToOndemand(false)
.filters(OceanFiltersArgs.builder()
.architectures("string")
.categories("string")
.diskTypes("string")
.excludeFamilies("string")
.excludeMetal(false)
.hypervisors("string")
.includeFamilies("string")
.isEnaSupported("string")
.maxGpu(0)
.maxMemoryGib(0)
.maxNetworkPerformance(0)
.maxVcpu(0)
.minEnis(0)
.minGpu(0)
.minMemoryGib(0)
.minNetworkPerformance(0)
.minVcpu(0)
.rootDeviceTypes("string")
.virtualizationTypes("string")
.build())
.gracePeriod(0)
.healthCheckUnhealthyDurationBeforeReplacement(0)
.iamInstanceProfile("string")
.imageId("string")
.instanceMetadataOptions(OceanInstanceMetadataOptionsArgs.builder()
.httpTokens("string")
.httpPutResponseHopLimit(0)
.build())
.keyName("string")
.associateIpv6Address(false)
.logging(OceanLoggingArgs.builder()
.export(OceanLoggingExportArgs.builder()
.s3s(OceanLoggingExportS3Args.builder()
.id("string")
.build())
.build())
.build())
.clusterOrientations(OceanClusterOrientationArgs.builder()
.availabilityVsCost("string")
.build())
.blacklists("string")
.name("string")
.monitoring(false)
.region("string")
.resourceTagSpecifications(OceanResourceTagSpecificationArgs.builder()
.shouldTagVolumes(false)
.build())
.rootVolumeSize(0)
.scheduledTasks(OceanScheduledTaskArgs.builder()
.shutdownHours(OceanScheduledTaskShutdownHoursArgs.builder()
.timeWindows("string")
.isEnabled(false)
.build())
.tasks(OceanScheduledTaskTaskArgs.builder()
.cronExpression("string")
.isEnabled(false)
.taskType("string")
.parameters(OceanScheduledTaskTaskParametersArgs.builder()
.amiAutoUpdate(OceanScheduledTaskTaskParametersAmiAutoUpdateArgs.builder()
.amiAutoUpdateClusterRoll(OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.respectPdb(false)
.build())
.applyRoll(false)
.minorVersion(false)
.patch(false)
.build())
.parametersClusterRoll(OceanScheduledTaskTaskParametersParametersClusterRollArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.respectPdb(false)
.build())
.build())
.build())
.build())
.autoscaler(OceanAutoscalerArgs.builder()
.autoHeadroomPercentage(0)
.autoscaleCooldown(0)
.autoscaleDown(OceanAutoscalerAutoscaleDownArgs.builder()
.evaluationPeriods(0)
.isAggressiveScaleDownEnabled(false)
.maxScaleDownPercentage(0)
.build())
.autoscaleHeadroom(OceanAutoscalerAutoscaleHeadroomArgs.builder()
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.numOfUnits(0)
.build())
.autoscaleIsAutoConfig(false)
.autoscaleIsEnabled(false)
.enableAutomaticAndManualHeadroom(false)
.extendedResourceDefinitions("string")
.resourceLimits(OceanAutoscalerResourceLimitsArgs.builder()
.maxMemoryGib(0)
.maxVcpu(0)
.build())
.build())
.spotPercentage(0)
.spreadNodesBy("string")
.associatePublicIpAddress(false)
.tags(OceanTagArgs.builder()
.key("string")
.value("string")
.build())
.updatePolicy(OceanUpdatePolicyArgs.builder()
.shouldRoll(false)
.autoApplyTags(false)
.conditionedRoll(false)
.conditionedRollParams("string")
.rollConfig(OceanUpdatePolicyRollConfigArgs.builder()
.batchSizePercentage(0)
.batchMinHealthyPercentage(0)
.launchSpecIds("string")
.respectPdb(false)
.build())
.build())
.useAsTemplateOnly(false)
.userData("string")
.utilizeCommitments(false)
.minSize(0)
.whitelists("string")
.build());
ocean_resource = spotinst.aws.Ocean("oceanResource",
security_groups=["string"],
subnet_ids=["string"],
load_balancers=[spotinst.aws.OceanLoadBalancerArgs(
arn="string",
name="string",
type="string",
)],
utilize_reserved_instances=False,
block_device_mappings=[spotinst.aws.OceanBlockDeviceMappingArgs(
device_name="string",
ebs=spotinst.aws.OceanBlockDeviceMappingEbsArgs(
delete_on_termination=False,
dynamic_iops=spotinst.aws.OceanBlockDeviceMappingEbsDynamicIopsArgs(
base_size=0,
resource="string",
size_per_resource_unit=0,
),
dynamic_volume_size=spotinst.aws.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs(
base_size=0,
resource="string",
size_per_resource_unit=0,
),
encrypted=False,
iops=0,
kms_key_id="string",
snapshot_id="string",
throughput=0,
volume_size=0,
volume_type="string",
),
)],
max_size=0,
controller_id="string",
desired_capacity=0,
draining_timeout=0,
ebs_optimized=False,
fallback_to_ondemand=False,
filters=spotinst.aws.OceanFiltersArgs(
architectures=["string"],
categories=["string"],
disk_types=["string"],
exclude_families=["string"],
exclude_metal=False,
hypervisors=["string"],
include_families=["string"],
is_ena_supported="string",
max_gpu=0,
max_memory_gib=0,
max_network_performance=0,
max_vcpu=0,
min_enis=0,
min_gpu=0,
min_memory_gib=0,
min_network_performance=0,
min_vcpu=0,
root_device_types=["string"],
virtualization_types=["string"],
),
grace_period=0,
health_check_unhealthy_duration_before_replacement=0,
iam_instance_profile="string",
image_id="string",
instance_metadata_options=spotinst.aws.OceanInstanceMetadataOptionsArgs(
http_tokens="string",
http_put_response_hop_limit=0,
),
key_name="string",
associate_ipv6_address=False,
logging=spotinst.aws.OceanLoggingArgs(
export=spotinst.aws.OceanLoggingExportArgs(
s3s=[spotinst.aws.OceanLoggingExportS3Args(
id="string",
)],
),
),
cluster_orientations=[spotinst.aws.OceanClusterOrientationArgs(
availability_vs_cost="string",
)],
blacklists=["string"],
name="string",
monitoring=False,
region="string",
resource_tag_specifications=[spotinst.aws.OceanResourceTagSpecificationArgs(
should_tag_volumes=False,
)],
root_volume_size=0,
scheduled_tasks=[spotinst.aws.OceanScheduledTaskArgs(
shutdown_hours=spotinst.aws.OceanScheduledTaskShutdownHoursArgs(
time_windows=["string"],
is_enabled=False,
),
tasks=[spotinst.aws.OceanScheduledTaskTaskArgs(
cron_expression="string",
is_enabled=False,
task_type="string",
parameters=spotinst.aws.OceanScheduledTaskTaskParametersArgs(
ami_auto_update=spotinst.aws.OceanScheduledTaskTaskParametersAmiAutoUpdateArgs(
ami_auto_update_cluster_roll=spotinst.aws.OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs(
batch_min_healthy_percentage=0,
batch_size_percentage=0,
comment="string",
respect_pdb=False,
),
apply_roll=False,
minor_version=False,
patch=False,
),
parameters_cluster_roll=spotinst.aws.OceanScheduledTaskTaskParametersParametersClusterRollArgs(
batch_min_healthy_percentage=0,
batch_size_percentage=0,
comment="string",
respect_pdb=False,
),
),
)],
)],
autoscaler=spotinst.aws.OceanAutoscalerArgs(
auto_headroom_percentage=0,
autoscale_cooldown=0,
autoscale_down=spotinst.aws.OceanAutoscalerAutoscaleDownArgs(
evaluation_periods=0,
is_aggressive_scale_down_enabled=False,
max_scale_down_percentage=0,
),
autoscale_headroom=spotinst.aws.OceanAutoscalerAutoscaleHeadroomArgs(
cpu_per_unit=0,
gpu_per_unit=0,
memory_per_unit=0,
num_of_units=0,
),
autoscale_is_auto_config=False,
autoscale_is_enabled=False,
enable_automatic_and_manual_headroom=False,
extended_resource_definitions=["string"],
resource_limits=spotinst.aws.OceanAutoscalerResourceLimitsArgs(
max_memory_gib=0,
max_vcpu=0,
),
),
spot_percentage=0,
spread_nodes_by="string",
associate_public_ip_address=False,
tags=[spotinst.aws.OceanTagArgs(
key="string",
value="string",
)],
update_policy=spotinst.aws.OceanUpdatePolicyArgs(
should_roll=False,
auto_apply_tags=False,
conditioned_roll=False,
conditioned_roll_params=["string"],
roll_config=spotinst.aws.OceanUpdatePolicyRollConfigArgs(
batch_size_percentage=0,
batch_min_healthy_percentage=0,
launch_spec_ids=["string"],
respect_pdb=False,
),
),
use_as_template_only=False,
user_data="string",
utilize_commitments=False,
min_size=0,
whitelists=["string"])
const oceanResource = new spotinst.aws.Ocean("oceanResource", {
securityGroups: ["string"],
subnetIds: ["string"],
loadBalancers: [{
arn: "string",
name: "string",
type: "string",
}],
utilizeReservedInstances: false,
blockDeviceMappings: [{
deviceName: "string",
ebs: {
deleteOnTermination: false,
dynamicIops: {
baseSize: 0,
resource: "string",
sizePerResourceUnit: 0,
},
dynamicVolumeSize: {
baseSize: 0,
resource: "string",
sizePerResourceUnit: 0,
},
encrypted: false,
iops: 0,
kmsKeyId: "string",
snapshotId: "string",
throughput: 0,
volumeSize: 0,
volumeType: "string",
},
}],
maxSize: 0,
controllerId: "string",
desiredCapacity: 0,
drainingTimeout: 0,
ebsOptimized: false,
fallbackToOndemand: false,
filters: {
architectures: ["string"],
categories: ["string"],
diskTypes: ["string"],
excludeFamilies: ["string"],
excludeMetal: false,
hypervisors: ["string"],
includeFamilies: ["string"],
isEnaSupported: "string",
maxGpu: 0,
maxMemoryGib: 0,
maxNetworkPerformance: 0,
maxVcpu: 0,
minEnis: 0,
minGpu: 0,
minMemoryGib: 0,
minNetworkPerformance: 0,
minVcpu: 0,
rootDeviceTypes: ["string"],
virtualizationTypes: ["string"],
},
gracePeriod: 0,
healthCheckUnhealthyDurationBeforeReplacement: 0,
iamInstanceProfile: "string",
imageId: "string",
instanceMetadataOptions: {
httpTokens: "string",
httpPutResponseHopLimit: 0,
},
keyName: "string",
associateIpv6Address: false,
logging: {
"export": {
s3s: [{
id: "string",
}],
},
},
clusterOrientations: [{
availabilityVsCost: "string",
}],
blacklists: ["string"],
name: "string",
monitoring: false,
region: "string",
resourceTagSpecifications: [{
shouldTagVolumes: false,
}],
rootVolumeSize: 0,
scheduledTasks: [{
shutdownHours: {
timeWindows: ["string"],
isEnabled: false,
},
tasks: [{
cronExpression: "string",
isEnabled: false,
taskType: "string",
parameters: {
amiAutoUpdate: {
amiAutoUpdateClusterRoll: {
batchMinHealthyPercentage: 0,
batchSizePercentage: 0,
comment: "string",
respectPdb: false,
},
applyRoll: false,
minorVersion: false,
patch: false,
},
parametersClusterRoll: {
batchMinHealthyPercentage: 0,
batchSizePercentage: 0,
comment: "string",
respectPdb: false,
},
},
}],
}],
autoscaler: {
autoHeadroomPercentage: 0,
autoscaleCooldown: 0,
autoscaleDown: {
evaluationPeriods: 0,
isAggressiveScaleDownEnabled: false,
maxScaleDownPercentage: 0,
},
autoscaleHeadroom: {
cpuPerUnit: 0,
gpuPerUnit: 0,
memoryPerUnit: 0,
numOfUnits: 0,
},
autoscaleIsAutoConfig: false,
autoscaleIsEnabled: false,
enableAutomaticAndManualHeadroom: false,
extendedResourceDefinitions: ["string"],
resourceLimits: {
maxMemoryGib: 0,
maxVcpu: 0,
},
},
spotPercentage: 0,
spreadNodesBy: "string",
associatePublicIpAddress: false,
tags: [{
key: "string",
value: "string",
}],
updatePolicy: {
shouldRoll: false,
autoApplyTags: false,
conditionedRoll: false,
conditionedRollParams: ["string"],
rollConfig: {
batchSizePercentage: 0,
batchMinHealthyPercentage: 0,
launchSpecIds: ["string"],
respectPdb: false,
},
},
useAsTemplateOnly: false,
userData: "string",
utilizeCommitments: false,
minSize: 0,
whitelists: ["string"],
});
type: spotinst:aws:Ocean
properties:
associateIpv6Address: false
associatePublicIpAddress: false
autoscaler:
autoHeadroomPercentage: 0
autoscaleCooldown: 0
autoscaleDown:
evaluationPeriods: 0
isAggressiveScaleDownEnabled: false
maxScaleDownPercentage: 0
autoscaleHeadroom:
cpuPerUnit: 0
gpuPerUnit: 0
memoryPerUnit: 0
numOfUnits: 0
autoscaleIsAutoConfig: false
autoscaleIsEnabled: false
enableAutomaticAndManualHeadroom: false
extendedResourceDefinitions:
- string
resourceLimits:
maxMemoryGib: 0
maxVcpu: 0
blacklists:
- string
blockDeviceMappings:
- deviceName: string
ebs:
deleteOnTermination: false
dynamicIops:
baseSize: 0
resource: string
sizePerResourceUnit: 0
dynamicVolumeSize:
baseSize: 0
resource: string
sizePerResourceUnit: 0
encrypted: false
iops: 0
kmsKeyId: string
snapshotId: string
throughput: 0
volumeSize: 0
volumeType: string
clusterOrientations:
- availabilityVsCost: string
controllerId: string
desiredCapacity: 0
drainingTimeout: 0
ebsOptimized: false
fallbackToOndemand: false
filters:
architectures:
- string
categories:
- string
diskTypes:
- string
excludeFamilies:
- string
excludeMetal: false
hypervisors:
- string
includeFamilies:
- string
isEnaSupported: string
maxGpu: 0
maxMemoryGib: 0
maxNetworkPerformance: 0
maxVcpu: 0
minEnis: 0
minGpu: 0
minMemoryGib: 0
minNetworkPerformance: 0
minVcpu: 0
rootDeviceTypes:
- string
virtualizationTypes:
- string
gracePeriod: 0
healthCheckUnhealthyDurationBeforeReplacement: 0
iamInstanceProfile: string
imageId: string
instanceMetadataOptions:
httpPutResponseHopLimit: 0
httpTokens: string
keyName: string
loadBalancers:
- arn: string
name: string
type: string
logging:
export:
s3s:
- id: string
maxSize: 0
minSize: 0
monitoring: false
name: string
region: string
resourceTagSpecifications:
- shouldTagVolumes: false
rootVolumeSize: 0
scheduledTasks:
- shutdownHours:
isEnabled: false
timeWindows:
- string
tasks:
- cronExpression: string
isEnabled: false
parameters:
amiAutoUpdate:
amiAutoUpdateClusterRoll:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
comment: string
respectPdb: false
applyRoll: false
minorVersion: false
patch: false
parametersClusterRoll:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
comment: string
respectPdb: false
taskType: string
securityGroups:
- string
spotPercentage: 0
spreadNodesBy: string
subnetIds:
- string
tags:
- key: string
value: string
updatePolicy:
autoApplyTags: false
conditionedRoll: false
conditionedRollParams:
- string
rollConfig:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
launchSpecIds:
- string
respectPdb: false
shouldRoll: false
useAsTemplateOnly: false
userData: string
utilizeCommitments: false
utilizeReservedInstances: false
whitelists:
- string
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:
- Security
Groups List<string> - 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
Ipv6Address bool - Configure IPv6 address allocation.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscaler
Pulumi.
Spot Inst. Aws. Inputs. Ocean Autoscaler - Blacklists List<string>
- Block
Device List<Pulumi.Mappings Spot Inst. Aws. Inputs. Ocean Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Orientations List<Pulumi.Spot Inst. Aws. Inputs. Ocean Cluster Orientation> - Controller
Id string - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- Fallback
To boolOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- Filters
Pulumi.
Spot Inst. Aws. Inputs. Ocean Filters - Grace
Period int - The amount of time, in seconds, after the instance has launched to start checking its health.
- Health
Check intUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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. Aws. Inputs. Ocean Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- Key
Name string - The key pair to attach the instances.
- Load
Balancers List<Pulumi.Spot Inst. Aws. Inputs. Ocean Load Balancer> - Array of load balancer objects to add to ocean cluster
- Logging
Pulumi.
Spot Inst. Aws. 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 cluster name.
- Region string
- The region the cluster will run in.
- List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Resource Tag Specification> - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- Root
Volume intSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Ocean Scheduled Task> - Spot
Percentage int - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- Spread
Nodes stringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Tag> - Optionally adds tags to instances launched in an Ocean cluster.
- Update
Policy Pulumi.Spot Inst. Aws. 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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>
- Security
Groups []string - 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
Ipv6Address bool - Configure IPv6 address allocation.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscaler
Ocean
Autoscaler Args - Blacklists []string
- Block
Device []OceanMappings Block Device Mapping Args - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Orientations []OceanCluster Orientation Args - Controller
Id string - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- Fallback
To boolOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- Filters
Ocean
Filters Args - Grace
Period int - The amount of time, in seconds, after the instance has launched to start checking its health.
- Health
Check intUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name string - The key pair to attach the instances.
- Load
Balancers []OceanLoad Balancer Args - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- Region string
- The region the cluster will run in.
- []Ocean
Resource Tag Specification Args - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- Root
Volume intSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - Scheduled
Tasks []OceanScheduled Task Args - Spot
Percentage int - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- Spread
Nodes stringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - []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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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
- security
Groups List<String> - 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
Ipv6Address Boolean - Configure IPv6 address allocation.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler - blacklists List<String>
- block
Device List<OceanMappings Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations List<OceanCluster Orientation> - controller
Id String - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback
To BooleanOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters
Ocean
Filters - grace
Period Integer - The amount of time, in seconds, after the instance has launched to start checking its health.
- health
Check IntegerUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name String - The key pair to attach the instances.
- load
Balancers List<OceanLoad Balancer> - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region String
- The region the cluster will run in.
- List<Ocean
Resource Tag Specification> - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root
Volume IntegerSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled
Tasks List<OceanScheduled Task> - spot
Percentage Integer - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread
Nodes StringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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>
- security
Groups string[] - 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
Ipv6Address boolean - Configure IPv6 address allocation.
- associate
Public booleanIp Address - Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler - blacklists string[]
- block
Device OceanMappings Block Device Mapping[] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations OceanCluster Orientation[] - controller
Id string - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback
To booleanOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters
Ocean
Filters - grace
Period number - The amount of time, in seconds, after the instance has launched to start checking its health.
- health
Check numberUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name string - The key pair to attach the instances.
- load
Balancers OceanLoad Balancer[] - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region string
- The region the cluster will run in.
- Ocean
Resource Tag Specification[] - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root
Volume numberSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled
Tasks OceanScheduled Task[] - spot
Percentage number - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread
Nodes stringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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[]
- security_
groups Sequence[str] - 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_
ipv6_ booladdress - Configure IPv6 address allocation.
- associate_
public_ boolip_ address - Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Args - blacklists Sequence[str]
- block_
device_ Sequence[Oceanmappings Block Device Mapping Args] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster_
orientations Sequence[OceanCluster Orientation Args] - controller_
id str - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback_
to_ boolondemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters
Ocean
Filters Args - grace_
period int - The amount of time, in seconds, after the instance has launched to start checking its health.
- health_
check_ intunhealthy_ duration_ before_ replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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_
name str - The key pair to attach the instances.
- load_
balancers Sequence[OceanLoad Balancer Args] - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region str
- The region the cluster will run in.
- resource_
tag_ Sequence[Oceanspecifications Resource Tag Specification Args] - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root_
volume_ intsize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled_
tasks Sequence[OceanScheduled Task Args] - spot_
percentage int - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread_
nodes_ strby - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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]
- security
Groups List<String> - 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
Ipv6Address Boolean - Configure IPv6 address allocation.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscaler Property Map
- blacklists List<String>
- block
Device List<Property Map>Mappings - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations List<Property Map> - controller
Id String - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback
To BooleanOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters Property Map
- grace
Period Number - The amount of time, in seconds, after the instance has launched to start checking its health.
- health
Check NumberUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name String - The key pair to attach the instances.
- load
Balancers List<Property Map> - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region String
- The region the cluster will run in.
- List<Property Map>
- Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root
Volume NumberSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled
Tasks List<Property Map> - spot
Percentage Number - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread
Nodes StringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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>
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_ipv6_address: Optional[bool] = 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_orientations: Optional[Sequence[OceanClusterOrientationArgs]] = None,
controller_id: Optional[str] = None,
desired_capacity: Optional[int] = None,
draining_timeout: Optional[int] = None,
ebs_optimized: Optional[bool] = None,
fallback_to_ondemand: Optional[bool] = None,
filters: Optional[OceanFiltersArgs] = None,
grace_period: Optional[int] = None,
health_check_unhealthy_duration_before_replacement: Optional[int] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
instance_metadata_options: Optional[OceanInstanceMetadataOptionsArgs] = None,
key_name: Optional[str] = None,
load_balancers: Optional[Sequence[OceanLoadBalancerArgs]] = None,
logging: Optional[OceanLoggingArgs] = None,
max_size: Optional[int] = None,
min_size: Optional[int] = None,
monitoring: Optional[bool] = None,
name: Optional[str] = None,
region: Optional[str] = None,
resource_tag_specifications: Optional[Sequence[OceanResourceTagSpecificationArgs]] = None,
root_volume_size: Optional[int] = None,
scheduled_tasks: Optional[Sequence[OceanScheduledTaskArgs]] = None,
security_groups: Optional[Sequence[str]] = None,
spot_percentage: Optional[int] = None,
spread_nodes_by: Optional[str] = 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
Ipv6Address bool - Configure IPv6 address allocation.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscaler
Pulumi.
Spot Inst. Aws. Inputs. Ocean Autoscaler - Blacklists List<string>
- Block
Device List<Pulumi.Mappings Spot Inst. Aws. Inputs. Ocean Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Orientations List<Pulumi.Spot Inst. Aws. Inputs. Ocean Cluster Orientation> - Controller
Id string - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- Fallback
To boolOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- Filters
Pulumi.
Spot Inst. Aws. Inputs. Ocean Filters - Grace
Period int - The amount of time, in seconds, after the instance has launched to start checking its health.
- Health
Check intUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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. Aws. Inputs. Ocean Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- Key
Name string - The key pair to attach the instances.
- Load
Balancers List<Pulumi.Spot Inst. Aws. Inputs. Ocean Load Balancer> - Array of load balancer objects to add to ocean cluster
- Logging
Pulumi.
Spot Inst. Aws. 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 cluster name.
- Region string
- The region the cluster will run in.
- List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Resource Tag Specification> - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- Root
Volume intSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - Scheduled
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Ocean Scheduled Task> - Security
Groups List<string> - One or more security group ids.
- Spot
Percentage int - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- Spread
Nodes stringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. Aws. Inputs. Ocean Tag> - Optionally adds tags to instances launched in an Ocean cluster.
- Update
Policy Pulumi.Spot Inst. Aws. 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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>
- Associate
Ipv6Address bool - Configure IPv6 address allocation.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscaler
Ocean
Autoscaler Args - Blacklists []string
- Block
Device []OceanMappings Block Device Mapping Args - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Cluster
Orientations []OceanCluster Orientation Args - Controller
Id string - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- Fallback
To boolOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- Filters
Ocean
Filters Args - Grace
Period int - The amount of time, in seconds, after the instance has launched to start checking its health.
- Health
Check intUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name string - The key pair to attach the instances.
- Load
Balancers []OceanLoad Balancer Args - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- Region string
- The region the cluster will run in.
- []Ocean
Resource Tag Specification Args - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- Root
Volume intSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - Scheduled
Tasks []OceanScheduled Task Args - Security
Groups []string - One or more security group ids.
- Spot
Percentage int - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- Spread
Nodes stringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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
- associate
Ipv6Address Boolean - Configure IPv6 address allocation.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler - blacklists List<String>
- block
Device List<OceanMappings Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations List<OceanCluster Orientation> - controller
Id String - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback
To BooleanOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters
Ocean
Filters - grace
Period Integer - The amount of time, in seconds, after the instance has launched to start checking its health.
- health
Check IntegerUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name String - The key pair to attach the instances.
- load
Balancers List<OceanLoad Balancer> - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region String
- The region the cluster will run in.
- List<Ocean
Resource Tag Specification> - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root
Volume IntegerSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled
Tasks List<OceanScheduled Task> - security
Groups List<String> - One or more security group ids.
- spot
Percentage Integer - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread
Nodes StringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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>
- associate
Ipv6Address boolean - Configure IPv6 address allocation.
- associate
Public booleanIp Address - Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler - blacklists string[]
- block
Device OceanMappings Block Device Mapping[] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations OceanCluster Orientation[] - controller
Id string - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback
To booleanOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters
Ocean
Filters - grace
Period number - The amount of time, in seconds, after the instance has launched to start checking its health.
- health
Check numberUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name string - The key pair to attach the instances.
- load
Balancers OceanLoad Balancer[] - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region string
- The region the cluster will run in.
- Ocean
Resource Tag Specification[] - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root
Volume numberSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled
Tasks OceanScheduled Task[] - security
Groups string[] - One or more security group ids.
- spot
Percentage number - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread
Nodes stringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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[]
- associate_
ipv6_ booladdress - Configure IPv6 address allocation.
- associate_
public_ boolip_ address - Configure public IP address allocation.
- autoscaler
Ocean
Autoscaler Args - blacklists Sequence[str]
- block_
device_ Sequence[Oceanmappings Block Device Mapping Args] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster_
orientations Sequence[OceanCluster Orientation Args] - controller_
id str - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback_
to_ boolondemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters
Ocean
Filters Args - grace_
period int - The amount of time, in seconds, after the instance has launched to start checking its health.
- health_
check_ intunhealthy_ duration_ before_ replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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_
name str - The key pair to attach the instances.
- load_
balancers Sequence[OceanLoad Balancer Args] - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region str
- The region the cluster will run in.
- resource_
tag_ Sequence[Oceanspecifications Resource Tag Specification Args] - Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root_
volume_ intsize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled_
tasks Sequence[OceanScheduled Task Args] - security_
groups Sequence[str] - One or more security group ids.
- spot_
percentage int - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread_
nodes_ strby - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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]
- associate
Ipv6Address Boolean - Configure IPv6 address allocation.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscaler Property Map
- blacklists List<String>
- block
Device List<Property Map>Mappings - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- cluster
Orientations List<Property Map> - controller
Id String - A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- 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.
- fallback
To BooleanOndemand - If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
- filters Property Map
- grace
Period Number - The amount of time, in seconds, after the instance has launched to start checking its health.
- health
Check NumberUnhealthy Duration Before Replacement - The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
- 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
Name String - The key pair to attach the instances.
- load
Balancers List<Property Map> - Array of load balancer objects to add to ocean cluster
- 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 cluster name.
- region String
- The region the cluster will run in.
- List<Property Map>
- Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
- root
Volume NumberSize - The size (in Gb) to allocate for the root volume. Minimum
20
. - scheduled
Tasks List<Property Map> - security
Groups List<String> - One or more security group ids.
- spot
Percentage Number - The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
- spread
Nodes StringBy - Ocean will spread the nodes across markets by this value. Possible values:
vcpu
orcount
. - 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. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
- 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>
Supporting Types
OceanAutoscaler, OceanAutoscalerArgs
- Auto
Headroom intPercentage - Autoscale
Cooldown int - Autoscale
Down Pulumi.Spot Inst. Aws. Inputs. Ocean Autoscaler Autoscale Down - Autoscale
Headroom Pulumi.Spot Inst. Aws. Inputs. Ocean Autoscaler Autoscale Headroom - Autoscale
Is boolAuto Config - Autoscale
Is boolEnabled - Enable
Automatic boolAnd Manual Headroom - Extended
Resource List<string>Definitions - Resource
Limits Pulumi.Spot Inst. Aws. Inputs. Ocean Autoscaler Resource Limits
- Auto
Headroom intPercentage - Autoscale
Cooldown int - Autoscale
Down OceanAutoscaler Autoscale Down - Autoscale
Headroom OceanAutoscaler Autoscale Headroom - Autoscale
Is boolAuto Config - Autoscale
Is boolEnabled - Enable
Automatic boolAnd Manual Headroom - Extended
Resource []stringDefinitions - Resource
Limits OceanAutoscaler Resource Limits
- auto
Headroom IntegerPercentage - autoscale
Cooldown Integer - autoscale
Down OceanAutoscaler Autoscale Down - autoscale
Headroom OceanAutoscaler Autoscale Headroom - autoscale
Is BooleanAuto Config - autoscale
Is BooleanEnabled - enable
Automatic BooleanAnd Manual Headroom - extended
Resource List<String>Definitions - resource
Limits OceanAutoscaler Resource Limits
- auto
Headroom numberPercentage - autoscale
Cooldown number - autoscale
Down OceanAutoscaler Autoscale Down - autoscale
Headroom OceanAutoscaler Autoscale Headroom - autoscale
Is booleanAuto Config - autoscale
Is booleanEnabled - enable
Automatic booleanAnd Manual Headroom - extended
Resource string[]Definitions - resource
Limits OceanAutoscaler Resource Limits
- auto_
headroom_ intpercentage - autoscale_
cooldown int - autoscale_
down OceanAutoscaler Autoscale Down - autoscale_
headroom OceanAutoscaler Autoscale Headroom - autoscale_
is_ boolauto_ config - autoscale_
is_ boolenabled - enable_
automatic_ booland_ manual_ headroom - extended_
resource_ Sequence[str]definitions - resource_
limits OceanAutoscaler Resource Limits
OceanAutoscalerAutoscaleDown, OceanAutoscalerAutoscaleDownArgs
- Evaluation
Periods int - Is
Aggressive boolScale Down Enabled - Max
Scale float64Down Percentage
- evaluation
Periods Integer - is
Aggressive BooleanScale Down Enabled - max
Scale DoubleDown Percentage
- evaluation
Periods number - is
Aggressive booleanScale Down Enabled - max
Scale numberDown Percentage
- evaluation
Periods Number - is
Aggressive BooleanScale Down Enabled - max
Scale NumberDown Percentage
OceanAutoscalerAutoscaleHeadroom, OceanAutoscalerAutoscaleHeadroomArgs
- Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit - Num
Of intUnits
- Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit - Num
Of intUnits
- cpu
Per IntegerUnit - gpu
Per IntegerUnit - memory
Per IntegerUnit - num
Of IntegerUnits
- cpu
Per numberUnit - gpu
Per numberUnit - memory
Per numberUnit - num
Of numberUnits
- cpu_
per_ intunit - gpu_
per_ intunit - memory_
per_ intunit - num_
of_ intunits
- cpu
Per NumberUnit - gpu
Per NumberUnit - memory
Per NumberUnit - num
Of NumberUnits
OceanAutoscalerResourceLimits, OceanAutoscalerResourceLimitsArgs
- Max
Memory intGib - Max
Vcpu int
- Max
Memory intGib - Max
Vcpu int
- max
Memory IntegerGib - max
Vcpu Integer
- max
Memory numberGib - max
Vcpu number
- max_
memory_ intgib - max_
vcpu int
- max
Memory NumberGib - max
Vcpu Number
OceanBlockDeviceMapping, OceanBlockDeviceMappingArgs
- Device
Name string - String. Set device name. (Example:
/dev/xvda
). - Ebs
Pulumi.
Spot Inst. Aws. Inputs. Ocean Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- Device
Name string - String. Set device name. (Example:
/dev/xvda
). - Ebs
Ocean
Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- device
Name String - String. Set device name. (Example:
/dev/xvda
). - ebs
Ocean
Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- device
Name string - String. Set device name. (Example:
/dev/xvda
). - ebs
Ocean
Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- device_
name str - String. Set device name. (Example:
/dev/xvda
). - ebs
Ocean
Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- device
Name String - String. Set device name. (Example:
/dev/xvda
). - ebs Property Map
- Object. Set Elastic Block Store properties .
OceanBlockDeviceMappingEbs, OceanBlockDeviceMappingEbsArgs
- delete
On BooleanTermination - dynamic
Iops OceanBlock Device Mapping Ebs Dynamic Iops - dynamic
Volume OceanSize Block Device Mapping Ebs Dynamic Volume Size - encrypted Boolean
- iops Integer
- kms
Key StringId - snapshot
Id String - throughput Integer
- volume
Size Integer - volume
Type String
- delete
On booleanTermination - dynamic
Iops OceanBlock Device Mapping Ebs Dynamic Iops - dynamic
Volume OceanSize Block Device Mapping Ebs Dynamic Volume Size - encrypted boolean
- iops number
- kms
Key stringId - snapshot
Id string - throughput number
- volume
Size number - volume
Type string
- delete
On BooleanTermination - dynamic
Iops Property Map - dynamic
Volume Property MapSize - encrypted Boolean
- iops Number
- kms
Key StringId - snapshot
Id String - throughput Number
- volume
Size Number - volume
Type String
OceanBlockDeviceMappingEbsDynamicIops, OceanBlockDeviceMappingEbsDynamicIopsArgs
- Base
Size int - Resource string
- Size
Per intResource Unit
- Base
Size int - Resource string
- Size
Per intResource Unit
- base
Size Integer - resource String
- size
Per IntegerResource Unit
- base
Size number - resource string
- size
Per numberResource Unit
- base_
size int - resource str
- size_
per_ intresource_ unit
- base
Size Number - resource String
- size
Per NumberResource Unit
OceanBlockDeviceMappingEbsDynamicVolumeSize, OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs
- Base
Size int - Resource string
- Size
Per intResource Unit
- Base
Size int - Resource string
- Size
Per intResource Unit
- base
Size Integer - resource String
- size
Per IntegerResource Unit
- base
Size number - resource string
- size
Per numberResource Unit
- base_
size int - resource str
- size_
per_ intresource_ unit
- base
Size Number - resource String
- size
Per NumberResource Unit
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>
- Categories List<string>
- Disk
Types List<string> - Exclude
Families List<string> - Exclude
Metal bool - Hypervisors List<string>
- Include
Families List<string> - Is
Ena stringSupported - Max
Gpu int - Max
Memory doubleGib - Max
Network intPerformance - Max
Vcpu int - Min
Enis int - Min
Gpu int - Min
Memory doubleGib - Min
Network intPerformance - Min
Vcpu int - Root
Device List<string>Types - Virtualization
Types List<string>
- Architectures []string
- Categories []string
- Disk
Types []string - Exclude
Families []string - Exclude
Metal bool - Hypervisors []string
- Include
Families []string - Is
Ena stringSupported - Max
Gpu int - Max
Memory float64Gib - Max
Network intPerformance - Max
Vcpu int - Min
Enis int - Min
Gpu int - Min
Memory float64Gib - Min
Network intPerformance - Min
Vcpu int - Root
Device []stringTypes - Virtualization
Types []string
- architectures List<String>
- categories List<String>
- disk
Types List<String> - exclude
Families List<String> - exclude
Metal Boolean - hypervisors List<String>
- include
Families List<String> - is
Ena StringSupported - max
Gpu Integer - max
Memory DoubleGib - max
Network IntegerPerformance - max
Vcpu Integer - min
Enis Integer - min
Gpu Integer - min
Memory DoubleGib - min
Network IntegerPerformance - min
Vcpu Integer - root
Device List<String>Types - virtualization
Types List<String>
- architectures string[]
- categories string[]
- disk
Types string[] - exclude
Families string[] - exclude
Metal boolean - hypervisors string[]
- include
Families string[] - is
Ena stringSupported - max
Gpu number - max
Memory numberGib - max
Network numberPerformance - max
Vcpu number - min
Enis number - min
Gpu number - min
Memory numberGib - min
Network numberPerformance - min
Vcpu number - root
Device string[]Types - virtualization
Types string[]
- architectures Sequence[str]
- categories Sequence[str]
- disk_
types Sequence[str] - exclude_
families Sequence[str] - exclude_
metal bool - hypervisors Sequence[str]
- include_
families Sequence[str] - is_
ena_ strsupported - max_
gpu int - max_
memory_ floatgib - max_
network_ intperformance - max_
vcpu int - min_
enis int - min_
gpu int - min_
memory_ floatgib - min_
network_ intperformance - min_
vcpu int - root_
device_ Sequence[str]types - virtualization_
types Sequence[str]
- architectures List<String>
- categories List<String>
- disk
Types List<String> - exclude
Families List<String> - exclude
Metal Boolean - hypervisors List<String>
- include
Families List<String> - is
Ena StringSupported - max
Gpu Number - max
Memory NumberGib - max
Network NumberPerformance - max
Vcpu Number - min
Enis Number - min
Gpu Number - min
Memory NumberGib - min
Network NumberPerformance - min
Vcpu Number - root
Device List<String>Types - virtualization
Types List<String>
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.
OceanLoadBalancer, OceanLoadBalancerArgs
OceanLogging, OceanLoggingArgs
- Export
Pulumi.
Spot Inst. Aws. 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
OceanLoggingExportS3, OceanLoggingExportS3Args
- Id string
- The Cluster ID.
- Id string
- The Cluster ID.
- id String
- The Cluster ID.
- id string
- The Cluster ID.
- id str
- The Cluster ID.
- id String
- The Cluster ID.
OceanResourceTagSpecification, OceanResourceTagSpecificationArgs
- Should
Tag boolVolumes - Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
- Should
Tag boolVolumes - Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
- should
Tag BooleanVolumes - Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
- should
Tag booleanVolumes - Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
- should_
tag_ boolvolumes - Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
- should
Tag BooleanVolumes - Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
OceanScheduledTask, OceanScheduledTaskArgs
OceanScheduledTaskShutdownHours, OceanScheduledTaskShutdownHoursArgs
- Time
Windows List<string> - Is
Enabled bool
- Time
Windows []string - Is
Enabled bool
- time
Windows List<String> - is
Enabled Boolean
- time
Windows string[] - is
Enabled boolean
- time_
windows Sequence[str] - is_
enabled bool
- time
Windows List<String> - is
Enabled Boolean
OceanScheduledTaskTask, OceanScheduledTaskTaskArgs
- Cron
Expression string - Is
Enabled bool - Task
Type string - Parameters
Ocean
Scheduled Task Task Parameters
- cron
Expression String - is
Enabled Boolean - task
Type String - parameters
Ocean
Scheduled Task Task Parameters
- cron
Expression string - is
Enabled boolean - task
Type string - parameters
Ocean
Scheduled Task Task Parameters
- cron
Expression String - is
Enabled Boolean - task
Type String - parameters Property Map
OceanScheduledTaskTaskParameters, OceanScheduledTaskTaskParametersArgs
OceanScheduledTaskTaskParametersAmiAutoUpdate, OceanScheduledTaskTaskParametersAmiAutoUpdateArgs
- ami
Auto Property MapUpdate Cluster Roll - apply
Roll Boolean - minor
Version Boolean - patch Boolean
OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRoll, OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool
- batch
Min IntegerHealthy Percentage - batch
Size IntegerPercentage - comment String
- respect
Pdb Boolean
- batch
Min numberHealthy Percentage - batch
Size numberPercentage - comment string
- respect
Pdb boolean
- batch_
min_ inthealthy_ percentage - batch_
size_ intpercentage - comment str
- respect_
pdb bool
- batch
Min NumberHealthy Percentage - batch
Size NumberPercentage - comment String
- respect
Pdb Boolean
OceanScheduledTaskTaskParametersParametersClusterRoll, OceanScheduledTaskTaskParametersParametersClusterRollArgs
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Respect
Pdb bool
- batch
Min IntegerHealthy Percentage - batch
Size IntegerPercentage - comment String
- respect
Pdb Boolean
- batch
Min numberHealthy Percentage - batch
Size numberPercentage - comment string
- respect
Pdb boolean
- batch_
min_ inthealthy_ percentage - batch_
size_ intpercentage - comment str
- respect_
pdb bool
- batch
Min NumberHealthy Percentage - batch
Size NumberPercentage - comment String
- respect
Pdb Boolean
OceanTag, OceanTagArgs
OceanUpdatePolicy, OceanUpdatePolicyArgs
- Should
Roll bool - bool
- Conditioned
Roll bool - Conditioned
Roll List<string>Params - Roll
Config Pulumi.Spot Inst. Aws. Inputs. Ocean Update Policy Roll Config
- Should
Roll bool - bool
- Conditioned
Roll bool - Conditioned
Roll []stringParams - Roll
Config OceanUpdate Policy Roll Config
- should
Roll Boolean - Boolean
- conditioned
Roll Boolean - conditioned
Roll List<String>Params - roll
Config OceanUpdate Policy Roll Config
- should
Roll boolean - boolean
- conditioned
Roll boolean - conditioned
Roll string[]Params - roll
Config OceanUpdate Policy Roll Config
- should_
roll bool - bool
- conditioned_
roll bool - conditioned_
roll_ Sequence[str]params - roll_
config OceanUpdate Policy Roll Config
- should
Roll Boolean - Boolean
- conditioned
Roll Boolean - conditioned
Roll List<String>Params - roll
Config Property Map
OceanUpdatePolicyRollConfig, OceanUpdatePolicyRollConfigArgs
- Batch
Size intPercentage - Batch
Min intHealthy Percentage - Launch
Spec List<string>Ids - Respect
Pdb bool
- Batch
Size intPercentage - Batch
Min intHealthy Percentage - Launch
Spec []stringIds - Respect
Pdb bool
- batch
Size IntegerPercentage - batch
Min IntegerHealthy Percentage - launch
Spec List<String>Ids - respect
Pdb Boolean
- batch
Size numberPercentage - batch
Min numberHealthy Percentage - launch
Spec string[]Ids - respect
Pdb boolean
- batch_
size_ intpercentage - batch_
min_ inthealthy_ percentage - launch_
spec_ Sequence[str]ids - respect_
pdb bool
- batch
Size NumberPercentage - batch
Min NumberHealthy Percentage - launch
Spec List<String>Ids - respect
Pdb Boolean
Import
Clusters can be imported using the Ocean id
, e.g.,
hcl
$ pulumi import spotinst:aws/ocean:Ocean this o-12345678
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.