spotinst.aws.OceanLaunchSpec
Explore with Pulumi AI
Manages a Spotinst Ocean AWS Virtual Node Group resource.
Create OceanLaunchSpec Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OceanLaunchSpec(name: string, args: OceanLaunchSpecArgs, opts?: CustomResourceOptions);
@overload
def OceanLaunchSpec(resource_name: str,
args: OceanLaunchSpecArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OceanLaunchSpec(resource_name: str,
opts: Optional[ResourceOptions] = None,
ocean_id: Optional[str] = None,
name: Optional[str] = None,
user_data: Optional[str] = None,
labels: Optional[Sequence[OceanLaunchSpecLabelArgs]] = None,
block_device_mappings: Optional[Sequence[OceanLaunchSpecBlockDeviceMappingArgs]] = None,
create_options: Optional[OceanLaunchSpecCreateOptionsArgs] = None,
delete_options: Optional[OceanLaunchSpecDeleteOptionsArgs] = None,
elastic_ip_pools: Optional[Sequence[OceanLaunchSpecElasticIpPoolArgs]] = None,
ephemeral_storages: Optional[Sequence[OceanLaunchSpecEphemeralStorageArgs]] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
images: Optional[Sequence[OceanLaunchSpecImageArgs]] = None,
instance_metadata_options: Optional[OceanLaunchSpecInstanceMetadataOptionsArgs] = None,
instance_types: Optional[Sequence[str]] = None,
instance_types_filters: Optional[OceanLaunchSpecInstanceTypesFiltersArgs] = None,
autoscale_headrooms_automatics: Optional[Sequence[OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs]] = None,
autoscale_downs: Optional[Sequence[OceanLaunchSpecAutoscaleDownArgs]] = None,
autoscale_headrooms: Optional[Sequence[OceanLaunchSpecAutoscaleHeadroomArgs]] = None,
preferred_od_types: Optional[Sequence[str]] = None,
preferred_spot_types: Optional[Sequence[str]] = None,
resource_limits: Optional[Sequence[OceanLaunchSpecResourceLimitArgs]] = None,
restrict_scale_down: Optional[bool] = None,
root_volume_size: Optional[int] = None,
scheduling_shutdown_hours: Optional[OceanLaunchSpecSchedulingShutdownHoursArgs] = None,
scheduling_tasks: Optional[Sequence[OceanLaunchSpecSchedulingTaskArgs]] = None,
security_groups: Optional[Sequence[str]] = None,
strategies: Optional[Sequence[OceanLaunchSpecStrategyArgs]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[OceanLaunchSpecTagArgs]] = None,
taints: Optional[Sequence[OceanLaunchSpecTaintArgs]] = None,
update_policy: Optional[OceanLaunchSpecUpdatePolicyArgs] = None,
associate_public_ip_address: Optional[bool] = None)
func NewOceanLaunchSpec(ctx *Context, name string, args OceanLaunchSpecArgs, opts ...ResourceOption) (*OceanLaunchSpec, error)
public OceanLaunchSpec(string name, OceanLaunchSpecArgs args, CustomResourceOptions? opts = null)
public OceanLaunchSpec(String name, OceanLaunchSpecArgs args)
public OceanLaunchSpec(String name, OceanLaunchSpecArgs args, CustomResourceOptions options)
type: spotinst:aws:OceanLaunchSpec
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 OceanLaunchSpecArgs
- 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 OceanLaunchSpecArgs
- 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 OceanLaunchSpecArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanLaunchSpecArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanLaunchSpecArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var oceanLaunchSpecResource = new SpotInst.Aws.OceanLaunchSpec("oceanLaunchSpecResource", new()
{
OceanId = "string",
Name = "string",
UserData = "string",
Labels = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecLabelArgs
{
Key = "string",
Value = "string",
},
},
BlockDeviceMappings = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecBlockDeviceMappingArgs
{
DeviceName = "string",
Ebs = new SpotInst.Aws.Inputs.OceanLaunchSpecBlockDeviceMappingEbsArgs
{
DeleteOnTermination = false,
DynamicVolumeSize = new SpotInst.Aws.Inputs.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs
{
BaseSize = 0,
Resource = "string",
SizePerResourceUnit = 0,
},
Encrypted = false,
Iops = 0,
KmsKeyId = "string",
SnapshotId = "string",
Throughput = 0,
VolumeSize = 0,
VolumeType = "string",
},
NoDevice = "string",
VirtualName = "string",
},
},
CreateOptions = new SpotInst.Aws.Inputs.OceanLaunchSpecCreateOptionsArgs
{
InitialNodes = 0,
},
DeleteOptions = new SpotInst.Aws.Inputs.OceanLaunchSpecDeleteOptionsArgs
{
ForceDelete = false,
DeleteNodes = false,
},
ElasticIpPools = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecElasticIpPoolArgs
{
TagSelector = new SpotInst.Aws.Inputs.OceanLaunchSpecElasticIpPoolTagSelectorArgs
{
TagKey = "string",
TagValue = "string",
},
},
},
EphemeralStorages = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecEphemeralStorageArgs
{
EphemeralStorageDeviceName = "string",
},
},
IamInstanceProfile = "string",
ImageId = "string",
Images = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecImageArgs
{
ImageId = "string",
},
},
InstanceMetadataOptions = new SpotInst.Aws.Inputs.OceanLaunchSpecInstanceMetadataOptionsArgs
{
HttpTokens = "string",
HttpPutResponseHopLimit = 0,
},
InstanceTypes = new[]
{
"string",
},
InstanceTypesFilters = new SpotInst.Aws.Inputs.OceanLaunchSpecInstanceTypesFiltersArgs
{
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",
},
},
AutoscaleHeadroomsAutomatics = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs
{
AutoHeadroomPercentage = 0,
},
},
AutoscaleDowns = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecAutoscaleDownArgs
{
MaxScaleDownPercentage = 0,
},
},
AutoscaleHeadrooms = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecAutoscaleHeadroomArgs
{
NumOfUnits = 0,
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
},
},
PreferredOdTypes = new[]
{
"string",
},
PreferredSpotTypes = new[]
{
"string",
},
ResourceLimits = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecResourceLimitArgs
{
MaxInstanceCount = 0,
MinInstanceCount = 0,
},
},
RestrictScaleDown = false,
RootVolumeSize = 0,
SchedulingShutdownHours = new SpotInst.Aws.Inputs.OceanLaunchSpecSchedulingShutdownHoursArgs
{
TimeWindows = new[]
{
"string",
},
IsEnabled = false,
},
SchedulingTasks = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecSchedulingTaskArgs
{
CronExpression = "string",
IsEnabled = false,
TaskType = "string",
TaskHeadrooms = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecSchedulingTaskTaskHeadroomArgs
{
NumOfUnits = 0,
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
},
},
},
},
SecurityGroups = new[]
{
"string",
},
Strategies = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecStrategyArgs
{
SpotPercentage = 0,
},
},
SubnetIds = new[]
{
"string",
},
Tags = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecTagArgs
{
Key = "string",
Value = "string",
},
},
Taints = new[]
{
new SpotInst.Aws.Inputs.OceanLaunchSpecTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
UpdatePolicy = new SpotInst.Aws.Inputs.OceanLaunchSpecUpdatePolicyArgs
{
ShouldRoll = false,
RollConfig = new SpotInst.Aws.Inputs.OceanLaunchSpecUpdatePolicyRollConfigArgs
{
BatchSizePercentage = 0,
},
},
AssociatePublicIpAddress = false,
});
example, err := aws.NewOceanLaunchSpec(ctx, "oceanLaunchSpecResource", &aws.OceanLaunchSpecArgs{
OceanId: pulumi.String("string"),
Name: pulumi.String("string"),
UserData: pulumi.String("string"),
Labels: aws.OceanLaunchSpecLabelArray{
&aws.OceanLaunchSpecLabelArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
BlockDeviceMappings: aws.OceanLaunchSpecBlockDeviceMappingArray{
&aws.OceanLaunchSpecBlockDeviceMappingArgs{
DeviceName: pulumi.String("string"),
Ebs: &aws.OceanLaunchSpecBlockDeviceMappingEbsArgs{
DeleteOnTermination: pulumi.Bool(false),
DynamicVolumeSize: &aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs{
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"),
},
NoDevice: pulumi.String("string"),
VirtualName: pulumi.String("string"),
},
},
CreateOptions: &aws.OceanLaunchSpecCreateOptionsArgs{
InitialNodes: pulumi.Int(0),
},
DeleteOptions: &aws.OceanLaunchSpecDeleteOptionsArgs{
ForceDelete: pulumi.Bool(false),
DeleteNodes: pulumi.Bool(false),
},
ElasticIpPools: aws.OceanLaunchSpecElasticIpPoolArray{
&aws.OceanLaunchSpecElasticIpPoolArgs{
TagSelector: &aws.OceanLaunchSpecElasticIpPoolTagSelectorArgs{
TagKey: pulumi.String("string"),
TagValue: pulumi.String("string"),
},
},
},
EphemeralStorages: aws.OceanLaunchSpecEphemeralStorageArray{
&aws.OceanLaunchSpecEphemeralStorageArgs{
EphemeralStorageDeviceName: pulumi.String("string"),
},
},
IamInstanceProfile: pulumi.String("string"),
ImageId: pulumi.String("string"),
Images: aws.OceanLaunchSpecImageArray{
&aws.OceanLaunchSpecImageArgs{
ImageId: pulumi.String("string"),
},
},
InstanceMetadataOptions: &aws.OceanLaunchSpecInstanceMetadataOptionsArgs{
HttpTokens: pulumi.String("string"),
HttpPutResponseHopLimit: pulumi.Int(0),
},
InstanceTypes: pulumi.StringArray{
pulumi.String("string"),
},
InstanceTypesFilters: &aws.OceanLaunchSpecInstanceTypesFiltersArgs{
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"),
},
},
AutoscaleHeadroomsAutomatics: aws.OceanLaunchSpecAutoscaleHeadroomsAutomaticArray{
&aws.OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs{
AutoHeadroomPercentage: pulumi.Int(0),
},
},
AutoscaleDowns: aws.OceanLaunchSpecAutoscaleDownArray{
&aws.OceanLaunchSpecAutoscaleDownArgs{
MaxScaleDownPercentage: pulumi.Float64(0),
},
},
AutoscaleHeadrooms: aws.OceanLaunchSpecAutoscaleHeadroomArray{
&aws.OceanLaunchSpecAutoscaleHeadroomArgs{
NumOfUnits: pulumi.Int(0),
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
},
},
PreferredOdTypes: pulumi.StringArray{
pulumi.String("string"),
},
PreferredSpotTypes: pulumi.StringArray{
pulumi.String("string"),
},
ResourceLimits: aws.OceanLaunchSpecResourceLimitArray{
&aws.OceanLaunchSpecResourceLimitArgs{
MaxInstanceCount: pulumi.Int(0),
MinInstanceCount: pulumi.Int(0),
},
},
RestrictScaleDown: pulumi.Bool(false),
RootVolumeSize: pulumi.Int(0),
SchedulingShutdownHours: &aws.OceanLaunchSpecSchedulingShutdownHoursArgs{
TimeWindows: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
},
SchedulingTasks: aws.OceanLaunchSpecSchedulingTaskArray{
&aws.OceanLaunchSpecSchedulingTaskArgs{
CronExpression: pulumi.String("string"),
IsEnabled: pulumi.Bool(false),
TaskType: pulumi.String("string"),
TaskHeadrooms: aws.OceanLaunchSpecSchedulingTaskTaskHeadroomArray{
&aws.OceanLaunchSpecSchedulingTaskTaskHeadroomArgs{
NumOfUnits: pulumi.Int(0),
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
},
},
},
},
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Strategies: aws.OceanLaunchSpecStrategyArray{
&aws.OceanLaunchSpecStrategyArgs{
SpotPercentage: pulumi.Int(0),
},
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: aws.OceanLaunchSpecTagArray{
&aws.OceanLaunchSpecTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Taints: aws.OceanLaunchSpecTaintArray{
&aws.OceanLaunchSpecTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdatePolicy: &aws.OceanLaunchSpecUpdatePolicyArgs{
ShouldRoll: pulumi.Bool(false),
RollConfig: &aws.OceanLaunchSpecUpdatePolicyRollConfigArgs{
BatchSizePercentage: pulumi.Int(0),
},
},
AssociatePublicIpAddress: pulumi.Bool(false),
})
var oceanLaunchSpecResource = new OceanLaunchSpec("oceanLaunchSpecResource", OceanLaunchSpecArgs.builder()
.oceanId("string")
.name("string")
.userData("string")
.labels(OceanLaunchSpecLabelArgs.builder()
.key("string")
.value("string")
.build())
.blockDeviceMappings(OceanLaunchSpecBlockDeviceMappingArgs.builder()
.deviceName("string")
.ebs(OceanLaunchSpecBlockDeviceMappingEbsArgs.builder()
.deleteOnTermination(false)
.dynamicVolumeSize(OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs.builder()
.baseSize(0)
.resource("string")
.sizePerResourceUnit(0)
.build())
.encrypted(false)
.iops(0)
.kmsKeyId("string")
.snapshotId("string")
.throughput(0)
.volumeSize(0)
.volumeType("string")
.build())
.noDevice("string")
.virtualName("string")
.build())
.createOptions(OceanLaunchSpecCreateOptionsArgs.builder()
.initialNodes(0)
.build())
.deleteOptions(OceanLaunchSpecDeleteOptionsArgs.builder()
.forceDelete(false)
.deleteNodes(false)
.build())
.elasticIpPools(OceanLaunchSpecElasticIpPoolArgs.builder()
.tagSelector(OceanLaunchSpecElasticIpPoolTagSelectorArgs.builder()
.tagKey("string")
.tagValue("string")
.build())
.build())
.ephemeralStorages(OceanLaunchSpecEphemeralStorageArgs.builder()
.ephemeralStorageDeviceName("string")
.build())
.iamInstanceProfile("string")
.imageId("string")
.images(OceanLaunchSpecImageArgs.builder()
.imageId("string")
.build())
.instanceMetadataOptions(OceanLaunchSpecInstanceMetadataOptionsArgs.builder()
.httpTokens("string")
.httpPutResponseHopLimit(0)
.build())
.instanceTypes("string")
.instanceTypesFilters(OceanLaunchSpecInstanceTypesFiltersArgs.builder()
.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())
.autoscaleHeadroomsAutomatics(OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs.builder()
.autoHeadroomPercentage(0)
.build())
.autoscaleDowns(OceanLaunchSpecAutoscaleDownArgs.builder()
.maxScaleDownPercentage(0)
.build())
.autoscaleHeadrooms(OceanLaunchSpecAutoscaleHeadroomArgs.builder()
.numOfUnits(0)
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.build())
.preferredOdTypes("string")
.preferredSpotTypes("string")
.resourceLimits(OceanLaunchSpecResourceLimitArgs.builder()
.maxInstanceCount(0)
.minInstanceCount(0)
.build())
.restrictScaleDown(false)
.rootVolumeSize(0)
.schedulingShutdownHours(OceanLaunchSpecSchedulingShutdownHoursArgs.builder()
.timeWindows("string")
.isEnabled(false)
.build())
.schedulingTasks(OceanLaunchSpecSchedulingTaskArgs.builder()
.cronExpression("string")
.isEnabled(false)
.taskType("string")
.taskHeadrooms(OceanLaunchSpecSchedulingTaskTaskHeadroomArgs.builder()
.numOfUnits(0)
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.build())
.build())
.securityGroups("string")
.strategies(OceanLaunchSpecStrategyArgs.builder()
.spotPercentage(0)
.build())
.subnetIds("string")
.tags(OceanLaunchSpecTagArgs.builder()
.key("string")
.value("string")
.build())
.taints(OceanLaunchSpecTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.updatePolicy(OceanLaunchSpecUpdatePolicyArgs.builder()
.shouldRoll(false)
.rollConfig(OceanLaunchSpecUpdatePolicyRollConfigArgs.builder()
.batchSizePercentage(0)
.build())
.build())
.associatePublicIpAddress(false)
.build());
ocean_launch_spec_resource = spotinst.aws.OceanLaunchSpec("oceanLaunchSpecResource",
ocean_id="string",
name="string",
user_data="string",
labels=[spotinst.aws.OceanLaunchSpecLabelArgs(
key="string",
value="string",
)],
block_device_mappings=[spotinst.aws.OceanLaunchSpecBlockDeviceMappingArgs(
device_name="string",
ebs=spotinst.aws.OceanLaunchSpecBlockDeviceMappingEbsArgs(
delete_on_termination=False,
dynamic_volume_size=spotinst.aws.OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs(
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",
),
no_device="string",
virtual_name="string",
)],
create_options=spotinst.aws.OceanLaunchSpecCreateOptionsArgs(
initial_nodes=0,
),
delete_options=spotinst.aws.OceanLaunchSpecDeleteOptionsArgs(
force_delete=False,
delete_nodes=False,
),
elastic_ip_pools=[spotinst.aws.OceanLaunchSpecElasticIpPoolArgs(
tag_selector=spotinst.aws.OceanLaunchSpecElasticIpPoolTagSelectorArgs(
tag_key="string",
tag_value="string",
),
)],
ephemeral_storages=[spotinst.aws.OceanLaunchSpecEphemeralStorageArgs(
ephemeral_storage_device_name="string",
)],
iam_instance_profile="string",
image_id="string",
images=[spotinst.aws.OceanLaunchSpecImageArgs(
image_id="string",
)],
instance_metadata_options=spotinst.aws.OceanLaunchSpecInstanceMetadataOptionsArgs(
http_tokens="string",
http_put_response_hop_limit=0,
),
instance_types=["string"],
instance_types_filters=spotinst.aws.OceanLaunchSpecInstanceTypesFiltersArgs(
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"],
),
autoscale_headrooms_automatics=[spotinst.aws.OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs(
auto_headroom_percentage=0,
)],
autoscale_downs=[spotinst.aws.OceanLaunchSpecAutoscaleDownArgs(
max_scale_down_percentage=0,
)],
autoscale_headrooms=[spotinst.aws.OceanLaunchSpecAutoscaleHeadroomArgs(
num_of_units=0,
cpu_per_unit=0,
gpu_per_unit=0,
memory_per_unit=0,
)],
preferred_od_types=["string"],
preferred_spot_types=["string"],
resource_limits=[spotinst.aws.OceanLaunchSpecResourceLimitArgs(
max_instance_count=0,
min_instance_count=0,
)],
restrict_scale_down=False,
root_volume_size=0,
scheduling_shutdown_hours=spotinst.aws.OceanLaunchSpecSchedulingShutdownHoursArgs(
time_windows=["string"],
is_enabled=False,
),
scheduling_tasks=[spotinst.aws.OceanLaunchSpecSchedulingTaskArgs(
cron_expression="string",
is_enabled=False,
task_type="string",
task_headrooms=[spotinst.aws.OceanLaunchSpecSchedulingTaskTaskHeadroomArgs(
num_of_units=0,
cpu_per_unit=0,
gpu_per_unit=0,
memory_per_unit=0,
)],
)],
security_groups=["string"],
strategies=[spotinst.aws.OceanLaunchSpecStrategyArgs(
spot_percentage=0,
)],
subnet_ids=["string"],
tags=[spotinst.aws.OceanLaunchSpecTagArgs(
key="string",
value="string",
)],
taints=[spotinst.aws.OceanLaunchSpecTaintArgs(
effect="string",
key="string",
value="string",
)],
update_policy=spotinst.aws.OceanLaunchSpecUpdatePolicyArgs(
should_roll=False,
roll_config=spotinst.aws.OceanLaunchSpecUpdatePolicyRollConfigArgs(
batch_size_percentage=0,
),
),
associate_public_ip_address=False)
const oceanLaunchSpecResource = new spotinst.aws.OceanLaunchSpec("oceanLaunchSpecResource", {
oceanId: "string",
name: "string",
userData: "string",
labels: [{
key: "string",
value: "string",
}],
blockDeviceMappings: [{
deviceName: "string",
ebs: {
deleteOnTermination: false,
dynamicVolumeSize: {
baseSize: 0,
resource: "string",
sizePerResourceUnit: 0,
},
encrypted: false,
iops: 0,
kmsKeyId: "string",
snapshotId: "string",
throughput: 0,
volumeSize: 0,
volumeType: "string",
},
noDevice: "string",
virtualName: "string",
}],
createOptions: {
initialNodes: 0,
},
deleteOptions: {
forceDelete: false,
deleteNodes: false,
},
elasticIpPools: [{
tagSelector: {
tagKey: "string",
tagValue: "string",
},
}],
ephemeralStorages: [{
ephemeralStorageDeviceName: "string",
}],
iamInstanceProfile: "string",
imageId: "string",
images: [{
imageId: "string",
}],
instanceMetadataOptions: {
httpTokens: "string",
httpPutResponseHopLimit: 0,
},
instanceTypes: ["string"],
instanceTypesFilters: {
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"],
},
autoscaleHeadroomsAutomatics: [{
autoHeadroomPercentage: 0,
}],
autoscaleDowns: [{
maxScaleDownPercentage: 0,
}],
autoscaleHeadrooms: [{
numOfUnits: 0,
cpuPerUnit: 0,
gpuPerUnit: 0,
memoryPerUnit: 0,
}],
preferredOdTypes: ["string"],
preferredSpotTypes: ["string"],
resourceLimits: [{
maxInstanceCount: 0,
minInstanceCount: 0,
}],
restrictScaleDown: false,
rootVolumeSize: 0,
schedulingShutdownHours: {
timeWindows: ["string"],
isEnabled: false,
},
schedulingTasks: [{
cronExpression: "string",
isEnabled: false,
taskType: "string",
taskHeadrooms: [{
numOfUnits: 0,
cpuPerUnit: 0,
gpuPerUnit: 0,
memoryPerUnit: 0,
}],
}],
securityGroups: ["string"],
strategies: [{
spotPercentage: 0,
}],
subnetIds: ["string"],
tags: [{
key: "string",
value: "string",
}],
taints: [{
effect: "string",
key: "string",
value: "string",
}],
updatePolicy: {
shouldRoll: false,
rollConfig: {
batchSizePercentage: 0,
},
},
associatePublicIpAddress: false,
});
type: spotinst:aws:OceanLaunchSpec
properties:
associatePublicIpAddress: false
autoscaleDowns:
- maxScaleDownPercentage: 0
autoscaleHeadrooms:
- cpuPerUnit: 0
gpuPerUnit: 0
memoryPerUnit: 0
numOfUnits: 0
autoscaleHeadroomsAutomatics:
- autoHeadroomPercentage: 0
blockDeviceMappings:
- deviceName: string
ebs:
deleteOnTermination: false
dynamicVolumeSize:
baseSize: 0
resource: string
sizePerResourceUnit: 0
encrypted: false
iops: 0
kmsKeyId: string
snapshotId: string
throughput: 0
volumeSize: 0
volumeType: string
noDevice: string
virtualName: string
createOptions:
initialNodes: 0
deleteOptions:
deleteNodes: false
forceDelete: false
elasticIpPools:
- tagSelector:
tagKey: string
tagValue: string
ephemeralStorages:
- ephemeralStorageDeviceName: string
iamInstanceProfile: string
imageId: string
images:
- imageId: string
instanceMetadataOptions:
httpPutResponseHopLimit: 0
httpTokens: string
instanceTypes:
- string
instanceTypesFilters:
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
labels:
- key: string
value: string
name: string
oceanId: string
preferredOdTypes:
- string
preferredSpotTypes:
- string
resourceLimits:
- maxInstanceCount: 0
minInstanceCount: 0
restrictScaleDown: false
rootVolumeSize: 0
schedulingShutdownHours:
isEnabled: false
timeWindows:
- string
schedulingTasks:
- cronExpression: string
isEnabled: false
taskHeadrooms:
- cpuPerUnit: 0
gpuPerUnit: 0
memoryPerUnit: 0
numOfUnits: 0
taskType: string
securityGroups:
- string
strategies:
- spotPercentage: 0
subnetIds:
- string
tags:
- key: string
value: string
taints:
- effect: string
key: string
value: string
updatePolicy:
rollConfig:
batchSizePercentage: 0
shouldRoll: false
userData: string
OceanLaunchSpec 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 OceanLaunchSpec resource accepts the following input properties:
- Ocean
Id string - The ID of the Ocean cluster.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscale
Downs List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Autoscale Down> - Auto Scaling scale down operations.
- Autoscale
Headrooms List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Autoscale Headroom> - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- Autoscale
Headrooms List<Pulumi.Automatics Spot Inst. Aws. Inputs. Ocean Launch Spec Autoscale Headrooms Automatic> - Set automatic headroom per launch spec.
- Block
Device List<Pulumi.Mappings Spot Inst. Aws. Inputs. Ocean Launch Spec Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Create
Options Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Create Options - Delete
Options Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Delete Options - Elastic
Ip List<Pulumi.Pools Spot Inst. Aws. Inputs. Ocean Launch Spec Elastic Ip Pool> - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- Ephemeral
Storages List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Ephemeral Storage> - Iam
Instance stringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string - ID of the image used to launch the instances.
- Images
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Image> - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- Instance
Metadata Pulumi.Options Spot Inst. Aws. Inputs. Ocean Launch Spec Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- Instance
Types List<string> - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- Instance
Types Pulumi.Filters Spot Inst. Aws. Inputs. Ocean Launch Spec Instance Types Filters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- Labels
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Label> - Optionally adds labels to instances launched in the cluster.
- Name string
- The name of the Virtual Node Group.
- Preferred
Od List<string>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Preferred
Spot List<string>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Resource
Limits List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Resource Limit> - Restrict
Scale boolDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - Root
Volume intSize - Set root volume size (in GB).
- Scheduling
Shutdown Pulumi.Hours Spot Inst. Aws. Inputs. Ocean Launch Spec Scheduling Shutdown Hours - Used to specify times that the nodes in the virtual node group will be taken down.
- Scheduling
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Scheduling Task> - Used to define scheduled tasks such as a manual headroom update.
- Security
Groups List<string> - Optionally adds security group IDs.
- Strategies
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Strategy> - Subnet
Ids List<string> - A list of subnet IDs.
- List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Tag> - A key/value mapping of tags to assign to the resource.
- Taints
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Taint> - Optionally adds labels to instances launched in the cluster.
- Update
Policy Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Update Policy - User
Data string - Base64-encoded MIME user data to make available to the instances.
- Ocean
Id string - The ID of the Ocean cluster.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscale
Downs []OceanLaunch Spec Autoscale Down Args - Auto Scaling scale down operations.
- Autoscale
Headrooms []OceanLaunch Spec Autoscale Headroom Args - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- Autoscale
Headrooms []OceanAutomatics Launch Spec Autoscale Headrooms Automatic Args - Set automatic headroom per launch spec.
- Block
Device []OceanMappings Launch Spec Block Device Mapping Args - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Create
Options OceanLaunch Spec Create Options Args - Delete
Options OceanLaunch Spec Delete Options Args - Elastic
Ip []OceanPools Launch Spec Elastic Ip Pool Args - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- Ephemeral
Storages []OceanLaunch Spec Ephemeral Storage Args - Iam
Instance stringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string - ID of the image used to launch the instances.
- Images
[]Ocean
Launch Spec Image Args - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- Instance
Metadata OceanOptions Launch Spec Instance Metadata Options Args - Ocean instance metadata options object for IMDSv2.
- Instance
Types []string - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- Instance
Types OceanFilters Launch Spec Instance Types Filters Args - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- Labels
[]Ocean
Launch Spec Label Args - Optionally adds labels to instances launched in the cluster.
- Name string
- The name of the Virtual Node Group.
- Preferred
Od []stringTypes - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Preferred
Spot []stringTypes - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Resource
Limits []OceanLaunch Spec Resource Limit Args - Restrict
Scale boolDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - Root
Volume intSize - Set root volume size (in GB).
- Scheduling
Shutdown OceanHours Launch Spec Scheduling Shutdown Hours Args - Used to specify times that the nodes in the virtual node group will be taken down.
- Scheduling
Tasks []OceanLaunch Spec Scheduling Task Args - Used to define scheduled tasks such as a manual headroom update.
- Security
Groups []string - Optionally adds security group IDs.
- Strategies
[]Ocean
Launch Spec Strategy Args - Subnet
Ids []string - A list of subnet IDs.
- []Ocean
Launch Spec Tag Args - A key/value mapping of tags to assign to the resource.
- Taints
[]Ocean
Launch Spec Taint Args - Optionally adds labels to instances launched in the cluster.
- Update
Policy OceanLaunch Spec Update Policy Args - User
Data string - Base64-encoded MIME user data to make available to the instances.
- ocean
Id String - The ID of the Ocean cluster.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscale
Downs List<OceanLaunch Spec Autoscale Down> - Auto Scaling scale down operations.
- autoscale
Headrooms List<OceanLaunch Spec Autoscale Headroom> - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale
Headrooms List<OceanAutomatics Launch Spec Autoscale Headrooms Automatic> - Set automatic headroom per launch spec.
- block
Device List<OceanMappings Launch Spec Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- create
Options OceanLaunch Spec Create Options - delete
Options OceanLaunch Spec Delete Options - elastic
Ip List<OceanPools Launch Spec Elastic Ip Pool> - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral
Storages List<OceanLaunch Spec Ephemeral Storage> - iam
Instance StringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id String - ID of the image used to launch the instances.
- images
List<Ocean
Launch Spec Image> - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance
Metadata OceanOptions Launch Spec Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- instance
Types List<String> - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance
Types OceanFilters Launch Spec Instance Types Filters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels
List<Ocean
Launch Spec Label> - Optionally adds labels to instances launched in the cluster.
- name String
- The name of the Virtual Node Group.
- preferred
Od List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred
Spot List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource
Limits List<OceanLaunch Spec Resource Limit> - restrict
Scale BooleanDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root
Volume IntegerSize - Set root volume size (in GB).
- scheduling
Shutdown OceanHours Launch Spec Scheduling Shutdown Hours - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling
Tasks List<OceanLaunch Spec Scheduling Task> - Used to define scheduled tasks such as a manual headroom update.
- security
Groups List<String> - Optionally adds security group IDs.
- strategies
List<Ocean
Launch Spec Strategy> - subnet
Ids List<String> - A list of subnet IDs.
- List<Ocean
Launch Spec Tag> - A key/value mapping of tags to assign to the resource.
- taints
List<Ocean
Launch Spec Taint> - Optionally adds labels to instances launched in the cluster.
- update
Policy OceanLaunch Spec Update Policy - user
Data String - Base64-encoded MIME user data to make available to the instances.
- ocean
Id string - The ID of the Ocean cluster.
- associate
Public booleanIp Address - Configure public IP address allocation.
- autoscale
Downs OceanLaunch Spec Autoscale Down[] - Auto Scaling scale down operations.
- autoscale
Headrooms OceanLaunch Spec Autoscale Headroom[] - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale
Headrooms OceanAutomatics Launch Spec Autoscale Headrooms Automatic[] - Set automatic headroom per launch spec.
- block
Device OceanMappings Launch Spec Block Device Mapping[] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- create
Options OceanLaunch Spec Create Options - delete
Options OceanLaunch Spec Delete Options - elastic
Ip OceanPools Launch Spec Elastic Ip Pool[] - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral
Storages OceanLaunch Spec Ephemeral Storage[] - iam
Instance stringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id string - ID of the image used to launch the instances.
- images
Ocean
Launch Spec Image[] - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance
Metadata OceanOptions Launch Spec Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- instance
Types string[] - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance
Types OceanFilters Launch Spec Instance Types Filters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels
Ocean
Launch Spec Label[] - Optionally adds labels to instances launched in the cluster.
- name string
- The name of the Virtual Node Group.
- preferred
Od string[]Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred
Spot string[]Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource
Limits OceanLaunch Spec Resource Limit[] - restrict
Scale booleanDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root
Volume numberSize - Set root volume size (in GB).
- scheduling
Shutdown OceanHours Launch Spec Scheduling Shutdown Hours - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling
Tasks OceanLaunch Spec Scheduling Task[] - Used to define scheduled tasks such as a manual headroom update.
- security
Groups string[] - Optionally adds security group IDs.
- strategies
Ocean
Launch Spec Strategy[] - subnet
Ids string[] - A list of subnet IDs.
- Ocean
Launch Spec Tag[] - A key/value mapping of tags to assign to the resource.
- taints
Ocean
Launch Spec Taint[] - Optionally adds labels to instances launched in the cluster.
- update
Policy OceanLaunch Spec Update Policy - user
Data string - Base64-encoded MIME user data to make available to the instances.
- ocean_
id str - The ID of the Ocean cluster.
- associate_
public_ boolip_ address - Configure public IP address allocation.
- autoscale_
downs Sequence[OceanLaunch Spec Autoscale Down Args] - Auto Scaling scale down operations.
- autoscale_
headrooms Sequence[OceanLaunch Spec Autoscale Headroom Args] - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale_
headrooms_ Sequence[Oceanautomatics Launch Spec Autoscale Headrooms Automatic Args] - Set automatic headroom per launch spec.
- block_
device_ Sequence[Oceanmappings Launch Spec Block Device Mapping Args] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- create_
options OceanLaunch Spec Create Options Args - delete_
options OceanLaunch Spec Delete Options Args - elastic_
ip_ Sequence[Oceanpools Launch Spec Elastic Ip Pool Args] - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral_
storages Sequence[OceanLaunch Spec Ephemeral Storage Args] - iam_
instance_ strprofile - The ARN or name of an IAM instance profile to associate with launched instances.
- image_
id str - ID of the image used to launch the instances.
- images
Sequence[Ocean
Launch Spec Image Args] - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance_
metadata_ Oceanoptions Launch Spec Instance Metadata Options Args - Ocean instance metadata options object for IMDSv2.
- instance_
types Sequence[str] - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance_
types_ Oceanfilters Launch Spec Instance Types Filters Args - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels
Sequence[Ocean
Launch Spec Label Args] - Optionally adds labels to instances launched in the cluster.
- name str
- The name of the Virtual Node Group.
- preferred_
od_ Sequence[str]types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred_
spot_ Sequence[str]types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource_
limits Sequence[OceanLaunch Spec Resource Limit Args] - restrict_
scale_ booldown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root_
volume_ intsize - Set root volume size (in GB).
- scheduling_
shutdown_ Oceanhours Launch Spec Scheduling Shutdown Hours Args - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling_
tasks Sequence[OceanLaunch Spec Scheduling Task Args] - Used to define scheduled tasks such as a manual headroom update.
- security_
groups Sequence[str] - Optionally adds security group IDs.
- strategies
Sequence[Ocean
Launch Spec Strategy Args] - subnet_
ids Sequence[str] - A list of subnet IDs.
- Sequence[Ocean
Launch Spec Tag Args] - A key/value mapping of tags to assign to the resource.
- taints
Sequence[Ocean
Launch Spec Taint Args] - Optionally adds labels to instances launched in the cluster.
- update_
policy OceanLaunch Spec Update Policy Args - user_
data str - Base64-encoded MIME user data to make available to the instances.
- ocean
Id String - The ID of the Ocean cluster.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscale
Downs List<Property Map> - Auto Scaling scale down operations.
- autoscale
Headrooms List<Property Map> - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale
Headrooms List<Property Map>Automatics - Set automatic headroom per launch spec.
- 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.
- create
Options Property Map - delete
Options Property Map - elastic
Ip List<Property Map>Pools - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral
Storages List<Property Map> - iam
Instance StringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id String - ID of the image used to launch the instances.
- images List<Property Map>
- Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance
Metadata Property MapOptions - Ocean instance metadata options object for IMDSv2.
- instance
Types List<String> - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance
Types Property MapFilters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels List<Property Map>
- Optionally adds labels to instances launched in the cluster.
- name String
- The name of the Virtual Node Group.
- preferred
Od List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred
Spot List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource
Limits List<Property Map> - restrict
Scale BooleanDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root
Volume NumberSize - Set root volume size (in GB).
- scheduling
Shutdown Property MapHours - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling
Tasks List<Property Map> - Used to define scheduled tasks such as a manual headroom update.
- security
Groups List<String> - Optionally adds security group IDs.
- strategies List<Property Map>
- subnet
Ids List<String> - A list of subnet IDs.
- List<Property Map>
- A key/value mapping of tags to assign to the resource.
- taints List<Property Map>
- Optionally adds labels to instances launched in the cluster.
- update
Policy Property Map - user
Data String - Base64-encoded MIME user data to make available to the instances.
Outputs
All input properties are implicitly available as output properties. Additionally, the OceanLaunchSpec 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 OceanLaunchSpec Resource
Get an existing OceanLaunchSpec 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?: OceanLaunchSpecState, opts?: CustomResourceOptions): OceanLaunchSpec
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
associate_public_ip_address: Optional[bool] = None,
autoscale_downs: Optional[Sequence[OceanLaunchSpecAutoscaleDownArgs]] = None,
autoscale_headrooms: Optional[Sequence[OceanLaunchSpecAutoscaleHeadroomArgs]] = None,
autoscale_headrooms_automatics: Optional[Sequence[OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs]] = None,
block_device_mappings: Optional[Sequence[OceanLaunchSpecBlockDeviceMappingArgs]] = None,
create_options: Optional[OceanLaunchSpecCreateOptionsArgs] = None,
delete_options: Optional[OceanLaunchSpecDeleteOptionsArgs] = None,
elastic_ip_pools: Optional[Sequence[OceanLaunchSpecElasticIpPoolArgs]] = None,
ephemeral_storages: Optional[Sequence[OceanLaunchSpecEphemeralStorageArgs]] = None,
iam_instance_profile: Optional[str] = None,
image_id: Optional[str] = None,
images: Optional[Sequence[OceanLaunchSpecImageArgs]] = None,
instance_metadata_options: Optional[OceanLaunchSpecInstanceMetadataOptionsArgs] = None,
instance_types: Optional[Sequence[str]] = None,
instance_types_filters: Optional[OceanLaunchSpecInstanceTypesFiltersArgs] = None,
labels: Optional[Sequence[OceanLaunchSpecLabelArgs]] = None,
name: Optional[str] = None,
ocean_id: Optional[str] = None,
preferred_od_types: Optional[Sequence[str]] = None,
preferred_spot_types: Optional[Sequence[str]] = None,
resource_limits: Optional[Sequence[OceanLaunchSpecResourceLimitArgs]] = None,
restrict_scale_down: Optional[bool] = None,
root_volume_size: Optional[int] = None,
scheduling_shutdown_hours: Optional[OceanLaunchSpecSchedulingShutdownHoursArgs] = None,
scheduling_tasks: Optional[Sequence[OceanLaunchSpecSchedulingTaskArgs]] = None,
security_groups: Optional[Sequence[str]] = None,
strategies: Optional[Sequence[OceanLaunchSpecStrategyArgs]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[OceanLaunchSpecTagArgs]] = None,
taints: Optional[Sequence[OceanLaunchSpecTaintArgs]] = None,
update_policy: Optional[OceanLaunchSpecUpdatePolicyArgs] = None,
user_data: Optional[str] = None) -> OceanLaunchSpec
func GetOceanLaunchSpec(ctx *Context, name string, id IDInput, state *OceanLaunchSpecState, opts ...ResourceOption) (*OceanLaunchSpec, error)
public static OceanLaunchSpec Get(string name, Input<string> id, OceanLaunchSpecState? state, CustomResourceOptions? opts = null)
public static OceanLaunchSpec get(String name, Output<String> id, OceanLaunchSpecState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscale
Downs List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Autoscale Down> - Auto Scaling scale down operations.
- Autoscale
Headrooms List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Autoscale Headroom> - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- Autoscale
Headrooms List<Pulumi.Automatics Spot Inst. Aws. Inputs. Ocean Launch Spec Autoscale Headrooms Automatic> - Set automatic headroom per launch spec.
- Block
Device List<Pulumi.Mappings Spot Inst. Aws. Inputs. Ocean Launch Spec Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Create
Options Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Create Options - Delete
Options Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Delete Options - Elastic
Ip List<Pulumi.Pools Spot Inst. Aws. Inputs. Ocean Launch Spec Elastic Ip Pool> - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- Ephemeral
Storages List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Ephemeral Storage> - Iam
Instance stringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string - ID of the image used to launch the instances.
- Images
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Image> - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- Instance
Metadata Pulumi.Options Spot Inst. Aws. Inputs. Ocean Launch Spec Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- Instance
Types List<string> - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- Instance
Types Pulumi.Filters Spot Inst. Aws. Inputs. Ocean Launch Spec Instance Types Filters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- Labels
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Label> - Optionally adds labels to instances launched in the cluster.
- Name string
- The name of the Virtual Node Group.
- Ocean
Id string - The ID of the Ocean cluster.
- Preferred
Od List<string>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Preferred
Spot List<string>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Resource
Limits List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Resource Limit> - Restrict
Scale boolDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - Root
Volume intSize - Set root volume size (in GB).
- Scheduling
Shutdown Pulumi.Hours Spot Inst. Aws. Inputs. Ocean Launch Spec Scheduling Shutdown Hours - Used to specify times that the nodes in the virtual node group will be taken down.
- Scheduling
Tasks List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Scheduling Task> - Used to define scheduled tasks such as a manual headroom update.
- Security
Groups List<string> - Optionally adds security group IDs.
- Strategies
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Strategy> - Subnet
Ids List<string> - A list of subnet IDs.
- List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Tag> - A key/value mapping of tags to assign to the resource.
- Taints
List<Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Taint> - Optionally adds labels to instances launched in the cluster.
- Update
Policy Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Update Policy - User
Data string - Base64-encoded MIME user data to make available to the instances.
- Associate
Public boolIp Address - Configure public IP address allocation.
- Autoscale
Downs []OceanLaunch Spec Autoscale Down Args - Auto Scaling scale down operations.
- Autoscale
Headrooms []OceanLaunch Spec Autoscale Headroom Args - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- Autoscale
Headrooms []OceanAutomatics Launch Spec Autoscale Headrooms Automatic Args - Set automatic headroom per launch spec.
- Block
Device []OceanMappings Launch Spec Block Device Mapping Args - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- Create
Options OceanLaunch Spec Create Options Args - Delete
Options OceanLaunch Spec Delete Options Args - Elastic
Ip []OceanPools Launch Spec Elastic Ip Pool Args - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- Ephemeral
Storages []OceanLaunch Spec Ephemeral Storage Args - Iam
Instance stringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- Image
Id string - ID of the image used to launch the instances.
- Images
[]Ocean
Launch Spec Image Args - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- Instance
Metadata OceanOptions Launch Spec Instance Metadata Options Args - Ocean instance metadata options object for IMDSv2.
- Instance
Types []string - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- Instance
Types OceanFilters Launch Spec Instance Types Filters Args - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- Labels
[]Ocean
Launch Spec Label Args - Optionally adds labels to instances launched in the cluster.
- Name string
- The name of the Virtual Node Group.
- Ocean
Id string - The ID of the Ocean cluster.
- Preferred
Od []stringTypes - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Preferred
Spot []stringTypes - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- Resource
Limits []OceanLaunch Spec Resource Limit Args - Restrict
Scale boolDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - Root
Volume intSize - Set root volume size (in GB).
- Scheduling
Shutdown OceanHours Launch Spec Scheduling Shutdown Hours Args - Used to specify times that the nodes in the virtual node group will be taken down.
- Scheduling
Tasks []OceanLaunch Spec Scheduling Task Args - Used to define scheduled tasks such as a manual headroom update.
- Security
Groups []string - Optionally adds security group IDs.
- Strategies
[]Ocean
Launch Spec Strategy Args - Subnet
Ids []string - A list of subnet IDs.
- []Ocean
Launch Spec Tag Args - A key/value mapping of tags to assign to the resource.
- Taints
[]Ocean
Launch Spec Taint Args - Optionally adds labels to instances launched in the cluster.
- Update
Policy OceanLaunch Spec Update Policy Args - User
Data string - Base64-encoded MIME user data to make available to the instances.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscale
Downs List<OceanLaunch Spec Autoscale Down> - Auto Scaling scale down operations.
- autoscale
Headrooms List<OceanLaunch Spec Autoscale Headroom> - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale
Headrooms List<OceanAutomatics Launch Spec Autoscale Headrooms Automatic> - Set automatic headroom per launch spec.
- block
Device List<OceanMappings Launch Spec Block Device Mapping> - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- create
Options OceanLaunch Spec Create Options - delete
Options OceanLaunch Spec Delete Options - elastic
Ip List<OceanPools Launch Spec Elastic Ip Pool> - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral
Storages List<OceanLaunch Spec Ephemeral Storage> - iam
Instance StringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id String - ID of the image used to launch the instances.
- images
List<Ocean
Launch Spec Image> - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance
Metadata OceanOptions Launch Spec Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- instance
Types List<String> - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance
Types OceanFilters Launch Spec Instance Types Filters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels
List<Ocean
Launch Spec Label> - Optionally adds labels to instances launched in the cluster.
- name String
- The name of the Virtual Node Group.
- ocean
Id String - The ID of the Ocean cluster.
- preferred
Od List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred
Spot List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource
Limits List<OceanLaunch Spec Resource Limit> - restrict
Scale BooleanDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root
Volume IntegerSize - Set root volume size (in GB).
- scheduling
Shutdown OceanHours Launch Spec Scheduling Shutdown Hours - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling
Tasks List<OceanLaunch Spec Scheduling Task> - Used to define scheduled tasks such as a manual headroom update.
- security
Groups List<String> - Optionally adds security group IDs.
- strategies
List<Ocean
Launch Spec Strategy> - subnet
Ids List<String> - A list of subnet IDs.
- List<Ocean
Launch Spec Tag> - A key/value mapping of tags to assign to the resource.
- taints
List<Ocean
Launch Spec Taint> - Optionally adds labels to instances launched in the cluster.
- update
Policy OceanLaunch Spec Update Policy - user
Data String - Base64-encoded MIME user data to make available to the instances.
- associate
Public booleanIp Address - Configure public IP address allocation.
- autoscale
Downs OceanLaunch Spec Autoscale Down[] - Auto Scaling scale down operations.
- autoscale
Headrooms OceanLaunch Spec Autoscale Headroom[] - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale
Headrooms OceanAutomatics Launch Spec Autoscale Headrooms Automatic[] - Set automatic headroom per launch spec.
- block
Device OceanMappings Launch Spec Block Device Mapping[] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- create
Options OceanLaunch Spec Create Options - delete
Options OceanLaunch Spec Delete Options - elastic
Ip OceanPools Launch Spec Elastic Ip Pool[] - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral
Storages OceanLaunch Spec Ephemeral Storage[] - iam
Instance stringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id string - ID of the image used to launch the instances.
- images
Ocean
Launch Spec Image[] - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance
Metadata OceanOptions Launch Spec Instance Metadata Options - Ocean instance metadata options object for IMDSv2.
- instance
Types string[] - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance
Types OceanFilters Launch Spec Instance Types Filters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels
Ocean
Launch Spec Label[] - Optionally adds labels to instances launched in the cluster.
- name string
- The name of the Virtual Node Group.
- ocean
Id string - The ID of the Ocean cluster.
- preferred
Od string[]Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred
Spot string[]Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource
Limits OceanLaunch Spec Resource Limit[] - restrict
Scale booleanDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root
Volume numberSize - Set root volume size (in GB).
- scheduling
Shutdown OceanHours Launch Spec Scheduling Shutdown Hours - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling
Tasks OceanLaunch Spec Scheduling Task[] - Used to define scheduled tasks such as a manual headroom update.
- security
Groups string[] - Optionally adds security group IDs.
- strategies
Ocean
Launch Spec Strategy[] - subnet
Ids string[] - A list of subnet IDs.
- Ocean
Launch Spec Tag[] - A key/value mapping of tags to assign to the resource.
- taints
Ocean
Launch Spec Taint[] - Optionally adds labels to instances launched in the cluster.
- update
Policy OceanLaunch Spec Update Policy - user
Data string - Base64-encoded MIME user data to make available to the instances.
- associate_
public_ boolip_ address - Configure public IP address allocation.
- autoscale_
downs Sequence[OceanLaunch Spec Autoscale Down Args] - Auto Scaling scale down operations.
- autoscale_
headrooms Sequence[OceanLaunch Spec Autoscale Headroom Args] - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale_
headrooms_ Sequence[Oceanautomatics Launch Spec Autoscale Headrooms Automatic Args] - Set automatic headroom per launch spec.
- block_
device_ Sequence[Oceanmappings Launch Spec Block Device Mapping Args] - Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
- create_
options OceanLaunch Spec Create Options Args - delete_
options OceanLaunch Spec Delete Options Args - elastic_
ip_ Sequence[Oceanpools Launch Spec Elastic Ip Pool Args] - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral_
storages Sequence[OceanLaunch Spec Ephemeral Storage Args] - iam_
instance_ strprofile - The ARN or name of an IAM instance profile to associate with launched instances.
- image_
id str - ID of the image used to launch the instances.
- images
Sequence[Ocean
Launch Spec Image Args] - Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance_
metadata_ Oceanoptions Launch Spec Instance Metadata Options Args - Ocean instance metadata options object for IMDSv2.
- instance_
types Sequence[str] - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance_
types_ Oceanfilters Launch Spec Instance Types Filters Args - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels
Sequence[Ocean
Launch Spec Label Args] - Optionally adds labels to instances launched in the cluster.
- name str
- The name of the Virtual Node Group.
- ocean_
id str - The ID of the Ocean cluster.
- preferred_
od_ Sequence[str]types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred_
spot_ Sequence[str]types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource_
limits Sequence[OceanLaunch Spec Resource Limit Args] - restrict_
scale_ booldown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root_
volume_ intsize - Set root volume size (in GB).
- scheduling_
shutdown_ Oceanhours Launch Spec Scheduling Shutdown Hours Args - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling_
tasks Sequence[OceanLaunch Spec Scheduling Task Args] - Used to define scheduled tasks such as a manual headroom update.
- security_
groups Sequence[str] - Optionally adds security group IDs.
- strategies
Sequence[Ocean
Launch Spec Strategy Args] - subnet_
ids Sequence[str] - A list of subnet IDs.
- Sequence[Ocean
Launch Spec Tag Args] - A key/value mapping of tags to assign to the resource.
- taints
Sequence[Ocean
Launch Spec Taint Args] - Optionally adds labels to instances launched in the cluster.
- update_
policy OceanLaunch Spec Update Policy Args - user_
data str - Base64-encoded MIME user data to make available to the instances.
- associate
Public BooleanIp Address - Configure public IP address allocation.
- autoscale
Downs List<Property Map> - Auto Scaling scale down operations.
- autoscale
Headrooms List<Property Map> - Set custom headroom per Virtual Node Group. Provide a list of headrooms object.
- autoscale
Headrooms List<Property Map>Automatics - Set automatic headroom per launch spec.
- 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.
- create
Options Property Map - delete
Options Property Map - elastic
Ip List<Property Map>Pools - Assign an Elastic IP to the instances spun by the Virtual Node Group. Can be null.
- ephemeral
Storages List<Property Map> - iam
Instance StringProfile - The ARN or name of an IAM instance profile to associate with launched instances.
- image
Id String - ID of the image used to launch the instances.
- images List<Property Map>
- Array of objects (Image object, containing the id of the image used to launch instances.) You can configure VNG with either the imageId or images objects, but not both simultaneously. For each architecture type (amd64, arm64) only one AMI is allowed. Valid values: null, or an array with at least one element.
- instance
Metadata Property MapOptions - Ocean instance metadata options object for IMDSv2.
- instance
Types List<String> - A list of instance types allowed to be provisioned for pods pending under the specified launch specification. The list overrides the list defined for the cluster.
- instance
Types Property MapFilters - The instance types that match with all filters compose the Virtual Node Group's instanceTypes parameter. The architectures that come from the Virtual Node Group's images will be taken into account when using this parameter. Cannot be configured together with Virtual Node Group's instanceTypes and with the Cluster's whitelist/blacklist/filters.
- labels List<Property Map>
- Optionally adds labels to instances launched in the cluster.
- name String
- The name of the Virtual Node Group.
- ocean
Id String - The ID of the Ocean cluster.
- preferred
Od List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- preferred
Spot List<String>Types - A list of instance types. Takes the preferred types into consideration while maintaining a variety of machine types running for optimized distribution.
- resource
Limits List<Property Map> - restrict
Scale BooleanDown - Boolean. When set to
True
, nodes will be treated as if all pods running have the restrict-scale-down label. Therefore, Ocean will not scale nodes down unless empty. - root
Volume NumberSize - Set root volume size (in GB).
- scheduling
Shutdown Property MapHours - Used to specify times that the nodes in the virtual node group will be taken down.
- scheduling
Tasks List<Property Map> - Used to define scheduled tasks such as a manual headroom update.
- security
Groups List<String> - Optionally adds security group IDs.
- strategies List<Property Map>
- subnet
Ids List<String> - A list of subnet IDs.
- List<Property Map>
- A key/value mapping of tags to assign to the resource.
- taints List<Property Map>
- Optionally adds labels to instances launched in the cluster.
- update
Policy Property Map - user
Data String - Base64-encoded MIME user data to make available to the instances.
Supporting Types
OceanLaunchSpecAutoscaleDown, OceanLaunchSpecAutoscaleDownArgs
- Max
Scale doubleDown Percentage - The maximum percentage allowed to scale down in a single scaling action on the nodes running in a specific VNG. Allowed only if maxScaleDownPercentage is set to null at the cluster level. Number between [0.1-100].
- Max
Scale float64Down Percentage - The maximum percentage allowed to scale down in a single scaling action on the nodes running in a specific VNG. Allowed only if maxScaleDownPercentage is set to null at the cluster level. Number between [0.1-100].
- max
Scale DoubleDown Percentage - The maximum percentage allowed to scale down in a single scaling action on the nodes running in a specific VNG. Allowed only if maxScaleDownPercentage is set to null at the cluster level. Number between [0.1-100].
- max
Scale numberDown Percentage - The maximum percentage allowed to scale down in a single scaling action on the nodes running in a specific VNG. Allowed only if maxScaleDownPercentage is set to null at the cluster level. Number between [0.1-100].
- max_
scale_ floatdown_ percentage - The maximum percentage allowed to scale down in a single scaling action on the nodes running in a specific VNG. Allowed only if maxScaleDownPercentage is set to null at the cluster level. Number between [0.1-100].
- max
Scale NumberDown Percentage - The maximum percentage allowed to scale down in a single scaling action on the nodes running in a specific VNG. Allowed only if maxScaleDownPercentage is set to null at the cluster level. Number between [0.1-100].
OceanLaunchSpecAutoscaleHeadroom, OceanLaunchSpecAutoscaleHeadroomArgs
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- Cpu
Per intUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- Memory
Per intUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- Cpu
Per intUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- Memory
Per intUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num
Of IntegerUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu
Per IntegerUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per IntegerUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory
Per IntegerUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num
Of numberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu
Per numberUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per numberUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory
Per numberUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num_
of_ intunits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu_
per_ intunit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu_
per_ intunit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory_
per_ intunit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num
Of NumberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu
Per NumberUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per NumberUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory
Per NumberUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
OceanLaunchSpecAutoscaleHeadroomsAutomatic, OceanLaunchSpecAutoscaleHeadroomsAutomaticArgs
- Auto
Headroom intPercentage - Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.
is_enabled
= true is set on the Ocean cluster.
- Auto
Headroom intPercentage - Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.
is_enabled
= true is set on the Ocean cluster.
- auto
Headroom IntegerPercentage - Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.
is_enabled
= true is set on the Ocean cluster.
- auto
Headroom numberPercentage - Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.
is_enabled
= true is set on the Ocean cluster.
- auto_
headroom_ intpercentage - Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.
is_enabled
= true is set on the Ocean cluster.
- auto
Headroom NumberPercentage - Number between 0-200 to control the headroom % of the specific Virtual Node Group. Effective when cluster.autoScaler.headroom.automatic.
is_enabled
= true is set on the Ocean cluster.
OceanLaunchSpecBlockDeviceMapping, OceanLaunchSpecBlockDeviceMappingArgs
- Device
Name string - String. Set device name. (Example:
/dev/xvda
). - Ebs
Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- No
Device string - Virtual
Name string
- Device
Name string - String. Set device name. (Example:
/dev/xvda
). - Ebs
Ocean
Launch Spec Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- No
Device string - Virtual
Name string
- device
Name String - String. Set device name. (Example:
/dev/xvda
). - ebs
Ocean
Launch Spec Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- no
Device String - virtual
Name String
- device
Name string - String. Set device name. (Example:
/dev/xvda
). - ebs
Ocean
Launch Spec Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- no
Device string - virtual
Name string
- device_
name str - String. Set device name. (Example:
/dev/xvda
). - ebs
Ocean
Launch Spec Block Device Mapping Ebs - Object. Set Elastic Block Store properties .
- no_
device str - virtual_
name str
- device
Name String - String. Set device name. (Example:
/dev/xvda
). - ebs Property Map
- Object. Set Elastic Block Store properties .
- no
Device String - virtual
Name String
OceanLaunchSpecBlockDeviceMappingEbs, OceanLaunchSpecBlockDeviceMappingEbsArgs
- Delete
On boolTermination - Boolean. Flag to delete the EBS on instance termination.
- Dynamic
Volume Pulumi.Size Spot Inst. Aws. Inputs. Ocean Launch Spec Block Device Mapping Ebs Dynamic Volume Size - Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- Encrypted bool
- Boolean. Enables EBS encryption on the volume.
- Iops int
- Int. The number of I/O operations per second (IOPS) that the volume supports.
- Kms
Key stringId - String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- Snapshot
Id string - (Optional) String. The Snapshot ID to mount by.
- Throughput int
- The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
=gp3
. - Volume
Size int - Int. The size, in GB of the volume.
- Volume
Type string - String. The type of the volume. (Example:
gp2
).
- Delete
On boolTermination - Boolean. Flag to delete the EBS on instance termination.
- Dynamic
Volume OceanSize Launch Spec Block Device Mapping Ebs Dynamic Volume Size - Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- Encrypted bool
- Boolean. Enables EBS encryption on the volume.
- Iops int
- Int. The number of I/O operations per second (IOPS) that the volume supports.
- Kms
Key stringId - String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- Snapshot
Id string - (Optional) String. The Snapshot ID to mount by.
- Throughput int
- The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
=gp3
. - Volume
Size int - Int. The size, in GB of the volume.
- Volume
Type string - String. The type of the volume. (Example:
gp2
).
- delete
On BooleanTermination - Boolean. Flag to delete the EBS on instance termination.
- dynamic
Volume OceanSize Launch Spec Block Device Mapping Ebs Dynamic Volume Size - Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted Boolean
- Boolean. Enables EBS encryption on the volume.
- iops Integer
- Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms
Key StringId - String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot
Id String - (Optional) String. The Snapshot ID to mount by.
- throughput Integer
- The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
=gp3
. - volume
Size Integer - Int. The size, in GB of the volume.
- volume
Type String - String. The type of the volume. (Example:
gp2
).
- delete
On booleanTermination - Boolean. Flag to delete the EBS on instance termination.
- dynamic
Volume OceanSize Launch Spec Block Device Mapping Ebs Dynamic Volume Size - Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted boolean
- Boolean. Enables EBS encryption on the volume.
- iops number
- Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms
Key stringId - String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot
Id string - (Optional) String. The Snapshot ID to mount by.
- throughput number
- The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
=gp3
. - volume
Size number - Int. The size, in GB of the volume.
- volume
Type string - String. The type of the volume. (Example:
gp2
).
- delete_
on_ booltermination - Boolean. Flag to delete the EBS on instance termination.
- dynamic_
volume_ Oceansize Launch Spec Block Device Mapping Ebs Dynamic Volume Size - Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted bool
- Boolean. Enables EBS encryption on the volume.
- iops int
- Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms_
key_ strid - String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot_
id str - (Optional) String. The Snapshot ID to mount by.
- throughput int
- The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
=gp3
. - volume_
size int - Int. The size, in GB of the volume.
- volume_
type str - String. The type of the volume. (Example:
gp2
).
- delete
On BooleanTermination - Boolean. Flag to delete the EBS on instance termination.
- dynamic
Volume Property MapSize - Object. Set dynamic volume size properties. When using this object, you cannot use volumeSize. You must use one or the other.
- encrypted Boolean
- Boolean. Enables EBS encryption on the volume.
- iops Number
- Int. The number of I/O operations per second (IOPS) that the volume supports.
- kms
Key StringId - String. Identifier (key ID, key alias, ID ARN, or alias ARN) for a customer managed CMK under which the EBS volume is encrypted.
- snapshot
Id String - (Optional) String. The Snapshot ID to mount by.
- throughput Number
- The amount of data transferred to or from a storage device per second, you can use this param just in a case that
volume_type
=gp3
. - volume
Size Number - Int. The size, in GB of the volume.
- volume
Type String - String. The type of the volume. (Example:
gp2
).
OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSize, OceanLaunchSpecBlockDeviceMappingEbsDynamicVolumeSizeArgs
- Base
Size int - Int. Initial size for volume. (Example: 50)
- Resource string
- String. Resource type to increase volume size dynamically by. (Valid values:
CPU
) - Size
Per intResource Unit - Int. Additional size (in GB) per resource unit. (Example:
baseSize=50
,sizePerResourceUnit=20
, and instance with 2 CPU is launched; its total disk size will be: 90GB)
- Base
Size int - Int. Initial size for volume. (Example: 50)
- Resource string
- String. Resource type to increase volume size dynamically by. (Valid values:
CPU
) - Size
Per intResource Unit - Int. Additional size (in GB) per resource unit. (Example:
baseSize=50
,sizePerResourceUnit=20
, and instance with 2 CPU is launched; its total disk size will be: 90GB)
- base
Size Integer - Int. Initial size for volume. (Example: 50)
- resource String
- String. Resource type to increase volume size dynamically by. (Valid values:
CPU
) - size
Per IntegerResource Unit - Int. Additional size (in GB) per resource unit. (Example:
baseSize=50
,sizePerResourceUnit=20
, and instance with 2 CPU is launched; its total disk size will be: 90GB)
- base
Size number - Int. Initial size for volume. (Example: 50)
- resource string
- String. Resource type to increase volume size dynamically by. (Valid values:
CPU
) - size
Per numberResource Unit - Int. Additional size (in GB) per resource unit. (Example:
baseSize=50
,sizePerResourceUnit=20
, and instance with 2 CPU is launched; its total disk size will be: 90GB)
- base_
size int - Int. Initial size for volume. (Example: 50)
- resource str
- String. Resource type to increase volume size dynamically by. (Valid values:
CPU
) - size_
per_ intresource_ unit - Int. Additional size (in GB) per resource unit. (Example:
baseSize=50
,sizePerResourceUnit=20
, and instance with 2 CPU is launched; its total disk size will be: 90GB)
- base
Size Number - Int. Initial size for volume. (Example: 50)
- resource String
- String. Resource type to increase volume size dynamically by. (Valid values:
CPU
) - size
Per NumberResource Unit - Int. Additional size (in GB) per resource unit. (Example:
baseSize=50
,sizePerResourceUnit=20
, and instance with 2 CPU is launched; its total disk size will be: 90GB)
OceanLaunchSpecCreateOptions, OceanLaunchSpecCreateOptionsArgs
- Initial
Nodes int - When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst.aws.Ocean resource) is set to true during Ocean resource creation.
- Initial
Nodes int - When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst.aws.Ocean resource) is set to true during Ocean resource creation.
- initial
Nodes Integer - When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst.aws.Ocean resource) is set to true during Ocean resource creation.
- initial
Nodes number - When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst.aws.Ocean resource) is set to true during Ocean resource creation.
- initial_
nodes int - When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst.aws.Ocean resource) is set to true during Ocean resource creation.
- initial
Nodes Number - When set to an integer greater than 0, a corresponding amount of nodes will be launched from the created Virtual Node Group. The parameter is recommended in case the use_as_template_only (in spotinst.aws.Ocean resource) is set to true during Ocean resource creation.
OceanLaunchSpecDeleteOptions, OceanLaunchSpecDeleteOptionsArgs
- Force
Delete bool - When set to
true
, delete even if it is the last Virtual Node Group (also, the default Virtual Node Group must be configured withuseAsTemlateOnly = true
). Should be set at creation or update, but will be used only at deletion. - Delete
Nodes bool - When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.
- Force
Delete bool - When set to
true
, delete even if it is the last Virtual Node Group (also, the default Virtual Node Group must be configured withuseAsTemlateOnly = true
). Should be set at creation or update, but will be used only at deletion. - Delete
Nodes bool - When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.
- force
Delete Boolean - When set to
true
, delete even if it is the last Virtual Node Group (also, the default Virtual Node Group must be configured withuseAsTemlateOnly = true
). Should be set at creation or update, but will be used only at deletion. - delete
Nodes Boolean - When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.
- force
Delete boolean - When set to
true
, delete even if it is the last Virtual Node Group (also, the default Virtual Node Group must be configured withuseAsTemlateOnly = true
). Should be set at creation or update, but will be used only at deletion. - delete
Nodes boolean - When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.
- force_
delete bool - When set to
true
, delete even if it is the last Virtual Node Group (also, the default Virtual Node Group must be configured withuseAsTemlateOnly = true
). Should be set at creation or update, but will be used only at deletion. - delete_
nodes bool - When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.
- force
Delete Boolean - When set to
true
, delete even if it is the last Virtual Node Group (also, the default Virtual Node Group must be configured withuseAsTemlateOnly = true
). Should be set at creation or update, but will be used only at deletion. - delete
Nodes Boolean - When set to "true", all instances belonging to the deleted launch specification will be drained, detached, and terminated.
OceanLaunchSpecElasticIpPool, OceanLaunchSpecElasticIpPoolArgs
- Pulumi.
Spot Inst. Aws. Inputs. Ocean Launch Spec Elastic Ip Pool Tag Selector - A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
- Ocean
Launch Spec Elastic Ip Pool Tag Selector - A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
- Ocean
Launch Spec Elastic Ip Pool Tag Selector - A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
- Ocean
Launch Spec Elastic Ip Pool Tag Selector - A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
- tag_
selector OceanLaunch Spec Elastic Ip Pool Tag Selector - A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
- Property Map
- A key-value pair, which defines an Elastic IP from the customer pool. Can be null.
OceanLaunchSpecElasticIpPoolTagSelector, OceanLaunchSpecElasticIpPoolTagSelectorArgs
OceanLaunchSpecEphemeralStorage, OceanLaunchSpecEphemeralStorageArgs
- Ephemeral
Storage stringDevice Name - Specify an alternative device name from which ephemeral storage calculations should be derived. This parameter is used when the ephemeral storage should not utilize the root device. Provide the device name configured in the VNG's BDM or AMI's BDM that differs from the default root device.
- Ephemeral
Storage stringDevice Name - Specify an alternative device name from which ephemeral storage calculations should be derived. This parameter is used when the ephemeral storage should not utilize the root device. Provide the device name configured in the VNG's BDM or AMI's BDM that differs from the default root device.
- ephemeral
Storage StringDevice Name - Specify an alternative device name from which ephemeral storage calculations should be derived. This parameter is used when the ephemeral storage should not utilize the root device. Provide the device name configured in the VNG's BDM or AMI's BDM that differs from the default root device.
- ephemeral
Storage stringDevice Name - Specify an alternative device name from which ephemeral storage calculations should be derived. This parameter is used when the ephemeral storage should not utilize the root device. Provide the device name configured in the VNG's BDM or AMI's BDM that differs from the default root device.
- ephemeral_
storage_ strdevice_ name - Specify an alternative device name from which ephemeral storage calculations should be derived. This parameter is used when the ephemeral storage should not utilize the root device. Provide the device name configured in the VNG's BDM or AMI's BDM that differs from the default root device.
- ephemeral
Storage StringDevice Name - Specify an alternative device name from which ephemeral storage calculations should be derived. This parameter is used when the ephemeral storage should not utilize the root device. Provide the device name configured in the VNG's BDM or AMI's BDM that differs from the default root device.
OceanLaunchSpecImage, OceanLaunchSpecImageArgs
- Image
Id string - Identifier of the image in AWS. Valid values: any string which is not empty or null.
- Image
Id string - Identifier of the image in AWS. Valid values: any string which is not empty or null.
- image
Id String - Identifier of the image in AWS. Valid values: any string which is not empty or null.
- image
Id string - Identifier of the image in AWS. Valid values: any string which is not empty or null.
- image_
id str - Identifier of the image in AWS. Valid values: any string which is not empty or null.
- image
Id String - Identifier of the image in AWS. Valid values: any string which is not empty or null.
OceanLaunchSpecInstanceMetadataOptions, OceanLaunchSpecInstanceMetadataOptionsArgs
- 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.
OceanLaunchSpecInstanceTypesFilters, OceanLaunchSpecInstanceTypesFiltersArgs
- Categories List<string>
- The filtered instance types will belong to one of the categories types from this list. Valid values:
Accelerated_computing
,Compute_optimized
,General_purpose
,Memory_optimized
,Storage_optimized
. - Disk
Types List<string> - The filtered instance types will have one of the disk type from this list. Valid values:
NVMe
,EBS
,SSD
,HDD
. - Exclude
Families List<string> - Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- Exclude
Metal bool - In case excludeMetal is set to true, metal types will not be available for scaling.
- Hypervisors List<string>
- The filtered instance types will have a hypervisor type from this list. Valid values:
nitro
,xen
. - Include
Families List<string> - Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- Is
Ena stringSupported - Ena is supported or not.
- Max
Gpu int - Maximum total number of GPUs.
- Max
Memory doubleGib - Maximum amount of Memory (GiB).
- Max
Network intPerformance - Maximum Bandwidth in Gib/s of network performance.
- Max
Vcpu int - Maximum number of vcpus available.
- Min
Enis int - Minimum number of network interfaces (ENIs).
- Min
Gpu int - Minimum total number of GPUs.
- Min
Memory doubleGib - Minimum amount of Memory (GiB).
- Min
Network intPerformance - Minimum Bandwidth in Gib/s of network performance.
- Min
Vcpu int - Minimum number of vcpus available.
- Root
Device List<string>Types - The filtered instance types will have a root device types from this list. Valid values:
ebs
, orinstance-store
. - Virtualization
Types List<string> - The filtered instance types will support at least one of the virtualization types from this list. Valid values:
hvm
,paravirtual
.
- Categories []string
- The filtered instance types will belong to one of the categories types from this list. Valid values:
Accelerated_computing
,Compute_optimized
,General_purpose
,Memory_optimized
,Storage_optimized
. - Disk
Types []string - The filtered instance types will have one of the disk type from this list. Valid values:
NVMe
,EBS
,SSD
,HDD
. - Exclude
Families []string - Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- Exclude
Metal bool - In case excludeMetal is set to true, metal types will not be available for scaling.
- Hypervisors []string
- The filtered instance types will have a hypervisor type from this list. Valid values:
nitro
,xen
. - Include
Families []string - Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- Is
Ena stringSupported - Ena is supported or not.
- Max
Gpu int - Maximum total number of GPUs.
- Max
Memory float64Gib - Maximum amount of Memory (GiB).
- Max
Network intPerformance - Maximum Bandwidth in Gib/s of network performance.
- Max
Vcpu int - Maximum number of vcpus available.
- Min
Enis int - Minimum number of network interfaces (ENIs).
- Min
Gpu int - Minimum total number of GPUs.
- Min
Memory float64Gib - Minimum amount of Memory (GiB).
- Min
Network intPerformance - Minimum Bandwidth in Gib/s of network performance.
- Min
Vcpu int - Minimum number of vcpus available.
- Root
Device []stringTypes - The filtered instance types will have a root device types from this list. Valid values:
ebs
, orinstance-store
. - Virtualization
Types []string - The filtered instance types will support at least one of the virtualization types from this list. Valid values:
hvm
,paravirtual
.
- categories List<String>
- The filtered instance types will belong to one of the categories types from this list. Valid values:
Accelerated_computing
,Compute_optimized
,General_purpose
,Memory_optimized
,Storage_optimized
. - disk
Types List<String> - The filtered instance types will have one of the disk type from this list. Valid values:
NVMe
,EBS
,SSD
,HDD
. - exclude
Families List<String> - Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude
Metal Boolean - In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors List<String>
- The filtered instance types will have a hypervisor type from this list. Valid values:
nitro
,xen
. - include
Families List<String> - Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is
Ena StringSupported - Ena is supported or not.
- max
Gpu Integer - Maximum total number of GPUs.
- max
Memory DoubleGib - Maximum amount of Memory (GiB).
- max
Network IntegerPerformance - Maximum Bandwidth in Gib/s of network performance.
- max
Vcpu Integer - Maximum number of vcpus available.
- min
Enis Integer - Minimum number of network interfaces (ENIs).
- min
Gpu Integer - Minimum total number of GPUs.
- min
Memory DoubleGib - Minimum amount of Memory (GiB).
- min
Network IntegerPerformance - Minimum Bandwidth in Gib/s of network performance.
- min
Vcpu Integer - Minimum number of vcpus available.
- root
Device List<String>Types - The filtered instance types will have a root device types from this list. Valid values:
ebs
, orinstance-store
. - virtualization
Types List<String> - The filtered instance types will support at least one of the virtualization types from this list. Valid values:
hvm
,paravirtual
.
- categories string[]
- The filtered instance types will belong to one of the categories types from this list. Valid values:
Accelerated_computing
,Compute_optimized
,General_purpose
,Memory_optimized
,Storage_optimized
. - disk
Types string[] - The filtered instance types will have one of the disk type from this list. Valid values:
NVMe
,EBS
,SSD
,HDD
. - exclude
Families string[] - Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude
Metal boolean - In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors string[]
- The filtered instance types will have a hypervisor type from this list. Valid values:
nitro
,xen
. - include
Families string[] - Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is
Ena stringSupported - Ena is supported or not.
- max
Gpu number - Maximum total number of GPUs.
- max
Memory numberGib - Maximum amount of Memory (GiB).
- max
Network numberPerformance - Maximum Bandwidth in Gib/s of network performance.
- max
Vcpu number - Maximum number of vcpus available.
- min
Enis number - Minimum number of network interfaces (ENIs).
- min
Gpu number - Minimum total number of GPUs.
- min
Memory numberGib - Minimum amount of Memory (GiB).
- min
Network numberPerformance - Minimum Bandwidth in Gib/s of network performance.
- min
Vcpu number - Minimum number of vcpus available.
- root
Device string[]Types - The filtered instance types will have a root device types from this list. Valid values:
ebs
, orinstance-store
. - virtualization
Types string[] - The filtered instance types will support at least one of the virtualization types from this list. Valid values:
hvm
,paravirtual
.
- categories Sequence[str]
- The filtered instance types will belong to one of the categories types from this list. Valid values:
Accelerated_computing
,Compute_optimized
,General_purpose
,Memory_optimized
,Storage_optimized
. - disk_
types Sequence[str] - The filtered instance types will have one of the disk type from this list. Valid values:
NVMe
,EBS
,SSD
,HDD
. - exclude_
families Sequence[str] - Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude_
metal bool - In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors Sequence[str]
- The filtered instance types will have a hypervisor type from this list. Valid values:
nitro
,xen
. - include_
families Sequence[str] - Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is_
ena_ strsupported - Ena is supported or not.
- max_
gpu int - Maximum total number of GPUs.
- max_
memory_ floatgib - Maximum amount of Memory (GiB).
- max_
network_ intperformance - Maximum Bandwidth in Gib/s of network performance.
- max_
vcpu int - Maximum number of vcpus available.
- min_
enis int - Minimum number of network interfaces (ENIs).
- min_
gpu int - Minimum total number of GPUs.
- min_
memory_ floatgib - Minimum amount of Memory (GiB).
- min_
network_ intperformance - Minimum Bandwidth in Gib/s of network performance.
- min_
vcpu int - Minimum number of vcpus available.
- root_
device_ Sequence[str]types - The filtered instance types will have a root device types from this list. Valid values:
ebs
, orinstance-store
. - virtualization_
types Sequence[str] - The filtered instance types will support at least one of the virtualization types from this list. Valid values:
hvm
,paravirtual
.
- categories List<String>
- The filtered instance types will belong to one of the categories types from this list. Valid values:
Accelerated_computing
,Compute_optimized
,General_purpose
,Memory_optimized
,Storage_optimized
. - disk
Types List<String> - The filtered instance types will have one of the disk type from this list. Valid values:
NVMe
,EBS
,SSD
,HDD
. - exclude
Families List<String> - Types belonging to a family from the ExcludeFamilies will not be available for scaling (asterisk wildcard is also supported). For example, C* will exclude instance types from these families: c5, c4, c4a, etc.
- exclude
Metal Boolean - In case excludeMetal is set to true, metal types will not be available for scaling.
- hypervisors List<String>
- The filtered instance types will have a hypervisor type from this list. Valid values:
nitro
,xen
. - include
Families List<String> - Types belonging to a family from the IncludeFamilies will be available for scaling (asterisk wildcard is also supported). For example, C* will include instance types from these families: c5, c4, c4a, etc.
- is
Ena StringSupported - Ena is supported or not.
- max
Gpu Number - Maximum total number of GPUs.
- max
Memory NumberGib - Maximum amount of Memory (GiB).
- max
Network NumberPerformance - Maximum Bandwidth in Gib/s of network performance.
- max
Vcpu Number - Maximum number of vcpus available.
- min
Enis Number - Minimum number of network interfaces (ENIs).
- min
Gpu Number - Minimum total number of GPUs.
- min
Memory NumberGib - Minimum amount of Memory (GiB).
- min
Network NumberPerformance - Minimum Bandwidth in Gib/s of network performance.
- min
Vcpu Number - Minimum number of vcpus available.
- root
Device List<String>Types - The filtered instance types will have a root device types from this list. Valid values:
ebs
, orinstance-store
. - virtualization
Types List<String> - The filtered instance types will support at least one of the virtualization types from this list. Valid values:
hvm
,paravirtual
.
OceanLaunchSpecLabel, OceanLaunchSpecLabelArgs
OceanLaunchSpecResourceLimit, OceanLaunchSpecResourceLimitArgs
- Max
Instance intCount - Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- Min
Instance intCount - Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- Max
Instance intCount - Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- Min
Instance intCount - Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- max
Instance IntegerCount - Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- min
Instance IntegerCount - Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- max
Instance numberCount - Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- min
Instance numberCount - Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- max_
instance_ intcount - Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- min_
instance_ intcount - Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- max
Instance NumberCount - Set a maximum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
- min
Instance NumberCount - Set a minimum number of instances per Virtual Node Group. Can be null. If set, value must be greater than or equal to 0.
OceanLaunchSpecSchedulingShutdownHours, OceanLaunchSpecSchedulingShutdownHoursArgs
- Time
Windows List<string> - The times that the shutdown hours will apply.
- Is
Enabled bool - Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
- Time
Windows []string - The times that the shutdown hours will apply.
- Is
Enabled bool - Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
- time
Windows List<String> - The times that the shutdown hours will apply.
- is
Enabled Boolean - Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
- time
Windows string[] - The times that the shutdown hours will apply.
- is
Enabled boolean - Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
- time_
windows Sequence[str] - The times that the shutdown hours will apply.
- is_
enabled bool - Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
- time
Windows List<String> - The times that the shutdown hours will apply.
- is
Enabled Boolean - Flag to enable or disable the shutdown hours mechanism. When False, the mechanism is deactivated, and the virtual node group remains in its current state.
OceanLaunchSpecSchedulingTask, OceanLaunchSpecSchedulingTaskArgs
- Cron
Expression string - A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
- Is
Enabled bool - Describes whether the task is enabled. When True, the task runs. When False, it does not run.
- Task
Type string - The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
- Task
Headrooms List<Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Scheduling Task Task Headroom> - The config of this scheduled task. Depends on the value of taskType.
- Cron
Expression string - A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
- Is
Enabled bool - Describes whether the task is enabled. When True, the task runs. When False, it does not run.
- Task
Type string - The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
- Task
Headrooms []OceanLaunch Spec Scheduling Task Task Headroom - The config of this scheduled task. Depends on the value of taskType.
- cron
Expression String - A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
- is
Enabled Boolean - Describes whether the task is enabled. When True, the task runs. When False, it does not run.
- task
Type String - The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
- task
Headrooms List<OceanLaunch Spec Scheduling Task Task Headroom> - The config of this scheduled task. Depends on the value of taskType.
- cron
Expression string - A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
- is
Enabled boolean - Describes whether the task is enabled. When True, the task runs. When False, it does not run.
- task
Type string - The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
- task
Headrooms OceanLaunch Spec Scheduling Task Task Headroom[] - The config of this scheduled task. Depends on the value of taskType.
- cron_
expression str - A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
- is_
enabled bool - Describes whether the task is enabled. When True, the task runs. When False, it does not run.
- task_
type str - The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
- task_
headrooms Sequence[OceanLaunch Spec Scheduling Task Task Headroom] - The config of this scheduled task. Depends on the value of taskType.
- cron
Expression String - A valid cron expression. For example : " * * * * * ". The cron job runs in UTC time and is in Unix cron format.
- is
Enabled Boolean - Describes whether the task is enabled. When True, the task runs. When False, it does not run.
- task
Type String - The activity that you are scheduling. Valid values: "manualHeadroomUpdate".
- task
Headrooms List<Property Map> - The config of this scheduled task. Depends on the value of taskType.
OceanLaunchSpecSchedulingTaskTaskHeadroom, OceanLaunchSpecSchedulingTaskTaskHeadroomArgs
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- Cpu
Per intUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- Memory
Per intUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- Num
Of intUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- Cpu
Per intUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- Gpu
Per intUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- Memory
Per intUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num
Of IntegerUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu
Per IntegerUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per IntegerUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory
Per IntegerUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num
Of numberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu
Per numberUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per numberUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory
Per numberUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num_
of_ intunits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu_
per_ intunit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu_
per_ intunit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory_
per_ intunit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
- num
Of NumberUnits - The number of units to retain as headroom, where each unit has the defined headroom CPU, memory and GPU.
- cpu
Per NumberUnit - Optionally configure the number of CPUs to allocate for each headroom unit. CPUs are denoted in millicores, where 1000 millicores = 1 vCPU.
- gpu
Per NumberUnit - Optionally configure the number of GPUS to allocate for each headroom unit.
- memory
Per NumberUnit - Optionally configure the amount of memory (MiB) to allocate for each headroom unit.
OceanLaunchSpecStrategy, OceanLaunchSpecStrategyArgs
- Spot
Percentage int - The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
- Spot
Percentage int - The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
- spot
Percentage Integer - The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
- spot
Percentage number - The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
- spot_
percentage int - The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
- spot
Percentage Number - The desired percentage of the Spot instances out of all running instances for this VNG. Only available when the field is not set in the cluster directly (cluster.strategy.spotPercentage).
OceanLaunchSpecTag, OceanLaunchSpecTagArgs
OceanLaunchSpecTaint, OceanLaunchSpecTaintArgs
OceanLaunchSpecUpdatePolicy, OceanLaunchSpecUpdatePolicyArgs
- Should
Roll bool - Enables the roll.
- Roll
Config Pulumi.Spot Inst. Aws. Inputs. Ocean Launch Spec Update Policy Roll Config - Holds the roll configuration.
- Should
Roll bool - Enables the roll.
- Roll
Config OceanLaunch Spec Update Policy Roll Config - Holds the roll configuration.
- should
Roll Boolean - Enables the roll.
- roll
Config OceanLaunch Spec Update Policy Roll Config - Holds the roll configuration.
- should
Roll boolean - Enables the roll.
- roll
Config OceanLaunch Spec Update Policy Roll Config - Holds the roll configuration.
- should_
roll bool - Enables the roll.
- roll_
config OceanLaunch Spec Update Policy Roll Config - Holds the roll configuration.
- should
Roll Boolean - Enables the roll.
- roll
Config Property Map - Holds the roll configuration.
OceanLaunchSpecUpdatePolicyRollConfig, OceanLaunchSpecUpdatePolicyRollConfigArgs
- Batch
Size intPercentage - Sets the percentage of the instances to deploy in each batch.
- Batch
Size intPercentage - Sets the percentage of the instances to deploy in each batch.
- batch
Size IntegerPercentage - Sets the percentage of the instances to deploy in each batch.
- batch
Size numberPercentage - Sets the percentage of the instances to deploy in each batch.
- batch_
size_ intpercentage - Sets the percentage of the instances to deploy in each batch.
- batch
Size NumberPercentage - Sets the percentage of the instances to deploy in each batch.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.