1. Packages
  2. Spotinst
  3. API Docs
  4. aws
  5. Ocean
Spotinst v3.76.0 published on Wednesday, Apr 24, 2024 by Pulumi

spotinst.aws.Ocean

Explore with Pulumi AI

spotinst logo
Spotinst v3.76.0 published on Wednesday, Apr 24, 2024 by Pulumi

    Example Usage

    Create Ocean Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Ocean(name: string, args: OceanArgs, opts?: CustomResourceOptions);
    @overload
    def Ocean(resource_name: str,
              args: OceanArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ocean(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              security_groups: Optional[Sequence[str]] = None,
              subnet_ids: Optional[Sequence[str]] = None,
              load_balancers: Optional[Sequence[OceanLoadBalancerArgs]] = None,
              utilize_reserved_instances: Optional[bool] = None,
              block_device_mappings: Optional[Sequence[OceanBlockDeviceMappingArgs]] = None,
              max_size: Optional[int] = None,
              controller_id: Optional[str] = None,
              desired_capacity: Optional[int] = None,
              draining_timeout: Optional[int] = None,
              ebs_optimized: Optional[bool] = None,
              fallback_to_ondemand: Optional[bool] = None,
              filters: Optional[OceanFiltersArgs] = None,
              grace_period: Optional[int] = None,
              health_check_unhealthy_duration_before_replacement: Optional[int] = None,
              iam_instance_profile: Optional[str] = None,
              image_id: Optional[str] = None,
              instance_metadata_options: Optional[OceanInstanceMetadataOptionsArgs] = None,
              key_name: Optional[str] = None,
              associate_ipv6_address: Optional[bool] = None,
              logging: Optional[OceanLoggingArgs] = None,
              cluster_orientations: Optional[Sequence[OceanClusterOrientationArgs]] = None,
              blacklists: Optional[Sequence[str]] = None,
              name: Optional[str] = None,
              monitoring: Optional[bool] = None,
              region: Optional[str] = None,
              resource_tag_specifications: Optional[Sequence[OceanResourceTagSpecificationArgs]] = None,
              root_volume_size: Optional[int] = None,
              scheduled_tasks: Optional[Sequence[OceanScheduledTaskArgs]] = None,
              autoscaler: Optional[OceanAutoscalerArgs] = None,
              spot_percentage: Optional[int] = None,
              spread_nodes_by: Optional[str] = None,
              associate_public_ip_address: Optional[bool] = None,
              tags: Optional[Sequence[OceanTagArgs]] = None,
              update_policy: Optional[OceanUpdatePolicyArgs] = None,
              use_as_template_only: Optional[bool] = None,
              user_data: Optional[str] = None,
              utilize_commitments: Optional[bool] = None,
              min_size: Optional[int] = None,
              whitelists: Optional[Sequence[str]] = None)
    func NewOcean(ctx *Context, name string, args OceanArgs, opts ...ResourceOption) (*Ocean, error)
    public Ocean(string name, OceanArgs args, CustomResourceOptions? opts = null)
    public Ocean(String name, OceanArgs args)
    public Ocean(String name, OceanArgs args, CustomResourceOptions options)
    
    type: spotinst:aws:Ocean
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OceanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OceanArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OceanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OceanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OceanArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var oceanResource = new SpotInst.Aws.Ocean("oceanResource", new()
    {
        SecurityGroups = new[]
        {
            "string",
        },
        SubnetIds = new[]
        {
            "string",
        },
        LoadBalancers = new[]
        {
            new SpotInst.Aws.Inputs.OceanLoadBalancerArgs
            {
                Arn = "string",
                Name = "string",
                Type = "string",
            },
        },
        UtilizeReservedInstances = false,
        BlockDeviceMappings = new[]
        {
            new SpotInst.Aws.Inputs.OceanBlockDeviceMappingArgs
            {
                DeviceName = "string",
                Ebs = new SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbsArgs
                {
                    DeleteOnTermination = false,
                    DynamicIops = new SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbsDynamicIopsArgs
                    {
                        BaseSize = 0,
                        Resource = "string",
                        SizePerResourceUnit = 0,
                    },
                    DynamicVolumeSize = new SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs
                    {
                        BaseSize = 0,
                        Resource = "string",
                        SizePerResourceUnit = 0,
                    },
                    Encrypted = false,
                    Iops = 0,
                    KmsKeyId = "string",
                    SnapshotId = "string",
                    Throughput = 0,
                    VolumeSize = 0,
                    VolumeType = "string",
                },
            },
        },
        MaxSize = 0,
        ControllerId = "string",
        DesiredCapacity = 0,
        DrainingTimeout = 0,
        EbsOptimized = false,
        FallbackToOndemand = false,
        Filters = new SpotInst.Aws.Inputs.OceanFiltersArgs
        {
            Architectures = new[]
            {
                "string",
            },
            Categories = new[]
            {
                "string",
            },
            DiskTypes = new[]
            {
                "string",
            },
            ExcludeFamilies = new[]
            {
                "string",
            },
            ExcludeMetal = false,
            Hypervisors = new[]
            {
                "string",
            },
            IncludeFamilies = new[]
            {
                "string",
            },
            IsEnaSupported = "string",
            MaxGpu = 0,
            MaxMemoryGib = 0,
            MaxNetworkPerformance = 0,
            MaxVcpu = 0,
            MinEnis = 0,
            MinGpu = 0,
            MinMemoryGib = 0,
            MinNetworkPerformance = 0,
            MinVcpu = 0,
            RootDeviceTypes = new[]
            {
                "string",
            },
            VirtualizationTypes = new[]
            {
                "string",
            },
        },
        GracePeriod = 0,
        HealthCheckUnhealthyDurationBeforeReplacement = 0,
        IamInstanceProfile = "string",
        ImageId = "string",
        InstanceMetadataOptions = new SpotInst.Aws.Inputs.OceanInstanceMetadataOptionsArgs
        {
            HttpTokens = "string",
            HttpPutResponseHopLimit = 0,
        },
        KeyName = "string",
        AssociateIpv6Address = false,
        Logging = new SpotInst.Aws.Inputs.OceanLoggingArgs
        {
            Export = new SpotInst.Aws.Inputs.OceanLoggingExportArgs
            {
                S3s = new[]
                {
                    new SpotInst.Aws.Inputs.OceanLoggingExportS3Args
                    {
                        Id = "string",
                    },
                },
            },
        },
        ClusterOrientations = new[]
        {
            new SpotInst.Aws.Inputs.OceanClusterOrientationArgs
            {
                AvailabilityVsCost = "string",
            },
        },
        Blacklists = new[]
        {
            "string",
        },
        Name = "string",
        Monitoring = false,
        Region = "string",
        ResourceTagSpecifications = new[]
        {
            new SpotInst.Aws.Inputs.OceanResourceTagSpecificationArgs
            {
                ShouldTagVolumes = false,
            },
        },
        RootVolumeSize = 0,
        ScheduledTasks = new[]
        {
            new SpotInst.Aws.Inputs.OceanScheduledTaskArgs
            {
                ShutdownHours = new SpotInst.Aws.Inputs.OceanScheduledTaskShutdownHoursArgs
                {
                    TimeWindows = new[]
                    {
                        "string",
                    },
                    IsEnabled = false,
                },
                Tasks = new[]
                {
                    new SpotInst.Aws.Inputs.OceanScheduledTaskTaskArgs
                    {
                        CronExpression = "string",
                        IsEnabled = false,
                        TaskType = "string",
                        Parameters = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersArgs
                        {
                            AmiAutoUpdate = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersAmiAutoUpdateArgs
                            {
                                AmiAutoUpdateClusterRoll = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs
                                {
                                    BatchMinHealthyPercentage = 0,
                                    BatchSizePercentage = 0,
                                    Comment = "string",
                                    RespectPdb = false,
                                },
                                ApplyRoll = false,
                                MinorVersion = false,
                                Patch = false,
                            },
                            ParametersClusterRoll = new SpotInst.Aws.Inputs.OceanScheduledTaskTaskParametersParametersClusterRollArgs
                            {
                                BatchMinHealthyPercentage = 0,
                                BatchSizePercentage = 0,
                                Comment = "string",
                                RespectPdb = false,
                            },
                        },
                    },
                },
            },
        },
        Autoscaler = new SpotInst.Aws.Inputs.OceanAutoscalerArgs
        {
            AutoHeadroomPercentage = 0,
            AutoscaleCooldown = 0,
            AutoscaleDown = new SpotInst.Aws.Inputs.OceanAutoscalerAutoscaleDownArgs
            {
                EvaluationPeriods = 0,
                IsAggressiveScaleDownEnabled = false,
                MaxScaleDownPercentage = 0,
            },
            AutoscaleHeadroom = new SpotInst.Aws.Inputs.OceanAutoscalerAutoscaleHeadroomArgs
            {
                CpuPerUnit = 0,
                GpuPerUnit = 0,
                MemoryPerUnit = 0,
                NumOfUnits = 0,
            },
            AutoscaleIsAutoConfig = false,
            AutoscaleIsEnabled = false,
            EnableAutomaticAndManualHeadroom = false,
            ExtendedResourceDefinitions = new[]
            {
                "string",
            },
            ResourceLimits = new SpotInst.Aws.Inputs.OceanAutoscalerResourceLimitsArgs
            {
                MaxMemoryGib = 0,
                MaxVcpu = 0,
            },
        },
        SpotPercentage = 0,
        SpreadNodesBy = "string",
        AssociatePublicIpAddress = false,
        Tags = new[]
        {
            new SpotInst.Aws.Inputs.OceanTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
        UpdatePolicy = new SpotInst.Aws.Inputs.OceanUpdatePolicyArgs
        {
            ShouldRoll = false,
            AutoApplyTags = false,
            ConditionedRoll = false,
            ConditionedRollParams = new[]
            {
                "string",
            },
            RollConfig = new SpotInst.Aws.Inputs.OceanUpdatePolicyRollConfigArgs
            {
                BatchSizePercentage = 0,
                BatchMinHealthyPercentage = 0,
                LaunchSpecIds = new[]
                {
                    "string",
                },
                RespectPdb = false,
            },
        },
        UseAsTemplateOnly = false,
        UserData = "string",
        UtilizeCommitments = false,
        MinSize = 0,
        Whitelists = new[]
        {
            "string",
        },
    });
    
    example, err := aws.NewOcean(ctx, "oceanResource", &aws.OceanArgs{
    	SecurityGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	SubnetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	LoadBalancers: aws.OceanLoadBalancerArray{
    		&aws.OceanLoadBalancerArgs{
    			Arn:  pulumi.String("string"),
    			Name: pulumi.String("string"),
    			Type: pulumi.String("string"),
    		},
    	},
    	UtilizeReservedInstances: pulumi.Bool(false),
    	BlockDeviceMappings: aws.OceanBlockDeviceMappingArray{
    		&aws.OceanBlockDeviceMappingArgs{
    			DeviceName: pulumi.String("string"),
    			Ebs: &aws.OceanBlockDeviceMappingEbsArgs{
    				DeleteOnTermination: pulumi.Bool(false),
    				DynamicIops: &aws.OceanBlockDeviceMappingEbsDynamicIopsArgs{
    					BaseSize:            pulumi.Int(0),
    					Resource:            pulumi.String("string"),
    					SizePerResourceUnit: pulumi.Int(0),
    				},
    				DynamicVolumeSize: &aws.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs{
    					BaseSize:            pulumi.Int(0),
    					Resource:            pulumi.String("string"),
    					SizePerResourceUnit: pulumi.Int(0),
    				},
    				Encrypted:  pulumi.Bool(false),
    				Iops:       pulumi.Int(0),
    				KmsKeyId:   pulumi.String("string"),
    				SnapshotId: pulumi.String("string"),
    				Throughput: pulumi.Int(0),
    				VolumeSize: pulumi.Int(0),
    				VolumeType: pulumi.String("string"),
    			},
    		},
    	},
    	MaxSize:            pulumi.Int(0),
    	ControllerId:       pulumi.String("string"),
    	DesiredCapacity:    pulumi.Int(0),
    	DrainingTimeout:    pulumi.Int(0),
    	EbsOptimized:       pulumi.Bool(false),
    	FallbackToOndemand: pulumi.Bool(false),
    	Filters: &aws.OceanFiltersArgs{
    		Architectures: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Categories: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		DiskTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ExcludeFamilies: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ExcludeMetal: pulumi.Bool(false),
    		Hypervisors: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IncludeFamilies: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IsEnaSupported:        pulumi.String("string"),
    		MaxGpu:                pulumi.Int(0),
    		MaxMemoryGib:          pulumi.Float64(0),
    		MaxNetworkPerformance: pulumi.Int(0),
    		MaxVcpu:               pulumi.Int(0),
    		MinEnis:               pulumi.Int(0),
    		MinGpu:                pulumi.Int(0),
    		MinMemoryGib:          pulumi.Float64(0),
    		MinNetworkPerformance: pulumi.Int(0),
    		MinVcpu:               pulumi.Int(0),
    		RootDeviceTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		VirtualizationTypes: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	GracePeriod: pulumi.Int(0),
    	HealthCheckUnhealthyDurationBeforeReplacement: pulumi.Int(0),
    	IamInstanceProfile:                            pulumi.String("string"),
    	ImageId:                                       pulumi.String("string"),
    	InstanceMetadataOptions: &aws.OceanInstanceMetadataOptionsArgs{
    		HttpTokens:              pulumi.String("string"),
    		HttpPutResponseHopLimit: pulumi.Int(0),
    	},
    	KeyName:              pulumi.String("string"),
    	AssociateIpv6Address: pulumi.Bool(false),
    	Logging: &aws.OceanLoggingArgs{
    		Export: &aws.OceanLoggingExportArgs{
    			S3s: aws.OceanLoggingExportS3Array{
    				&aws.OceanLoggingExportS3Args{
    					Id: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	ClusterOrientations: aws.OceanClusterOrientationArray{
    		&aws.OceanClusterOrientationArgs{
    			AvailabilityVsCost: pulumi.String("string"),
    		},
    	},
    	Blacklists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Name:       pulumi.String("string"),
    	Monitoring: pulumi.Bool(false),
    	Region:     pulumi.String("string"),
    	ResourceTagSpecifications: aws.OceanResourceTagSpecificationArray{
    		&aws.OceanResourceTagSpecificationArgs{
    			ShouldTagVolumes: pulumi.Bool(false),
    		},
    	},
    	RootVolumeSize: pulumi.Int(0),
    	ScheduledTasks: aws.OceanScheduledTaskArray{
    		&aws.OceanScheduledTaskArgs{
    			ShutdownHours: &aws.OceanScheduledTaskShutdownHoursArgs{
    				TimeWindows: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    				IsEnabled: pulumi.Bool(false),
    			},
    			Tasks: aws.OceanScheduledTaskTaskArray{
    				&aws.OceanScheduledTaskTaskArgs{
    					CronExpression: pulumi.String("string"),
    					IsEnabled:      pulumi.Bool(false),
    					TaskType:       pulumi.String("string"),
    					Parameters: &aws.OceanScheduledTaskTaskParametersArgs{
    						AmiAutoUpdate: &aws.OceanScheduledTaskTaskParametersAmiAutoUpdateArgs{
    							AmiAutoUpdateClusterRoll: &aws.OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs{
    								BatchMinHealthyPercentage: pulumi.Int(0),
    								BatchSizePercentage:       pulumi.Int(0),
    								Comment:                   pulumi.String("string"),
    								RespectPdb:                pulumi.Bool(false),
    							},
    							ApplyRoll:    pulumi.Bool(false),
    							MinorVersion: pulumi.Bool(false),
    							Patch:        pulumi.Bool(false),
    						},
    						ParametersClusterRoll: &aws.OceanScheduledTaskTaskParametersParametersClusterRollArgs{
    							BatchMinHealthyPercentage: pulumi.Int(0),
    							BatchSizePercentage:       pulumi.Int(0),
    							Comment:                   pulumi.String("string"),
    							RespectPdb:                pulumi.Bool(false),
    						},
    					},
    				},
    			},
    		},
    	},
    	Autoscaler: &aws.OceanAutoscalerArgs{
    		AutoHeadroomPercentage: pulumi.Int(0),
    		AutoscaleCooldown:      pulumi.Int(0),
    		AutoscaleDown: &aws.OceanAutoscalerAutoscaleDownArgs{
    			EvaluationPeriods:            pulumi.Int(0),
    			IsAggressiveScaleDownEnabled: pulumi.Bool(false),
    			MaxScaleDownPercentage:       pulumi.Float64(0),
    		},
    		AutoscaleHeadroom: &aws.OceanAutoscalerAutoscaleHeadroomArgs{
    			CpuPerUnit:    pulumi.Int(0),
    			GpuPerUnit:    pulumi.Int(0),
    			MemoryPerUnit: pulumi.Int(0),
    			NumOfUnits:    pulumi.Int(0),
    		},
    		AutoscaleIsAutoConfig:            pulumi.Bool(false),
    		AutoscaleIsEnabled:               pulumi.Bool(false),
    		EnableAutomaticAndManualHeadroom: pulumi.Bool(false),
    		ExtendedResourceDefinitions: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		ResourceLimits: &aws.OceanAutoscalerResourceLimitsArgs{
    			MaxMemoryGib: pulumi.Int(0),
    			MaxVcpu:      pulumi.Int(0),
    		},
    	},
    	SpotPercentage:           pulumi.Int(0),
    	SpreadNodesBy:            pulumi.String("string"),
    	AssociatePublicIpAddress: pulumi.Bool(false),
    	Tags: aws.OceanTagArray{
    		&aws.OceanTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	UpdatePolicy: &aws.OceanUpdatePolicyArgs{
    		ShouldRoll:      pulumi.Bool(false),
    		AutoApplyTags:   pulumi.Bool(false),
    		ConditionedRoll: pulumi.Bool(false),
    		ConditionedRollParams: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		RollConfig: &aws.OceanUpdatePolicyRollConfigArgs{
    			BatchSizePercentage:       pulumi.Int(0),
    			BatchMinHealthyPercentage: pulumi.Int(0),
    			LaunchSpecIds: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			RespectPdb: pulumi.Bool(false),
    		},
    	},
    	UseAsTemplateOnly:  pulumi.Bool(false),
    	UserData:           pulumi.String("string"),
    	UtilizeCommitments: pulumi.Bool(false),
    	MinSize:            pulumi.Int(0),
    	Whitelists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var oceanResource = new Ocean("oceanResource", OceanArgs.builder()        
        .securityGroups("string")
        .subnetIds("string")
        .loadBalancers(OceanLoadBalancerArgs.builder()
            .arn("string")
            .name("string")
            .type("string")
            .build())
        .utilizeReservedInstances(false)
        .blockDeviceMappings(OceanBlockDeviceMappingArgs.builder()
            .deviceName("string")
            .ebs(OceanBlockDeviceMappingEbsArgs.builder()
                .deleteOnTermination(false)
                .dynamicIops(OceanBlockDeviceMappingEbsDynamicIopsArgs.builder()
                    .baseSize(0)
                    .resource("string")
                    .sizePerResourceUnit(0)
                    .build())
                .dynamicVolumeSize(OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs.builder()
                    .baseSize(0)
                    .resource("string")
                    .sizePerResourceUnit(0)
                    .build())
                .encrypted(false)
                .iops(0)
                .kmsKeyId("string")
                .snapshotId("string")
                .throughput(0)
                .volumeSize(0)
                .volumeType("string")
                .build())
            .build())
        .maxSize(0)
        .controllerId("string")
        .desiredCapacity(0)
        .drainingTimeout(0)
        .ebsOptimized(false)
        .fallbackToOndemand(false)
        .filters(OceanFiltersArgs.builder()
            .architectures("string")
            .categories("string")
            .diskTypes("string")
            .excludeFamilies("string")
            .excludeMetal(false)
            .hypervisors("string")
            .includeFamilies("string")
            .isEnaSupported("string")
            .maxGpu(0)
            .maxMemoryGib(0)
            .maxNetworkPerformance(0)
            .maxVcpu(0)
            .minEnis(0)
            .minGpu(0)
            .minMemoryGib(0)
            .minNetworkPerformance(0)
            .minVcpu(0)
            .rootDeviceTypes("string")
            .virtualizationTypes("string")
            .build())
        .gracePeriod(0)
        .healthCheckUnhealthyDurationBeforeReplacement(0)
        .iamInstanceProfile("string")
        .imageId("string")
        .instanceMetadataOptions(OceanInstanceMetadataOptionsArgs.builder()
            .httpTokens("string")
            .httpPutResponseHopLimit(0)
            .build())
        .keyName("string")
        .associateIpv6Address(false)
        .logging(OceanLoggingArgs.builder()
            .export(OceanLoggingExportArgs.builder()
                .s3s(OceanLoggingExportS3Args.builder()
                    .id("string")
                    .build())
                .build())
            .build())
        .clusterOrientations(OceanClusterOrientationArgs.builder()
            .availabilityVsCost("string")
            .build())
        .blacklists("string")
        .name("string")
        .monitoring(false)
        .region("string")
        .resourceTagSpecifications(OceanResourceTagSpecificationArgs.builder()
            .shouldTagVolumes(false)
            .build())
        .rootVolumeSize(0)
        .scheduledTasks(OceanScheduledTaskArgs.builder()
            .shutdownHours(OceanScheduledTaskShutdownHoursArgs.builder()
                .timeWindows("string")
                .isEnabled(false)
                .build())
            .tasks(OceanScheduledTaskTaskArgs.builder()
                .cronExpression("string")
                .isEnabled(false)
                .taskType("string")
                .parameters(OceanScheduledTaskTaskParametersArgs.builder()
                    .amiAutoUpdate(OceanScheduledTaskTaskParametersAmiAutoUpdateArgs.builder()
                        .amiAutoUpdateClusterRoll(OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs.builder()
                            .batchMinHealthyPercentage(0)
                            .batchSizePercentage(0)
                            .comment("string")
                            .respectPdb(false)
                            .build())
                        .applyRoll(false)
                        .minorVersion(false)
                        .patch(false)
                        .build())
                    .parametersClusterRoll(OceanScheduledTaskTaskParametersParametersClusterRollArgs.builder()
                        .batchMinHealthyPercentage(0)
                        .batchSizePercentage(0)
                        .comment("string")
                        .respectPdb(false)
                        .build())
                    .build())
                .build())
            .build())
        .autoscaler(OceanAutoscalerArgs.builder()
            .autoHeadroomPercentage(0)
            .autoscaleCooldown(0)
            .autoscaleDown(OceanAutoscalerAutoscaleDownArgs.builder()
                .evaluationPeriods(0)
                .isAggressiveScaleDownEnabled(false)
                .maxScaleDownPercentage(0)
                .build())
            .autoscaleHeadroom(OceanAutoscalerAutoscaleHeadroomArgs.builder()
                .cpuPerUnit(0)
                .gpuPerUnit(0)
                .memoryPerUnit(0)
                .numOfUnits(0)
                .build())
            .autoscaleIsAutoConfig(false)
            .autoscaleIsEnabled(false)
            .enableAutomaticAndManualHeadroom(false)
            .extendedResourceDefinitions("string")
            .resourceLimits(OceanAutoscalerResourceLimitsArgs.builder()
                .maxMemoryGib(0)
                .maxVcpu(0)
                .build())
            .build())
        .spotPercentage(0)
        .spreadNodesBy("string")
        .associatePublicIpAddress(false)
        .tags(OceanTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .updatePolicy(OceanUpdatePolicyArgs.builder()
            .shouldRoll(false)
            .autoApplyTags(false)
            .conditionedRoll(false)
            .conditionedRollParams("string")
            .rollConfig(OceanUpdatePolicyRollConfigArgs.builder()
                .batchSizePercentage(0)
                .batchMinHealthyPercentage(0)
                .launchSpecIds("string")
                .respectPdb(false)
                .build())
            .build())
        .useAsTemplateOnly(false)
        .userData("string")
        .utilizeCommitments(false)
        .minSize(0)
        .whitelists("string")
        .build());
    
    ocean_resource = spotinst.aws.Ocean("oceanResource",
        security_groups=["string"],
        subnet_ids=["string"],
        load_balancers=[spotinst.aws.OceanLoadBalancerArgs(
            arn="string",
            name="string",
            type="string",
        )],
        utilize_reserved_instances=False,
        block_device_mappings=[spotinst.aws.OceanBlockDeviceMappingArgs(
            device_name="string",
            ebs=spotinst.aws.OceanBlockDeviceMappingEbsArgs(
                delete_on_termination=False,
                dynamic_iops=spotinst.aws.OceanBlockDeviceMappingEbsDynamicIopsArgs(
                    base_size=0,
                    resource="string",
                    size_per_resource_unit=0,
                ),
                dynamic_volume_size=spotinst.aws.OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs(
                    base_size=0,
                    resource="string",
                    size_per_resource_unit=0,
                ),
                encrypted=False,
                iops=0,
                kms_key_id="string",
                snapshot_id="string",
                throughput=0,
                volume_size=0,
                volume_type="string",
            ),
        )],
        max_size=0,
        controller_id="string",
        desired_capacity=0,
        draining_timeout=0,
        ebs_optimized=False,
        fallback_to_ondemand=False,
        filters=spotinst.aws.OceanFiltersArgs(
            architectures=["string"],
            categories=["string"],
            disk_types=["string"],
            exclude_families=["string"],
            exclude_metal=False,
            hypervisors=["string"],
            include_families=["string"],
            is_ena_supported="string",
            max_gpu=0,
            max_memory_gib=0,
            max_network_performance=0,
            max_vcpu=0,
            min_enis=0,
            min_gpu=0,
            min_memory_gib=0,
            min_network_performance=0,
            min_vcpu=0,
            root_device_types=["string"],
            virtualization_types=["string"],
        ),
        grace_period=0,
        health_check_unhealthy_duration_before_replacement=0,
        iam_instance_profile="string",
        image_id="string",
        instance_metadata_options=spotinst.aws.OceanInstanceMetadataOptionsArgs(
            http_tokens="string",
            http_put_response_hop_limit=0,
        ),
        key_name="string",
        associate_ipv6_address=False,
        logging=spotinst.aws.OceanLoggingArgs(
            export=spotinst.aws.OceanLoggingExportArgs(
                s3s=[spotinst.aws.OceanLoggingExportS3Args(
                    id="string",
                )],
            ),
        ),
        cluster_orientations=[spotinst.aws.OceanClusterOrientationArgs(
            availability_vs_cost="string",
        )],
        blacklists=["string"],
        name="string",
        monitoring=False,
        region="string",
        resource_tag_specifications=[spotinst.aws.OceanResourceTagSpecificationArgs(
            should_tag_volumes=False,
        )],
        root_volume_size=0,
        scheduled_tasks=[spotinst.aws.OceanScheduledTaskArgs(
            shutdown_hours=spotinst.aws.OceanScheduledTaskShutdownHoursArgs(
                time_windows=["string"],
                is_enabled=False,
            ),
            tasks=[spotinst.aws.OceanScheduledTaskTaskArgs(
                cron_expression="string",
                is_enabled=False,
                task_type="string",
                parameters=spotinst.aws.OceanScheduledTaskTaskParametersArgs(
                    ami_auto_update=spotinst.aws.OceanScheduledTaskTaskParametersAmiAutoUpdateArgs(
                        ami_auto_update_cluster_roll=spotinst.aws.OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs(
                            batch_min_healthy_percentage=0,
                            batch_size_percentage=0,
                            comment="string",
                            respect_pdb=False,
                        ),
                        apply_roll=False,
                        minor_version=False,
                        patch=False,
                    ),
                    parameters_cluster_roll=spotinst.aws.OceanScheduledTaskTaskParametersParametersClusterRollArgs(
                        batch_min_healthy_percentage=0,
                        batch_size_percentage=0,
                        comment="string",
                        respect_pdb=False,
                    ),
                ),
            )],
        )],
        autoscaler=spotinst.aws.OceanAutoscalerArgs(
            auto_headroom_percentage=0,
            autoscale_cooldown=0,
            autoscale_down=spotinst.aws.OceanAutoscalerAutoscaleDownArgs(
                evaluation_periods=0,
                is_aggressive_scale_down_enabled=False,
                max_scale_down_percentage=0,
            ),
            autoscale_headroom=spotinst.aws.OceanAutoscalerAutoscaleHeadroomArgs(
                cpu_per_unit=0,
                gpu_per_unit=0,
                memory_per_unit=0,
                num_of_units=0,
            ),
            autoscale_is_auto_config=False,
            autoscale_is_enabled=False,
            enable_automatic_and_manual_headroom=False,
            extended_resource_definitions=["string"],
            resource_limits=spotinst.aws.OceanAutoscalerResourceLimitsArgs(
                max_memory_gib=0,
                max_vcpu=0,
            ),
        ),
        spot_percentage=0,
        spread_nodes_by="string",
        associate_public_ip_address=False,
        tags=[spotinst.aws.OceanTagArgs(
            key="string",
            value="string",
        )],
        update_policy=spotinst.aws.OceanUpdatePolicyArgs(
            should_roll=False,
            auto_apply_tags=False,
            conditioned_roll=False,
            conditioned_roll_params=["string"],
            roll_config=spotinst.aws.OceanUpdatePolicyRollConfigArgs(
                batch_size_percentage=0,
                batch_min_healthy_percentage=0,
                launch_spec_ids=["string"],
                respect_pdb=False,
            ),
        ),
        use_as_template_only=False,
        user_data="string",
        utilize_commitments=False,
        min_size=0,
        whitelists=["string"])
    
    const oceanResource = new spotinst.aws.Ocean("oceanResource", {
        securityGroups: ["string"],
        subnetIds: ["string"],
        loadBalancers: [{
            arn: "string",
            name: "string",
            type: "string",
        }],
        utilizeReservedInstances: false,
        blockDeviceMappings: [{
            deviceName: "string",
            ebs: {
                deleteOnTermination: false,
                dynamicIops: {
                    baseSize: 0,
                    resource: "string",
                    sizePerResourceUnit: 0,
                },
                dynamicVolumeSize: {
                    baseSize: 0,
                    resource: "string",
                    sizePerResourceUnit: 0,
                },
                encrypted: false,
                iops: 0,
                kmsKeyId: "string",
                snapshotId: "string",
                throughput: 0,
                volumeSize: 0,
                volumeType: "string",
            },
        }],
        maxSize: 0,
        controllerId: "string",
        desiredCapacity: 0,
        drainingTimeout: 0,
        ebsOptimized: false,
        fallbackToOndemand: false,
        filters: {
            architectures: ["string"],
            categories: ["string"],
            diskTypes: ["string"],
            excludeFamilies: ["string"],
            excludeMetal: false,
            hypervisors: ["string"],
            includeFamilies: ["string"],
            isEnaSupported: "string",
            maxGpu: 0,
            maxMemoryGib: 0,
            maxNetworkPerformance: 0,
            maxVcpu: 0,
            minEnis: 0,
            minGpu: 0,
            minMemoryGib: 0,
            minNetworkPerformance: 0,
            minVcpu: 0,
            rootDeviceTypes: ["string"],
            virtualizationTypes: ["string"],
        },
        gracePeriod: 0,
        healthCheckUnhealthyDurationBeforeReplacement: 0,
        iamInstanceProfile: "string",
        imageId: "string",
        instanceMetadataOptions: {
            httpTokens: "string",
            httpPutResponseHopLimit: 0,
        },
        keyName: "string",
        associateIpv6Address: false,
        logging: {
            "export": {
                s3s: [{
                    id: "string",
                }],
            },
        },
        clusterOrientations: [{
            availabilityVsCost: "string",
        }],
        blacklists: ["string"],
        name: "string",
        monitoring: false,
        region: "string",
        resourceTagSpecifications: [{
            shouldTagVolumes: false,
        }],
        rootVolumeSize: 0,
        scheduledTasks: [{
            shutdownHours: {
                timeWindows: ["string"],
                isEnabled: false,
            },
            tasks: [{
                cronExpression: "string",
                isEnabled: false,
                taskType: "string",
                parameters: {
                    amiAutoUpdate: {
                        amiAutoUpdateClusterRoll: {
                            batchMinHealthyPercentage: 0,
                            batchSizePercentage: 0,
                            comment: "string",
                            respectPdb: false,
                        },
                        applyRoll: false,
                        minorVersion: false,
                        patch: false,
                    },
                    parametersClusterRoll: {
                        batchMinHealthyPercentage: 0,
                        batchSizePercentage: 0,
                        comment: "string",
                        respectPdb: false,
                    },
                },
            }],
        }],
        autoscaler: {
            autoHeadroomPercentage: 0,
            autoscaleCooldown: 0,
            autoscaleDown: {
                evaluationPeriods: 0,
                isAggressiveScaleDownEnabled: false,
                maxScaleDownPercentage: 0,
            },
            autoscaleHeadroom: {
                cpuPerUnit: 0,
                gpuPerUnit: 0,
                memoryPerUnit: 0,
                numOfUnits: 0,
            },
            autoscaleIsAutoConfig: false,
            autoscaleIsEnabled: false,
            enableAutomaticAndManualHeadroom: false,
            extendedResourceDefinitions: ["string"],
            resourceLimits: {
                maxMemoryGib: 0,
                maxVcpu: 0,
            },
        },
        spotPercentage: 0,
        spreadNodesBy: "string",
        associatePublicIpAddress: false,
        tags: [{
            key: "string",
            value: "string",
        }],
        updatePolicy: {
            shouldRoll: false,
            autoApplyTags: false,
            conditionedRoll: false,
            conditionedRollParams: ["string"],
            rollConfig: {
                batchSizePercentage: 0,
                batchMinHealthyPercentage: 0,
                launchSpecIds: ["string"],
                respectPdb: false,
            },
        },
        useAsTemplateOnly: false,
        userData: "string",
        utilizeCommitments: false,
        minSize: 0,
        whitelists: ["string"],
    });
    
    type: spotinst:aws:Ocean
    properties:
        associateIpv6Address: false
        associatePublicIpAddress: false
        autoscaler:
            autoHeadroomPercentage: 0
            autoscaleCooldown: 0
            autoscaleDown:
                evaluationPeriods: 0
                isAggressiveScaleDownEnabled: false
                maxScaleDownPercentage: 0
            autoscaleHeadroom:
                cpuPerUnit: 0
                gpuPerUnit: 0
                memoryPerUnit: 0
                numOfUnits: 0
            autoscaleIsAutoConfig: false
            autoscaleIsEnabled: false
            enableAutomaticAndManualHeadroom: false
            extendedResourceDefinitions:
                - string
            resourceLimits:
                maxMemoryGib: 0
                maxVcpu: 0
        blacklists:
            - string
        blockDeviceMappings:
            - deviceName: string
              ebs:
                deleteOnTermination: false
                dynamicIops:
                    baseSize: 0
                    resource: string
                    sizePerResourceUnit: 0
                dynamicVolumeSize:
                    baseSize: 0
                    resource: string
                    sizePerResourceUnit: 0
                encrypted: false
                iops: 0
                kmsKeyId: string
                snapshotId: string
                throughput: 0
                volumeSize: 0
                volumeType: string
        clusterOrientations:
            - availabilityVsCost: string
        controllerId: string
        desiredCapacity: 0
        drainingTimeout: 0
        ebsOptimized: false
        fallbackToOndemand: false
        filters:
            architectures:
                - string
            categories:
                - string
            diskTypes:
                - string
            excludeFamilies:
                - string
            excludeMetal: false
            hypervisors:
                - string
            includeFamilies:
                - string
            isEnaSupported: string
            maxGpu: 0
            maxMemoryGib: 0
            maxNetworkPerformance: 0
            maxVcpu: 0
            minEnis: 0
            minGpu: 0
            minMemoryGib: 0
            minNetworkPerformance: 0
            minVcpu: 0
            rootDeviceTypes:
                - string
            virtualizationTypes:
                - string
        gracePeriod: 0
        healthCheckUnhealthyDurationBeforeReplacement: 0
        iamInstanceProfile: string
        imageId: string
        instanceMetadataOptions:
            httpPutResponseHopLimit: 0
            httpTokens: string
        keyName: string
        loadBalancers:
            - arn: string
              name: string
              type: string
        logging:
            export:
                s3s:
                    - id: string
        maxSize: 0
        minSize: 0
        monitoring: false
        name: string
        region: string
        resourceTagSpecifications:
            - shouldTagVolumes: false
        rootVolumeSize: 0
        scheduledTasks:
            - shutdownHours:
                isEnabled: false
                timeWindows:
                    - string
              tasks:
                - cronExpression: string
                  isEnabled: false
                  parameters:
                    amiAutoUpdate:
                        amiAutoUpdateClusterRoll:
                            batchMinHealthyPercentage: 0
                            batchSizePercentage: 0
                            comment: string
                            respectPdb: false
                        applyRoll: false
                        minorVersion: false
                        patch: false
                    parametersClusterRoll:
                        batchMinHealthyPercentage: 0
                        batchSizePercentage: 0
                        comment: string
                        respectPdb: false
                  taskType: string
        securityGroups:
            - string
        spotPercentage: 0
        spreadNodesBy: string
        subnetIds:
            - string
        tags:
            - key: string
              value: string
        updatePolicy:
            autoApplyTags: false
            conditionedRoll: false
            conditionedRollParams:
                - string
            rollConfig:
                batchMinHealthyPercentage: 0
                batchSizePercentage: 0
                launchSpecIds:
                    - string
                respectPdb: false
            shouldRoll: false
        useAsTemplateOnly: false
        userData: string
        utilizeCommitments: false
        utilizeReservedInstances: false
        whitelists:
            - string
    

    Ocean Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Ocean resource accepts the following input properties:

    SecurityGroups List<string>
    One or more security group ids.
    SubnetIds List<string>
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    AssociateIpv6Address bool
    Configure IPv6 address allocation.
    AssociatePublicIpAddress bool
    Configure public IP address allocation.
    Autoscaler Pulumi.SpotInst.Aws.Inputs.OceanAutoscaler
    Blacklists List<string>
    BlockDeviceMappings List<Pulumi.SpotInst.Aws.Inputs.OceanBlockDeviceMapping>
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    ClusterOrientations List<Pulumi.SpotInst.Aws.Inputs.OceanClusterOrientation>
    ControllerId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    DrainingTimeout int
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    EbsOptimized bool
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    FallbackToOndemand bool
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    Filters Pulumi.SpotInst.Aws.Inputs.OceanFilters
    GracePeriod int
    The amount of time, in seconds, after the instance has launched to start checking its health.
    HealthCheckUnhealthyDurationBeforeReplacement int
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    IamInstanceProfile string
    The instance profile iam role.
    ImageId string
    ID of the image used to launch the instances.
    InstanceMetadataOptions Pulumi.SpotInst.Aws.Inputs.OceanInstanceMetadataOptions
    Ocean instance metadata options object for IMDSv2.
    KeyName string
    The key pair to attach the instances.
    LoadBalancers List<Pulumi.SpotInst.Aws.Inputs.OceanLoadBalancer>
    Array of load balancer objects to add to ocean cluster
    Logging Pulumi.SpotInst.Aws.Inputs.OceanLogging
    Logging configuration.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    Monitoring bool
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    Name string
    The cluster name.
    Region string
    The region the cluster will run in.
    ResourceTagSpecifications List<Pulumi.SpotInst.Aws.Inputs.OceanResourceTagSpecification>
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    RootVolumeSize int
    The size (in Gb) to allocate for the root volume. Minimum 20.
    ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.OceanScheduledTask>
    SpotPercentage int
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    SpreadNodesBy string
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    Tags List<Pulumi.SpotInst.Aws.Inputs.OceanTag>
    Optionally adds tags to instances launched in an Ocean cluster.
    UpdatePolicy Pulumi.SpotInst.Aws.Inputs.OceanUpdatePolicy
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    UserData string
    Base64-encoded MIME user data to make available to the instances.
    UtilizeCommitments bool
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    UtilizeReservedInstances bool
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    Whitelists List<string>
    SecurityGroups []string
    One or more security group ids.
    SubnetIds []string
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    AssociateIpv6Address bool
    Configure IPv6 address allocation.
    AssociatePublicIpAddress bool
    Configure public IP address allocation.
    Autoscaler OceanAutoscalerArgs
    Blacklists []string
    BlockDeviceMappings []OceanBlockDeviceMappingArgs
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    ClusterOrientations []OceanClusterOrientationArgs
    ControllerId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    DrainingTimeout int
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    EbsOptimized bool
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    FallbackToOndemand bool
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    Filters OceanFiltersArgs
    GracePeriod int
    The amount of time, in seconds, after the instance has launched to start checking its health.
    HealthCheckUnhealthyDurationBeforeReplacement int
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    IamInstanceProfile string
    The instance profile iam role.
    ImageId string
    ID of the image used to launch the instances.
    InstanceMetadataOptions OceanInstanceMetadataOptionsArgs
    Ocean instance metadata options object for IMDSv2.
    KeyName string
    The key pair to attach the instances.
    LoadBalancers []OceanLoadBalancerArgs
    Array of load balancer objects to add to ocean cluster
    Logging OceanLoggingArgs
    Logging configuration.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    Monitoring bool
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    Name string
    The cluster name.
    Region string
    The region the cluster will run in.
    ResourceTagSpecifications []OceanResourceTagSpecificationArgs
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    RootVolumeSize int
    The size (in Gb) to allocate for the root volume. Minimum 20.
    ScheduledTasks []OceanScheduledTaskArgs
    SpotPercentage int
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    SpreadNodesBy string
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    Tags []OceanTagArgs
    Optionally adds tags to instances launched in an Ocean cluster.
    UpdatePolicy OceanUpdatePolicyArgs
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    UserData string
    Base64-encoded MIME user data to make available to the instances.
    UtilizeCommitments bool
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    UtilizeReservedInstances bool
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    Whitelists []string
    securityGroups List<String>
    One or more security group ids.
    subnetIds List<String>
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    associateIpv6Address Boolean
    Configure IPv6 address allocation.
    associatePublicIpAddress Boolean
    Configure public IP address allocation.
    autoscaler OceanAutoscaler
    blacklists List<String>
    blockDeviceMappings List<OceanBlockDeviceMapping>
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    clusterOrientations List<OceanClusterOrientation>
    controllerId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Integer
    The number of instances to launch and maintain in the cluster.
    drainingTimeout Integer
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebsOptimized Boolean
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallbackToOndemand Boolean
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters OceanFilters
    gracePeriod Integer
    The amount of time, in seconds, after the instance has launched to start checking its health.
    healthCheckUnhealthyDurationBeforeReplacement Integer
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iamInstanceProfile String
    The instance profile iam role.
    imageId String
    ID of the image used to launch the instances.
    instanceMetadataOptions OceanInstanceMetadataOptions
    Ocean instance metadata options object for IMDSv2.
    keyName String
    The key pair to attach the instances.
    loadBalancers List<OceanLoadBalancer>
    Array of load balancer objects to add to ocean cluster
    logging OceanLogging
    Logging configuration.
    maxSize Integer
    The upper limit of instances the cluster can scale up to.
    minSize Integer
    The lower limit of instances the cluster can scale down to.
    monitoring Boolean
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name String
    The cluster name.
    region String
    The region the cluster will run in.
    resourceTagSpecifications List<OceanResourceTagSpecification>
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    rootVolumeSize Integer
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduledTasks List<OceanScheduledTask>
    spotPercentage Integer
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spreadNodesBy String
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    tags List<OceanTag>
    Optionally adds tags to instances launched in an Ocean cluster.
    updatePolicy OceanUpdatePolicy
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    userData String
    Base64-encoded MIME user data to make available to the instances.
    utilizeCommitments Boolean
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilizeReservedInstances Boolean
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists List<String>
    securityGroups string[]
    One or more security group ids.
    subnetIds string[]
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    associateIpv6Address boolean
    Configure IPv6 address allocation.
    associatePublicIpAddress boolean
    Configure public IP address allocation.
    autoscaler OceanAutoscaler
    blacklists string[]
    blockDeviceMappings OceanBlockDeviceMapping[]
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    clusterOrientations OceanClusterOrientation[]
    controllerId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity number
    The number of instances to launch and maintain in the cluster.
    drainingTimeout number
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebsOptimized boolean
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallbackToOndemand boolean
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters OceanFilters
    gracePeriod number
    The amount of time, in seconds, after the instance has launched to start checking its health.
    healthCheckUnhealthyDurationBeforeReplacement number
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iamInstanceProfile string
    The instance profile iam role.
    imageId string
    ID of the image used to launch the instances.
    instanceMetadataOptions OceanInstanceMetadataOptions
    Ocean instance metadata options object for IMDSv2.
    keyName string
    The key pair to attach the instances.
    loadBalancers OceanLoadBalancer[]
    Array of load balancer objects to add to ocean cluster
    logging OceanLogging
    Logging configuration.
    maxSize number
    The upper limit of instances the cluster can scale up to.
    minSize number
    The lower limit of instances the cluster can scale down to.
    monitoring boolean
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name string
    The cluster name.
    region string
    The region the cluster will run in.
    resourceTagSpecifications OceanResourceTagSpecification[]
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    rootVolumeSize number
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduledTasks OceanScheduledTask[]
    spotPercentage number
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spreadNodesBy string
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    tags OceanTag[]
    Optionally adds tags to instances launched in an Ocean cluster.
    updatePolicy OceanUpdatePolicy
    useAsTemplateOnly boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    userData string
    Base64-encoded MIME user data to make available to the instances.
    utilizeCommitments boolean
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilizeReservedInstances boolean
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists string[]
    security_groups Sequence[str]
    One or more security group ids.
    subnet_ids Sequence[str]
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    associate_ipv6_address bool
    Configure IPv6 address allocation.
    associate_public_ip_address bool
    Configure public IP address allocation.
    autoscaler OceanAutoscalerArgs
    blacklists Sequence[str]
    block_device_mappings Sequence[OceanBlockDeviceMappingArgs]
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    cluster_orientations Sequence[OceanClusterOrientationArgs]
    controller_id str
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desired_capacity int
    The number of instances to launch and maintain in the cluster.
    draining_timeout int
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebs_optimized bool
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallback_to_ondemand bool
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters OceanFiltersArgs
    grace_period int
    The amount of time, in seconds, after the instance has launched to start checking its health.
    health_check_unhealthy_duration_before_replacement int
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iam_instance_profile str
    The instance profile iam role.
    image_id str
    ID of the image used to launch the instances.
    instance_metadata_options OceanInstanceMetadataOptionsArgs
    Ocean instance metadata options object for IMDSv2.
    key_name str
    The key pair to attach the instances.
    load_balancers Sequence[OceanLoadBalancerArgs]
    Array of load balancer objects to add to ocean cluster
    logging OceanLoggingArgs
    Logging configuration.
    max_size int
    The upper limit of instances the cluster can scale up to.
    min_size int
    The lower limit of instances the cluster can scale down to.
    monitoring bool
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name str
    The cluster name.
    region str
    The region the cluster will run in.
    resource_tag_specifications Sequence[OceanResourceTagSpecificationArgs]
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    root_volume_size int
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduled_tasks Sequence[OceanScheduledTaskArgs]
    spot_percentage int
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spread_nodes_by str
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    tags Sequence[OceanTagArgs]
    Optionally adds tags to instances launched in an Ocean cluster.
    update_policy OceanUpdatePolicyArgs
    use_as_template_only bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    user_data str
    Base64-encoded MIME user data to make available to the instances.
    utilize_commitments bool
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilize_reserved_instances bool
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists Sequence[str]
    securityGroups List<String>
    One or more security group ids.
    subnetIds List<String>
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    associateIpv6Address Boolean
    Configure IPv6 address allocation.
    associatePublicIpAddress Boolean
    Configure public IP address allocation.
    autoscaler Property Map
    blacklists List<String>
    blockDeviceMappings List<Property Map>
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    clusterOrientations List<Property Map>
    controllerId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Number
    The number of instances to launch and maintain in the cluster.
    drainingTimeout Number
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebsOptimized Boolean
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallbackToOndemand Boolean
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters Property Map
    gracePeriod Number
    The amount of time, in seconds, after the instance has launched to start checking its health.
    healthCheckUnhealthyDurationBeforeReplacement Number
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iamInstanceProfile String
    The instance profile iam role.
    imageId String
    ID of the image used to launch the instances.
    instanceMetadataOptions Property Map
    Ocean instance metadata options object for IMDSv2.
    keyName String
    The key pair to attach the instances.
    loadBalancers List<Property Map>
    Array of load balancer objects to add to ocean cluster
    logging Property Map
    Logging configuration.
    maxSize Number
    The upper limit of instances the cluster can scale up to.
    minSize Number
    The lower limit of instances the cluster can scale down to.
    monitoring Boolean
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name String
    The cluster name.
    region String
    The region the cluster will run in.
    resourceTagSpecifications List<Property Map>
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    rootVolumeSize Number
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduledTasks List<Property Map>
    spotPercentage Number
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spreadNodesBy String
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    tags List<Property Map>
    Optionally adds tags to instances launched in an Ocean cluster.
    updatePolicy Property Map
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    userData String
    Base64-encoded MIME user data to make available to the instances.
    utilizeCommitments Boolean
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilizeReservedInstances Boolean
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists List<String>

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Ocean resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Ocean Resource

    Get an existing Ocean resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: OceanState, opts?: CustomResourceOptions): Ocean
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            associate_ipv6_address: Optional[bool] = None,
            associate_public_ip_address: Optional[bool] = None,
            autoscaler: Optional[OceanAutoscalerArgs] = None,
            blacklists: Optional[Sequence[str]] = None,
            block_device_mappings: Optional[Sequence[OceanBlockDeviceMappingArgs]] = None,
            cluster_orientations: Optional[Sequence[OceanClusterOrientationArgs]] = None,
            controller_id: Optional[str] = None,
            desired_capacity: Optional[int] = None,
            draining_timeout: Optional[int] = None,
            ebs_optimized: Optional[bool] = None,
            fallback_to_ondemand: Optional[bool] = None,
            filters: Optional[OceanFiltersArgs] = None,
            grace_period: Optional[int] = None,
            health_check_unhealthy_duration_before_replacement: Optional[int] = None,
            iam_instance_profile: Optional[str] = None,
            image_id: Optional[str] = None,
            instance_metadata_options: Optional[OceanInstanceMetadataOptionsArgs] = None,
            key_name: Optional[str] = None,
            load_balancers: Optional[Sequence[OceanLoadBalancerArgs]] = None,
            logging: Optional[OceanLoggingArgs] = None,
            max_size: Optional[int] = None,
            min_size: Optional[int] = None,
            monitoring: Optional[bool] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            resource_tag_specifications: Optional[Sequence[OceanResourceTagSpecificationArgs]] = None,
            root_volume_size: Optional[int] = None,
            scheduled_tasks: Optional[Sequence[OceanScheduledTaskArgs]] = None,
            security_groups: Optional[Sequence[str]] = None,
            spot_percentage: Optional[int] = None,
            spread_nodes_by: Optional[str] = None,
            subnet_ids: Optional[Sequence[str]] = None,
            tags: Optional[Sequence[OceanTagArgs]] = None,
            update_policy: Optional[OceanUpdatePolicyArgs] = None,
            use_as_template_only: Optional[bool] = None,
            user_data: Optional[str] = None,
            utilize_commitments: Optional[bool] = None,
            utilize_reserved_instances: Optional[bool] = None,
            whitelists: Optional[Sequence[str]] = None) -> Ocean
    func GetOcean(ctx *Context, name string, id IDInput, state *OceanState, opts ...ResourceOption) (*Ocean, error)
    public static Ocean Get(string name, Input<string> id, OceanState? state, CustomResourceOptions? opts = null)
    public static Ocean get(String name, Output<String> id, OceanState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssociateIpv6Address bool
    Configure IPv6 address allocation.
    AssociatePublicIpAddress bool
    Configure public IP address allocation.
    Autoscaler Pulumi.SpotInst.Aws.Inputs.OceanAutoscaler
    Blacklists List<string>
    BlockDeviceMappings List<Pulumi.SpotInst.Aws.Inputs.OceanBlockDeviceMapping>
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    ClusterOrientations List<Pulumi.SpotInst.Aws.Inputs.OceanClusterOrientation>
    ControllerId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    DrainingTimeout int
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    EbsOptimized bool
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    FallbackToOndemand bool
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    Filters Pulumi.SpotInst.Aws.Inputs.OceanFilters
    GracePeriod int
    The amount of time, in seconds, after the instance has launched to start checking its health.
    HealthCheckUnhealthyDurationBeforeReplacement int
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    IamInstanceProfile string
    The instance profile iam role.
    ImageId string
    ID of the image used to launch the instances.
    InstanceMetadataOptions Pulumi.SpotInst.Aws.Inputs.OceanInstanceMetadataOptions
    Ocean instance metadata options object for IMDSv2.
    KeyName string
    The key pair to attach the instances.
    LoadBalancers List<Pulumi.SpotInst.Aws.Inputs.OceanLoadBalancer>
    Array of load balancer objects to add to ocean cluster
    Logging Pulumi.SpotInst.Aws.Inputs.OceanLogging
    Logging configuration.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    Monitoring bool
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    Name string
    The cluster name.
    Region string
    The region the cluster will run in.
    ResourceTagSpecifications List<Pulumi.SpotInst.Aws.Inputs.OceanResourceTagSpecification>
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    RootVolumeSize int
    The size (in Gb) to allocate for the root volume. Minimum 20.
    ScheduledTasks List<Pulumi.SpotInst.Aws.Inputs.OceanScheduledTask>
    SecurityGroups List<string>
    One or more security group ids.
    SpotPercentage int
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    SpreadNodesBy string
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    SubnetIds List<string>
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    Tags List<Pulumi.SpotInst.Aws.Inputs.OceanTag>
    Optionally adds tags to instances launched in an Ocean cluster.
    UpdatePolicy Pulumi.SpotInst.Aws.Inputs.OceanUpdatePolicy
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    UserData string
    Base64-encoded MIME user data to make available to the instances.
    UtilizeCommitments bool
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    UtilizeReservedInstances bool
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    Whitelists List<string>
    AssociateIpv6Address bool
    Configure IPv6 address allocation.
    AssociatePublicIpAddress bool
    Configure public IP address allocation.
    Autoscaler OceanAutoscalerArgs
    Blacklists []string
    BlockDeviceMappings []OceanBlockDeviceMappingArgs
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    ClusterOrientations []OceanClusterOrientationArgs
    ControllerId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    DesiredCapacity int
    The number of instances to launch and maintain in the cluster.
    DrainingTimeout int
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    EbsOptimized bool
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    FallbackToOndemand bool
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    Filters OceanFiltersArgs
    GracePeriod int
    The amount of time, in seconds, after the instance has launched to start checking its health.
    HealthCheckUnhealthyDurationBeforeReplacement int
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    IamInstanceProfile string
    The instance profile iam role.
    ImageId string
    ID of the image used to launch the instances.
    InstanceMetadataOptions OceanInstanceMetadataOptionsArgs
    Ocean instance metadata options object for IMDSv2.
    KeyName string
    The key pair to attach the instances.
    LoadBalancers []OceanLoadBalancerArgs
    Array of load balancer objects to add to ocean cluster
    Logging OceanLoggingArgs
    Logging configuration.
    MaxSize int
    The upper limit of instances the cluster can scale up to.
    MinSize int
    The lower limit of instances the cluster can scale down to.
    Monitoring bool
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    Name string
    The cluster name.
    Region string
    The region the cluster will run in.
    ResourceTagSpecifications []OceanResourceTagSpecificationArgs
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    RootVolumeSize int
    The size (in Gb) to allocate for the root volume. Minimum 20.
    ScheduledTasks []OceanScheduledTaskArgs
    SecurityGroups []string
    One or more security group ids.
    SpotPercentage int
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    SpreadNodesBy string
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    SubnetIds []string
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    Tags []OceanTagArgs
    Optionally adds tags to instances launched in an Ocean cluster.
    UpdatePolicy OceanUpdatePolicyArgs
    UseAsTemplateOnly bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    UserData string
    Base64-encoded MIME user data to make available to the instances.
    UtilizeCommitments bool
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    UtilizeReservedInstances bool
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    Whitelists []string
    associateIpv6Address Boolean
    Configure IPv6 address allocation.
    associatePublicIpAddress Boolean
    Configure public IP address allocation.
    autoscaler OceanAutoscaler
    blacklists List<String>
    blockDeviceMappings List<OceanBlockDeviceMapping>
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    clusterOrientations List<OceanClusterOrientation>
    controllerId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Integer
    The number of instances to launch and maintain in the cluster.
    drainingTimeout Integer
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebsOptimized Boolean
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallbackToOndemand Boolean
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters OceanFilters
    gracePeriod Integer
    The amount of time, in seconds, after the instance has launched to start checking its health.
    healthCheckUnhealthyDurationBeforeReplacement Integer
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iamInstanceProfile String
    The instance profile iam role.
    imageId String
    ID of the image used to launch the instances.
    instanceMetadataOptions OceanInstanceMetadataOptions
    Ocean instance metadata options object for IMDSv2.
    keyName String
    The key pair to attach the instances.
    loadBalancers List<OceanLoadBalancer>
    Array of load balancer objects to add to ocean cluster
    logging OceanLogging
    Logging configuration.
    maxSize Integer
    The upper limit of instances the cluster can scale up to.
    minSize Integer
    The lower limit of instances the cluster can scale down to.
    monitoring Boolean
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name String
    The cluster name.
    region String
    The region the cluster will run in.
    resourceTagSpecifications List<OceanResourceTagSpecification>
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    rootVolumeSize Integer
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduledTasks List<OceanScheduledTask>
    securityGroups List<String>
    One or more security group ids.
    spotPercentage Integer
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spreadNodesBy String
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    subnetIds List<String>
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    tags List<OceanTag>
    Optionally adds tags to instances launched in an Ocean cluster.
    updatePolicy OceanUpdatePolicy
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    userData String
    Base64-encoded MIME user data to make available to the instances.
    utilizeCommitments Boolean
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilizeReservedInstances Boolean
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists List<String>
    associateIpv6Address boolean
    Configure IPv6 address allocation.
    associatePublicIpAddress boolean
    Configure public IP address allocation.
    autoscaler OceanAutoscaler
    blacklists string[]
    blockDeviceMappings OceanBlockDeviceMapping[]
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    clusterOrientations OceanClusterOrientation[]
    controllerId string
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity number
    The number of instances to launch and maintain in the cluster.
    drainingTimeout number
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebsOptimized boolean
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallbackToOndemand boolean
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters OceanFilters
    gracePeriod number
    The amount of time, in seconds, after the instance has launched to start checking its health.
    healthCheckUnhealthyDurationBeforeReplacement number
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iamInstanceProfile string
    The instance profile iam role.
    imageId string
    ID of the image used to launch the instances.
    instanceMetadataOptions OceanInstanceMetadataOptions
    Ocean instance metadata options object for IMDSv2.
    keyName string
    The key pair to attach the instances.
    loadBalancers OceanLoadBalancer[]
    Array of load balancer objects to add to ocean cluster
    logging OceanLogging
    Logging configuration.
    maxSize number
    The upper limit of instances the cluster can scale up to.
    minSize number
    The lower limit of instances the cluster can scale down to.
    monitoring boolean
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name string
    The cluster name.
    region string
    The region the cluster will run in.
    resourceTagSpecifications OceanResourceTagSpecification[]
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    rootVolumeSize number
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduledTasks OceanScheduledTask[]
    securityGroups string[]
    One or more security group ids.
    spotPercentage number
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spreadNodesBy string
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    subnetIds string[]
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    tags OceanTag[]
    Optionally adds tags to instances launched in an Ocean cluster.
    updatePolicy OceanUpdatePolicy
    useAsTemplateOnly boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    userData string
    Base64-encoded MIME user data to make available to the instances.
    utilizeCommitments boolean
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilizeReservedInstances boolean
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists string[]
    associate_ipv6_address bool
    Configure IPv6 address allocation.
    associate_public_ip_address bool
    Configure public IP address allocation.
    autoscaler OceanAutoscalerArgs
    blacklists Sequence[str]
    block_device_mappings Sequence[OceanBlockDeviceMappingArgs]
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    cluster_orientations Sequence[OceanClusterOrientationArgs]
    controller_id str
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desired_capacity int
    The number of instances to launch and maintain in the cluster.
    draining_timeout int
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebs_optimized bool
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallback_to_ondemand bool
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters OceanFiltersArgs
    grace_period int
    The amount of time, in seconds, after the instance has launched to start checking its health.
    health_check_unhealthy_duration_before_replacement int
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iam_instance_profile str
    The instance profile iam role.
    image_id str
    ID of the image used to launch the instances.
    instance_metadata_options OceanInstanceMetadataOptionsArgs
    Ocean instance metadata options object for IMDSv2.
    key_name str
    The key pair to attach the instances.
    load_balancers Sequence[OceanLoadBalancerArgs]
    Array of load balancer objects to add to ocean cluster
    logging OceanLoggingArgs
    Logging configuration.
    max_size int
    The upper limit of instances the cluster can scale up to.
    min_size int
    The lower limit of instances the cluster can scale down to.
    monitoring bool
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name str
    The cluster name.
    region str
    The region the cluster will run in.
    resource_tag_specifications Sequence[OceanResourceTagSpecificationArgs]
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    root_volume_size int
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduled_tasks Sequence[OceanScheduledTaskArgs]
    security_groups Sequence[str]
    One or more security group ids.
    spot_percentage int
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spread_nodes_by str
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    subnet_ids Sequence[str]
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    tags Sequence[OceanTagArgs]
    Optionally adds tags to instances launched in an Ocean cluster.
    update_policy OceanUpdatePolicyArgs
    use_as_template_only bool
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    user_data str
    Base64-encoded MIME user data to make available to the instances.
    utilize_commitments bool
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilize_reserved_instances bool
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists Sequence[str]
    associateIpv6Address Boolean
    Configure IPv6 address allocation.
    associatePublicIpAddress Boolean
    Configure public IP address allocation.
    autoscaler Property Map
    blacklists List<String>
    blockDeviceMappings List<Property Map>
    Object. Array list of block devices that are exposed to the instance, specify either virtual devices and EBS volumes.
    clusterOrientations List<Property Map>
    controllerId String
    A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
    desiredCapacity Number
    The number of instances to launch and maintain in the cluster.
    drainingTimeout Number
    The time in seconds, the instance is allowed to run while detached from the ELB. This is to allow the instance time to be drained from incoming TCP connections before terminating it, during a scale down operation.
    ebsOptimized Boolean
    Enable EBS optimized for cluster. Flag will enable optimized capacity for high bandwidth connectivity to the EB service for non EBS optimized instance types. For instances that are EBS optimized this flag will be ignored.
    fallbackToOndemand Boolean
    If not Spot instance markets are available, enable Ocean to launch On-Demand instances instead.
    filters Property Map
    gracePeriod Number
    The amount of time, in seconds, after the instance has launched to start checking its health.
    healthCheckUnhealthyDurationBeforeReplacement Number
    The amount of time, in seconds, an existing instance should remain active after becoming unhealthy. After the set time out the instance will be replaced. The minimum value allowed is 60, and it must be a multiple of 60.
    iamInstanceProfile String
    The instance profile iam role.
    imageId String
    ID of the image used to launch the instances.
    instanceMetadataOptions Property Map
    Ocean instance metadata options object for IMDSv2.
    keyName String
    The key pair to attach the instances.
    loadBalancers List<Property Map>
    Array of load balancer objects to add to ocean cluster
    logging Property Map
    Logging configuration.
    maxSize Number
    The upper limit of instances the cluster can scale up to.
    minSize Number
    The lower limit of instances the cluster can scale down to.
    monitoring Boolean
    Enable detailed monitoring for cluster. Flag will enable Cloud Watch detailed monitoring (one minute increments). Note: there are additional hourly costs for this service based on the region used.
    name String
    The cluster name.
    region String
    The region the cluster will run in.
    resourceTagSpecifications List<Property Map>
    Specify which resources should be tagged with Virtual Node Group tags or Ocean tags. If tags are set on the VNG, the resources will be tagged with the VNG tags; otherwise, they will be tagged with the Ocean tags.
    rootVolumeSize Number
    The size (in Gb) to allocate for the root volume. Minimum 20.
    scheduledTasks List<Property Map>
    securityGroups List<String>
    One or more security group ids.
    spotPercentage Number
    The desired percentage of Spot instances out of all running instances. Only available when the field is not set in any VNG directly (launchSpec.strategy.spotPercentage).
    spreadNodesBy String
    Ocean will spread the nodes across markets by this value. Possible values: vcpu or count.
    subnetIds List<String>
    A comma-separated list of subnet identifiers for the Ocean cluster. Subnet IDs should be configured with auto assign public IP.
    tags List<Property Map>
    Optionally adds tags to instances launched in an Ocean cluster.
    updatePolicy Property Map
    useAsTemplateOnly Boolean
    launch specification defined on the Ocean object will function only as a template for virtual node groups. When set to true, on Ocean resource creation please make sure your custom VNG has an initial_nodes parameter to create nodes for your VNG.
    userData String
    Base64-encoded MIME user data to make available to the instances.
    utilizeCommitments Boolean
    If savings plans exist, Ocean will utilize them before launching Spot instances.
    utilizeReservedInstances Boolean
    If Reserved instances exist, Ocean will utilize them before launching Spot instances.
    whitelists List<String>

    Supporting Types

    OceanAutoscaler, OceanAutoscalerArgs

    OceanAutoscalerAutoscaleDown, OceanAutoscalerAutoscaleDownArgs

    OceanAutoscalerAutoscaleHeadroom, OceanAutoscalerAutoscaleHeadroomArgs

    cpuPerUnit Integer
    gpuPerUnit Integer
    memoryPerUnit Integer
    numOfUnits Integer

    OceanAutoscalerResourceLimits, OceanAutoscalerResourceLimitsArgs

    maxMemoryGib Integer
    maxVcpu Integer
    maxMemoryGib number
    maxVcpu number
    maxMemoryGib Number
    maxVcpu Number

    OceanBlockDeviceMapping, OceanBlockDeviceMappingArgs

    DeviceName string
    String. Set device name. (Example: /dev/xvda).
    Ebs Pulumi.SpotInst.Aws.Inputs.OceanBlockDeviceMappingEbs
    Object. Set Elastic Block Store properties .
    DeviceName string
    String. Set device name. (Example: /dev/xvda).
    Ebs OceanBlockDeviceMappingEbs
    Object. Set Elastic Block Store properties .
    deviceName String
    String. Set device name. (Example: /dev/xvda).
    ebs OceanBlockDeviceMappingEbs
    Object. Set Elastic Block Store properties .
    deviceName string
    String. Set device name. (Example: /dev/xvda).
    ebs OceanBlockDeviceMappingEbs
    Object. Set Elastic Block Store properties .
    device_name str
    String. Set device name. (Example: /dev/xvda).
    ebs OceanBlockDeviceMappingEbs
    Object. Set Elastic Block Store properties .
    deviceName String
    String. Set device name. (Example: /dev/xvda).
    ebs Property Map
    Object. Set Elastic Block Store properties .

    OceanBlockDeviceMappingEbs, OceanBlockDeviceMappingEbsArgs

    OceanBlockDeviceMappingEbsDynamicIops, OceanBlockDeviceMappingEbsDynamicIopsArgs

    OceanBlockDeviceMappingEbsDynamicVolumeSize, OceanBlockDeviceMappingEbsDynamicVolumeSizeArgs

    OceanClusterOrientation, OceanClusterOrientationArgs

    AvailabilityVsCost string
    You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: costOriented,balanced,cheapest.
    AvailabilityVsCost string
    You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: costOriented,balanced,cheapest.
    availabilityVsCost String
    You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: costOriented,balanced,cheapest.
    availabilityVsCost string
    You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: costOriented,balanced,cheapest.
    availability_vs_cost str
    You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: costOriented,balanced,cheapest.
    availabilityVsCost String
    You can control the approach that Ocean takes while launching nodes by configuring this value. Possible values: costOriented,balanced,cheapest.

    OceanFilters, OceanFiltersArgs

    Architectures List<string>
    Categories List<string>
    DiskTypes List<string>
    ExcludeFamilies List<string>
    ExcludeMetal bool
    Hypervisors List<string>
    IncludeFamilies List<string>
    IsEnaSupported string
    MaxGpu int
    MaxMemoryGib double
    MaxNetworkPerformance int
    MaxVcpu int
    MinEnis int
    MinGpu int
    MinMemoryGib double
    MinNetworkPerformance int
    MinVcpu int
    RootDeviceTypes List<string>
    VirtualizationTypes List<string>
    architectures List<String>
    categories List<String>
    diskTypes List<String>
    excludeFamilies List<String>
    excludeMetal Boolean
    hypervisors List<String>
    includeFamilies List<String>
    isEnaSupported String
    maxGpu Integer
    maxMemoryGib Double
    maxNetworkPerformance Integer
    maxVcpu Integer
    minEnis Integer
    minGpu Integer
    minMemoryGib Double
    minNetworkPerformance Integer
    minVcpu Integer
    rootDeviceTypes List<String>
    virtualizationTypes List<String>
    architectures List<String>
    categories List<String>
    diskTypes List<String>
    excludeFamilies List<String>
    excludeMetal Boolean
    hypervisors List<String>
    includeFamilies List<String>
    isEnaSupported String
    maxGpu Number
    maxMemoryGib Number
    maxNetworkPerformance Number
    maxVcpu Number
    minEnis Number
    minGpu Number
    minMemoryGib Number
    minNetworkPerformance Number
    minVcpu Number
    rootDeviceTypes List<String>
    virtualizationTypes List<String>

    OceanInstanceMetadataOptions, OceanInstanceMetadataOptionsArgs

    HttpTokens string
    Determines if a signed token is required or not. Valid values: optional or required.
    HttpPutResponseHopLimit int
    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.
    HttpTokens string
    Determines if a signed token is required or not. Valid values: optional or required.
    HttpPutResponseHopLimit int
    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.
    httpTokens String
    Determines if a signed token is required or not. Valid values: optional or required.
    httpPutResponseHopLimit Integer
    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.
    httpTokens string
    Determines if a signed token is required or not. Valid values: optional or required.
    httpPutResponseHopLimit number
    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 or required.
    http_put_response_hop_limit int
    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.
    httpTokens String
    Determines if a signed token is required or not. Valid values: optional or required.
    httpPutResponseHopLimit Number
    An integer from 1 through 64. The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further the instance metadata requests can travel.

    OceanLoadBalancer, OceanLoadBalancerArgs

    Arn string
    Required if type is set to TARGET_GROUP
    Name string
    Required if type is set to CLASSIC
    Type string
    Can be set to CLASSIC or TARGET_GROUP
    Arn string
    Required if type is set to TARGET_GROUP
    Name string
    Required if type is set to CLASSIC
    Type string
    Can be set to CLASSIC or TARGET_GROUP
    arn String
    Required if type is set to TARGET_GROUP
    name String
    Required if type is set to CLASSIC
    type String
    Can be set to CLASSIC or TARGET_GROUP
    arn string
    Required if type is set to TARGET_GROUP
    name string
    Required if type is set to CLASSIC
    type string
    Can be set to CLASSIC or TARGET_GROUP
    arn str
    Required if type is set to TARGET_GROUP
    name str
    Required if type is set to CLASSIC
    type str
    Can be set to CLASSIC or TARGET_GROUP
    arn String
    Required if type is set to TARGET_GROUP
    name String
    Required if type is set to CLASSIC
    type String
    Can be set to CLASSIC or TARGET_GROUP

    OceanLogging, OceanLoggingArgs

    Export OceanLoggingExport
    Logging Export configuration.
    export OceanLoggingExport
    Logging Export configuration.
    export OceanLoggingExport
    Logging Export configuration.
    export OceanLoggingExport
    Logging Export configuration.
    export Property Map
    Logging Export configuration.

    OceanLoggingExport, OceanLoggingExportArgs

    OceanLoggingExportS3, OceanLoggingExportS3Args

    Id string
    The Cluster ID.
    Id string
    The Cluster ID.
    id String
    The Cluster ID.
    id string
    The Cluster ID.
    id str
    The Cluster ID.
    id String
    The Cluster ID.

    OceanResourceTagSpecification, OceanResourceTagSpecificationArgs

    ShouldTagVolumes bool
    Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
    ShouldTagVolumes bool
    Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
    shouldTagVolumes Boolean
    Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
    shouldTagVolumes boolean
    Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
    should_tag_volumes bool
    Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.
    shouldTagVolumes Boolean
    Specify if Volume resources will be tagged with Virtual Node Group tags or Ocean tags.

    OceanScheduledTask, OceanScheduledTaskArgs

    OceanScheduledTaskShutdownHours, OceanScheduledTaskShutdownHoursArgs

    TimeWindows List<string>
    IsEnabled bool
    TimeWindows []string
    IsEnabled bool
    timeWindows List<String>
    isEnabled Boolean
    timeWindows string[]
    isEnabled boolean
    time_windows Sequence[str]
    is_enabled bool
    timeWindows List<String>
    isEnabled Boolean

    OceanScheduledTaskTask, OceanScheduledTaskTaskArgs

    OceanScheduledTaskTaskParameters, OceanScheduledTaskTaskParametersArgs

    OceanScheduledTaskTaskParametersAmiAutoUpdate, OceanScheduledTaskTaskParametersAmiAutoUpdateArgs

    OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRoll, OceanScheduledTaskTaskParametersAmiAutoUpdateAmiAutoUpdateClusterRollArgs

    OceanScheduledTaskTaskParametersParametersClusterRoll, OceanScheduledTaskTaskParametersParametersClusterRollArgs

    OceanTag, OceanTagArgs

    Key string
    The tag key.
    Value string
    The tag value.
    Key string
    The tag key.
    Value string
    The tag value.
    key String
    The tag key.
    value String
    The tag value.
    key string
    The tag key.
    value string
    The tag value.
    key str
    The tag key.
    value str
    The tag value.
    key String
    The tag key.
    value String
    The tag value.

    OceanUpdatePolicy, OceanUpdatePolicyArgs

    OceanUpdatePolicyRollConfig, OceanUpdatePolicyRollConfigArgs

    Import

    Clusters can be imported using the Ocean id, e.g.,

    hcl

    $ pulumi import spotinst:aws/ocean:Ocean this o-12345678
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Spotinst pulumi/pulumi-spotinst
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the spotinst Terraform Provider.
    spotinst logo
    Spotinst v3.76.0 published on Wednesday, Apr 24, 2024 by Pulumi