1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. ClusterEks
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.ClusterEks

Explore with Pulumi AI

Resource for managing EKS clusters in Spectro Cloud through Palette.

Example Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spectrocloud.SpectrocloudFunctions;
import com.pulumi.spectrocloud.inputs.GetCloudaccountAwsArgs;
import com.pulumi.spectrocloud.inputs.GetClusterProfileArgs;
import com.pulumi.spectrocloud.inputs.GetBackupStorageLocationArgs;
import com.pulumi.spectrocloud.ClusterEks;
import com.pulumi.spectrocloud.ClusterEksArgs;
import com.pulumi.spectrocloud.inputs.ClusterEksCloudConfigArgs;
import com.pulumi.spectrocloud.inputs.ClusterEksClusterProfileArgs;
import com.pulumi.spectrocloud.inputs.ClusterEksBackupPolicyArgs;
import com.pulumi.spectrocloud.inputs.ClusterEksScanPolicyArgs;
import com.pulumi.spectrocloud.inputs.ClusterEksMachinePoolArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var account = SpectrocloudFunctions.getCloudaccountAws(GetCloudaccountAwsArgs.builder()
            .name(var_.cluster_cloud_account_name())
            .build());

        final var profile = SpectrocloudFunctions.getClusterProfile(GetClusterProfileArgs.builder()
            .name(var_.cluster_cluster_profile_name())
            .build());

        final var bsl = SpectrocloudFunctions.getBackupStorageLocation(GetBackupStorageLocationArgs.builder()
            .name(var_.backup_storage_location_name())
            .build());

        var cluster = new ClusterEks("cluster", ClusterEksArgs.builder()
            .tags(            
                "dev",
                "department:devops",
                "owner:bob")
            .cloudAccountId(account.applyValue(getCloudaccountAwsResult -> getCloudaccountAwsResult.id()))
            .cloudConfig(ClusterEksCloudConfigArgs.builder()
                .sshKeyName("default")
                .region("us-west-2")
                .build())
            .clusterProfiles(ClusterEksClusterProfileArgs.builder()
                .id(profile.applyValue(getClusterProfileResult -> getClusterProfileResult.id()))
                .build())
            .backupPolicy(ClusterEksBackupPolicyArgs.builder()
                .schedule("0 0 * * SUN")
                .backupLocationId(bsl.applyValue(getBackupStorageLocationResult -> getBackupStorageLocationResult.id()))
                .prefix("prod-backup")
                .expiryInHour(7200)
                .includeDisks(true)
                .includeClusterResources(true)
                .build())
            .scanPolicy(ClusterEksScanPolicyArgs.builder()
                .configurationScanSchedule("0 0 * * SUN")
                .penetrationScanSchedule("0 0 * * SUN")
                .conformanceScanSchedule("0 0 1 * *")
                .build())
            .machinePools(ClusterEksMachinePoolArgs.builder()
                .name("worker-basic")
                .count(1)
                .instanceType("t3.large")
                .diskSizeGb(60)
                .azSubnets(Map.of("us-west-2a", "subnet-0d4978ddbff16c"))
                .encryptionConfigArn("arn:aws:kms:us-west-2:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab")
                .build())
            .build());

    }
}
Copy
resources:
  cluster:
    type: spectrocloud:ClusterEks
    properties:
      tags:
        - dev
        - department:devops
        - owner:bob
      cloudAccountId: ${account.id}
      cloudConfig:
        sshKeyName: default
        region: us-west-2
      clusterProfiles:
        - id: ${profile.id}
      backupPolicy:
        schedule: 0 0 * * SUN
        backupLocationId: ${bsl.id}
        prefix: prod-backup
        expiryInHour: 7200
        includeDisks: true
        includeClusterResources: true
      scanPolicy:
        configurationScanSchedule: 0 0 * * SUN
        penetrationScanSchedule: 0 0 * * SUN
        conformanceScanSchedule: 0 0 1 * *
      machinePools:
        - name: worker-basic
          count: 1
          instanceType: t3.large
          diskSizeGb: 60
          azSubnets:
            us-west-2a: subnet-0d4978ddbff16c
          encryptionConfigArn: arn:aws:kms:us-west-2:123456789012:key/1234abcd-12ab-34cd-56ef-1234567890ab
variables:
  account:
    fn::invoke:
      function: spectrocloud:getCloudaccountAws
      arguments:
        name: ${var.cluster_cloud_account_name}
  profile:
    fn::invoke:
      function: spectrocloud:getClusterProfile
      arguments:
        name: ${var.cluster_cluster_profile_name}
  bsl:
    fn::invoke:
      function: spectrocloud:getBackupStorageLocation
      arguments:
        name: ${var.backup_storage_location_name}
Copy

Create ClusterEks Resource

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

Constructor syntax

new ClusterEks(name: string, args: ClusterEksArgs, opts?: CustomResourceOptions);
@overload
def ClusterEks(resource_name: str,
               args: ClusterEksArgs,
               opts: Optional[ResourceOptions] = None)

@overload
def ClusterEks(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               cloud_config: Optional[ClusterEksCloudConfigArgs] = None,
               machine_pools: Optional[Sequence[ClusterEksMachinePoolArgs]] = None,
               cloud_account_id: Optional[str] = None,
               force_delete_delay: Optional[float] = None,
               backup_policy: Optional[ClusterEksBackupPolicyArgs] = None,
               cluster_meta_attribute: Optional[str] = None,
               cluster_profiles: Optional[Sequence[ClusterEksClusterProfileArgs]] = None,
               cluster_rbac_bindings: Optional[Sequence[ClusterEksClusterRbacBindingArgs]] = None,
               context: Optional[str] = None,
               description: Optional[str] = None,
               fargate_profiles: Optional[Sequence[ClusterEksFargateProfileArgs]] = None,
               force_delete: Optional[bool] = None,
               apply_setting: Optional[str] = None,
               host_configs: Optional[Sequence[ClusterEksHostConfigArgs]] = None,
               cluster_eks_id: Optional[str] = None,
               name: Optional[str] = None,
               namespaces: Optional[Sequence[ClusterEksNamespaceArgs]] = None,
               os_patch_after: Optional[str] = None,
               os_patch_on_boot: Optional[bool] = None,
               os_patch_schedule: Optional[str] = None,
               pause_agent_upgrades: Optional[str] = None,
               review_repave_state: Optional[str] = None,
               scan_policy: Optional[ClusterEksScanPolicyArgs] = None,
               skip_completion: Optional[bool] = None,
               tags: Optional[Sequence[str]] = None,
               tags_map: Optional[Mapping[str, str]] = None,
               timeouts: Optional[ClusterEksTimeoutsArgs] = None)
func NewClusterEks(ctx *Context, name string, args ClusterEksArgs, opts ...ResourceOption) (*ClusterEks, error)
public ClusterEks(string name, ClusterEksArgs args, CustomResourceOptions? opts = null)
public ClusterEks(String name, ClusterEksArgs args)
public ClusterEks(String name, ClusterEksArgs args, CustomResourceOptions options)
type: spectrocloud:ClusterEks
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

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

Constructor example

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

var clusterEksResource = new Spectrocloud.ClusterEks("clusterEksResource", new()
{
    CloudConfig = new Spectrocloud.Inputs.ClusterEksCloudConfigArgs
    {
        Region = "string",
        AzSubnets = 
        {
            { "string", "string" },
        },
        Azs = new[]
        {
            "string",
        },
        EncryptionConfigArn = "string",
        EndpointAccess = "string",
        PrivateAccessCidrs = new[]
        {
            "string",
        },
        PublicAccessCidrs = new[]
        {
            "string",
        },
        SshKeyName = "string",
        VpcId = "string",
    },
    MachinePools = new[]
    {
        new Spectrocloud.Inputs.ClusterEksMachinePoolArgs
        {
            Count = 0,
            Name = "string",
            InstanceType = "string",
            DiskSizeGb = 0,
            EksLaunchTemplate = new Spectrocloud.Inputs.ClusterEksMachinePoolEksLaunchTemplateArgs
            {
                AdditionalSecurityGroups = new[]
                {
                    "string",
                },
                AmiId = "string",
                RootVolumeIops = 0,
                RootVolumeThroughput = 0,
                RootVolumeType = "string",
            },
            CapacityType = "string",
            AdditionalLabels = 
            {
                { "string", "string" },
            },
            Azs = new[]
            {
                "string",
            },
            Max = 0,
            MaxPrice = "string",
            Min = 0,
            AzSubnets = 
            {
                { "string", "string" },
            },
            Nodes = new[]
            {
                new Spectrocloud.Inputs.ClusterEksMachinePoolNodeArgs
                {
                    Action = "string",
                    NodeId = "string",
                },
            },
            Taints = new[]
            {
                new Spectrocloud.Inputs.ClusterEksMachinePoolTaintArgs
                {
                    Effect = "string",
                    Key = "string",
                    Value = "string",
                },
            },
            UpdateStrategy = "string",
        },
    },
    CloudAccountId = "string",
    ForceDeleteDelay = 0,
    BackupPolicy = new Spectrocloud.Inputs.ClusterEksBackupPolicyArgs
    {
        BackupLocationId = "string",
        ExpiryInHour = 0,
        Prefix = "string",
        Schedule = "string",
        ClusterUids = new[]
        {
            "string",
        },
        IncludeAllClusters = false,
        IncludeClusterResources = false,
        IncludeClusterResourcesMode = "string",
        IncludeDisks = false,
        Namespaces = new[]
        {
            "string",
        },
    },
    ClusterMetaAttribute = "string",
    ClusterProfiles = new[]
    {
        new Spectrocloud.Inputs.ClusterEksClusterProfileArgs
        {
            Id = "string",
            Packs = new[]
            {
                new Spectrocloud.Inputs.ClusterEksClusterProfilePackArgs
                {
                    Name = "string",
                    Manifests = new[]
                    {
                        new Spectrocloud.Inputs.ClusterEksClusterProfilePackManifestArgs
                        {
                            Content = "string",
                            Name = "string",
                            Uid = "string",
                        },
                    },
                    RegistryUid = "string",
                    Tag = "string",
                    Type = "string",
                    Uid = "string",
                    Values = "string",
                },
            },
            Variables = 
            {
                { "string", "string" },
            },
        },
    },
    ClusterRbacBindings = new[]
    {
        new Spectrocloud.Inputs.ClusterEksClusterRbacBindingArgs
        {
            Type = "string",
            Namespace = "string",
            Role = 
            {
                { "string", "string" },
            },
            Subjects = new[]
            {
                new Spectrocloud.Inputs.ClusterEksClusterRbacBindingSubjectArgs
                {
                    Name = "string",
                    Type = "string",
                    Namespace = "string",
                },
            },
        },
    },
    Context = "string",
    Description = "string",
    FargateProfiles = new[]
    {
        new Spectrocloud.Inputs.ClusterEksFargateProfileArgs
        {
            Name = "string",
            Selectors = new[]
            {
                new Spectrocloud.Inputs.ClusterEksFargateProfileSelectorArgs
                {
                    Namespace = "string",
                    Labels = 
                    {
                        { "string", "string" },
                    },
                },
            },
            AdditionalTags = 
            {
                { "string", "string" },
            },
            Subnets = new[]
            {
                "string",
            },
        },
    },
    ForceDelete = false,
    ApplySetting = "string",
    HostConfigs = new[]
    {
        new Spectrocloud.Inputs.ClusterEksHostConfigArgs
        {
            ExternalTrafficPolicy = "string",
            HostEndpointType = "string",
            IngressHost = "string",
            LoadBalancerSourceRanges = "string",
        },
    },
    ClusterEksId = "string",
    Name = "string",
    Namespaces = new[]
    {
        new Spectrocloud.Inputs.ClusterEksNamespaceArgs
        {
            Name = "string",
            ResourceAllocation = 
            {
                { "string", "string" },
            },
            ImagesBlacklists = new[]
            {
                "string",
            },
        },
    },
    OsPatchAfter = "string",
    OsPatchOnBoot = false,
    OsPatchSchedule = "string",
    PauseAgentUpgrades = "string",
    ReviewRepaveState = "string",
    ScanPolicy = new Spectrocloud.Inputs.ClusterEksScanPolicyArgs
    {
        ConfigurationScanSchedule = "string",
        ConformanceScanSchedule = "string",
        PenetrationScanSchedule = "string",
    },
    SkipCompletion = false,
    Tags = new[]
    {
        "string",
    },
    TagsMap = 
    {
        { "string", "string" },
    },
    Timeouts = new Spectrocloud.Inputs.ClusterEksTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := spectrocloud.NewClusterEks(ctx, "clusterEksResource", &spectrocloud.ClusterEksArgs{
	CloudConfig: &spectrocloud.ClusterEksCloudConfigArgs{
		Region: pulumi.String("string"),
		AzSubnets: pulumi.StringMap{
			"string": pulumi.String("string"),
		},
		Azs: pulumi.StringArray{
			pulumi.String("string"),
		},
		EncryptionConfigArn: pulumi.String("string"),
		EndpointAccess:      pulumi.String("string"),
		PrivateAccessCidrs: pulumi.StringArray{
			pulumi.String("string"),
		},
		PublicAccessCidrs: pulumi.StringArray{
			pulumi.String("string"),
		},
		SshKeyName: pulumi.String("string"),
		VpcId:      pulumi.String("string"),
	},
	MachinePools: spectrocloud.ClusterEksMachinePoolArray{
		&spectrocloud.ClusterEksMachinePoolArgs{
			Count:        pulumi.Float64(0),
			Name:         pulumi.String("string"),
			InstanceType: pulumi.String("string"),
			DiskSizeGb:   pulumi.Float64(0),
			EksLaunchTemplate: &spectrocloud.ClusterEksMachinePoolEksLaunchTemplateArgs{
				AdditionalSecurityGroups: pulumi.StringArray{
					pulumi.String("string"),
				},
				AmiId:                pulumi.String("string"),
				RootVolumeIops:       pulumi.Float64(0),
				RootVolumeThroughput: pulumi.Float64(0),
				RootVolumeType:       pulumi.String("string"),
			},
			CapacityType: pulumi.String("string"),
			AdditionalLabels: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Azs: pulumi.StringArray{
				pulumi.String("string"),
			},
			Max:      pulumi.Float64(0),
			MaxPrice: pulumi.String("string"),
			Min:      pulumi.Float64(0),
			AzSubnets: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Nodes: spectrocloud.ClusterEksMachinePoolNodeArray{
				&spectrocloud.ClusterEksMachinePoolNodeArgs{
					Action: pulumi.String("string"),
					NodeId: pulumi.String("string"),
				},
			},
			Taints: spectrocloud.ClusterEksMachinePoolTaintArray{
				&spectrocloud.ClusterEksMachinePoolTaintArgs{
					Effect: pulumi.String("string"),
					Key:    pulumi.String("string"),
					Value:  pulumi.String("string"),
				},
			},
			UpdateStrategy: pulumi.String("string"),
		},
	},
	CloudAccountId:   pulumi.String("string"),
	ForceDeleteDelay: pulumi.Float64(0),
	BackupPolicy: &spectrocloud.ClusterEksBackupPolicyArgs{
		BackupLocationId: pulumi.String("string"),
		ExpiryInHour:     pulumi.Float64(0),
		Prefix:           pulumi.String("string"),
		Schedule:         pulumi.String("string"),
		ClusterUids: pulumi.StringArray{
			pulumi.String("string"),
		},
		IncludeAllClusters:          pulumi.Bool(false),
		IncludeClusterResources:     pulumi.Bool(false),
		IncludeClusterResourcesMode: pulumi.String("string"),
		IncludeDisks:                pulumi.Bool(false),
		Namespaces: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	ClusterMetaAttribute: pulumi.String("string"),
	ClusterProfiles: spectrocloud.ClusterEksClusterProfileArray{
		&spectrocloud.ClusterEksClusterProfileArgs{
			Id: pulumi.String("string"),
			Packs: spectrocloud.ClusterEksClusterProfilePackArray{
				&spectrocloud.ClusterEksClusterProfilePackArgs{
					Name: pulumi.String("string"),
					Manifests: spectrocloud.ClusterEksClusterProfilePackManifestArray{
						&spectrocloud.ClusterEksClusterProfilePackManifestArgs{
							Content: pulumi.String("string"),
							Name:    pulumi.String("string"),
							Uid:     pulumi.String("string"),
						},
					},
					RegistryUid: pulumi.String("string"),
					Tag:         pulumi.String("string"),
					Type:        pulumi.String("string"),
					Uid:         pulumi.String("string"),
					Values:      pulumi.String("string"),
				},
			},
			Variables: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
		},
	},
	ClusterRbacBindings: spectrocloud.ClusterEksClusterRbacBindingArray{
		&spectrocloud.ClusterEksClusterRbacBindingArgs{
			Type:      pulumi.String("string"),
			Namespace: pulumi.String("string"),
			Role: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Subjects: spectrocloud.ClusterEksClusterRbacBindingSubjectArray{
				&spectrocloud.ClusterEksClusterRbacBindingSubjectArgs{
					Name:      pulumi.String("string"),
					Type:      pulumi.String("string"),
					Namespace: pulumi.String("string"),
				},
			},
		},
	},
	Context:     pulumi.String("string"),
	Description: pulumi.String("string"),
	FargateProfiles: spectrocloud.ClusterEksFargateProfileArray{
		&spectrocloud.ClusterEksFargateProfileArgs{
			Name: pulumi.String("string"),
			Selectors: spectrocloud.ClusterEksFargateProfileSelectorArray{
				&spectrocloud.ClusterEksFargateProfileSelectorArgs{
					Namespace: pulumi.String("string"),
					Labels: pulumi.StringMap{
						"string": pulumi.String("string"),
					},
				},
			},
			AdditionalTags: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			Subnets: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	ForceDelete:  pulumi.Bool(false),
	ApplySetting: pulumi.String("string"),
	HostConfigs: spectrocloud.ClusterEksHostConfigArray{
		&spectrocloud.ClusterEksHostConfigArgs{
			ExternalTrafficPolicy:    pulumi.String("string"),
			HostEndpointType:         pulumi.String("string"),
			IngressHost:              pulumi.String("string"),
			LoadBalancerSourceRanges: pulumi.String("string"),
		},
	},
	ClusterEksId: pulumi.String("string"),
	Name:         pulumi.String("string"),
	Namespaces: spectrocloud.ClusterEksNamespaceArray{
		&spectrocloud.ClusterEksNamespaceArgs{
			Name: pulumi.String("string"),
			ResourceAllocation: pulumi.StringMap{
				"string": pulumi.String("string"),
			},
			ImagesBlacklists: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	OsPatchAfter:       pulumi.String("string"),
	OsPatchOnBoot:      pulumi.Bool(false),
	OsPatchSchedule:    pulumi.String("string"),
	PauseAgentUpgrades: pulumi.String("string"),
	ReviewRepaveState:  pulumi.String("string"),
	ScanPolicy: &spectrocloud.ClusterEksScanPolicyArgs{
		ConfigurationScanSchedule: pulumi.String("string"),
		ConformanceScanSchedule:   pulumi.String("string"),
		PenetrationScanSchedule:   pulumi.String("string"),
	},
	SkipCompletion: pulumi.Bool(false),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	TagsMap: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &spectrocloud.ClusterEksTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
Copy
var clusterEksResource = new ClusterEks("clusterEksResource", ClusterEksArgs.builder()
    .cloudConfig(ClusterEksCloudConfigArgs.builder()
        .region("string")
        .azSubnets(Map.of("string", "string"))
        .azs("string")
        .encryptionConfigArn("string")
        .endpointAccess("string")
        .privateAccessCidrs("string")
        .publicAccessCidrs("string")
        .sshKeyName("string")
        .vpcId("string")
        .build())
    .machinePools(ClusterEksMachinePoolArgs.builder()
        .count(0)
        .name("string")
        .instanceType("string")
        .diskSizeGb(0)
        .eksLaunchTemplate(ClusterEksMachinePoolEksLaunchTemplateArgs.builder()
            .additionalSecurityGroups("string")
            .amiId("string")
            .rootVolumeIops(0)
            .rootVolumeThroughput(0)
            .rootVolumeType("string")
            .build())
        .capacityType("string")
        .additionalLabels(Map.of("string", "string"))
        .azs("string")
        .max(0)
        .maxPrice("string")
        .min(0)
        .azSubnets(Map.of("string", "string"))
        .nodes(ClusterEksMachinePoolNodeArgs.builder()
            .action("string")
            .nodeId("string")
            .build())
        .taints(ClusterEksMachinePoolTaintArgs.builder()
            .effect("string")
            .key("string")
            .value("string")
            .build())
        .updateStrategy("string")
        .build())
    .cloudAccountId("string")
    .forceDeleteDelay(0)
    .backupPolicy(ClusterEksBackupPolicyArgs.builder()
        .backupLocationId("string")
        .expiryInHour(0)
        .prefix("string")
        .schedule("string")
        .clusterUids("string")
        .includeAllClusters(false)
        .includeClusterResources(false)
        .includeClusterResourcesMode("string")
        .includeDisks(false)
        .namespaces("string")
        .build())
    .clusterMetaAttribute("string")
    .clusterProfiles(ClusterEksClusterProfileArgs.builder()
        .id("string")
        .packs(ClusterEksClusterProfilePackArgs.builder()
            .name("string")
            .manifests(ClusterEksClusterProfilePackManifestArgs.builder()
                .content("string")
                .name("string")
                .uid("string")
                .build())
            .registryUid("string")
            .tag("string")
            .type("string")
            .uid("string")
            .values("string")
            .build())
        .variables(Map.of("string", "string"))
        .build())
    .clusterRbacBindings(ClusterEksClusterRbacBindingArgs.builder()
        .type("string")
        .namespace("string")
        .role(Map.of("string", "string"))
        .subjects(ClusterEksClusterRbacBindingSubjectArgs.builder()
            .name("string")
            .type("string")
            .namespace("string")
            .build())
        .build())
    .context("string")
    .description("string")
    .fargateProfiles(ClusterEksFargateProfileArgs.builder()
        .name("string")
        .selectors(ClusterEksFargateProfileSelectorArgs.builder()
            .namespace("string")
            .labels(Map.of("string", "string"))
            .build())
        .additionalTags(Map.of("string", "string"))
        .subnets("string")
        .build())
    .forceDelete(false)
    .applySetting("string")
    .hostConfigs(ClusterEksHostConfigArgs.builder()
        .externalTrafficPolicy("string")
        .hostEndpointType("string")
        .ingressHost("string")
        .loadBalancerSourceRanges("string")
        .build())
    .clusterEksId("string")
    .name("string")
    .namespaces(ClusterEksNamespaceArgs.builder()
        .name("string")
        .resourceAllocation(Map.of("string", "string"))
        .imagesBlacklists("string")
        .build())
    .osPatchAfter("string")
    .osPatchOnBoot(false)
    .osPatchSchedule("string")
    .pauseAgentUpgrades("string")
    .reviewRepaveState("string")
    .scanPolicy(ClusterEksScanPolicyArgs.builder()
        .configurationScanSchedule("string")
        .conformanceScanSchedule("string")
        .penetrationScanSchedule("string")
        .build())
    .skipCompletion(false)
    .tags("string")
    .tagsMap(Map.of("string", "string"))
    .timeouts(ClusterEksTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
cluster_eks_resource = spectrocloud.ClusterEks("clusterEksResource",
    cloud_config={
        "region": "string",
        "az_subnets": {
            "string": "string",
        },
        "azs": ["string"],
        "encryption_config_arn": "string",
        "endpoint_access": "string",
        "private_access_cidrs": ["string"],
        "public_access_cidrs": ["string"],
        "ssh_key_name": "string",
        "vpc_id": "string",
    },
    machine_pools=[{
        "count": 0,
        "name": "string",
        "instance_type": "string",
        "disk_size_gb": 0,
        "eks_launch_template": {
            "additional_security_groups": ["string"],
            "ami_id": "string",
            "root_volume_iops": 0,
            "root_volume_throughput": 0,
            "root_volume_type": "string",
        },
        "capacity_type": "string",
        "additional_labels": {
            "string": "string",
        },
        "azs": ["string"],
        "max": 0,
        "max_price": "string",
        "min": 0,
        "az_subnets": {
            "string": "string",
        },
        "nodes": [{
            "action": "string",
            "node_id": "string",
        }],
        "taints": [{
            "effect": "string",
            "key": "string",
            "value": "string",
        }],
        "update_strategy": "string",
    }],
    cloud_account_id="string",
    force_delete_delay=0,
    backup_policy={
        "backup_location_id": "string",
        "expiry_in_hour": 0,
        "prefix": "string",
        "schedule": "string",
        "cluster_uids": ["string"],
        "include_all_clusters": False,
        "include_cluster_resources": False,
        "include_cluster_resources_mode": "string",
        "include_disks": False,
        "namespaces": ["string"],
    },
    cluster_meta_attribute="string",
    cluster_profiles=[{
        "id": "string",
        "packs": [{
            "name": "string",
            "manifests": [{
                "content": "string",
                "name": "string",
                "uid": "string",
            }],
            "registry_uid": "string",
            "tag": "string",
            "type": "string",
            "uid": "string",
            "values": "string",
        }],
        "variables": {
            "string": "string",
        },
    }],
    cluster_rbac_bindings=[{
        "type": "string",
        "namespace": "string",
        "role": {
            "string": "string",
        },
        "subjects": [{
            "name": "string",
            "type": "string",
            "namespace": "string",
        }],
    }],
    context="string",
    description="string",
    fargate_profiles=[{
        "name": "string",
        "selectors": [{
            "namespace": "string",
            "labels": {
                "string": "string",
            },
        }],
        "additional_tags": {
            "string": "string",
        },
        "subnets": ["string"],
    }],
    force_delete=False,
    apply_setting="string",
    host_configs=[{
        "external_traffic_policy": "string",
        "host_endpoint_type": "string",
        "ingress_host": "string",
        "load_balancer_source_ranges": "string",
    }],
    cluster_eks_id="string",
    name="string",
    namespaces=[{
        "name": "string",
        "resource_allocation": {
            "string": "string",
        },
        "images_blacklists": ["string"],
    }],
    os_patch_after="string",
    os_patch_on_boot=False,
    os_patch_schedule="string",
    pause_agent_upgrades="string",
    review_repave_state="string",
    scan_policy={
        "configuration_scan_schedule": "string",
        "conformance_scan_schedule": "string",
        "penetration_scan_schedule": "string",
    },
    skip_completion=False,
    tags=["string"],
    tags_map={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const clusterEksResource = new spectrocloud.ClusterEks("clusterEksResource", {
    cloudConfig: {
        region: "string",
        azSubnets: {
            string: "string",
        },
        azs: ["string"],
        encryptionConfigArn: "string",
        endpointAccess: "string",
        privateAccessCidrs: ["string"],
        publicAccessCidrs: ["string"],
        sshKeyName: "string",
        vpcId: "string",
    },
    machinePools: [{
        count: 0,
        name: "string",
        instanceType: "string",
        diskSizeGb: 0,
        eksLaunchTemplate: {
            additionalSecurityGroups: ["string"],
            amiId: "string",
            rootVolumeIops: 0,
            rootVolumeThroughput: 0,
            rootVolumeType: "string",
        },
        capacityType: "string",
        additionalLabels: {
            string: "string",
        },
        azs: ["string"],
        max: 0,
        maxPrice: "string",
        min: 0,
        azSubnets: {
            string: "string",
        },
        nodes: [{
            action: "string",
            nodeId: "string",
        }],
        taints: [{
            effect: "string",
            key: "string",
            value: "string",
        }],
        updateStrategy: "string",
    }],
    cloudAccountId: "string",
    forceDeleteDelay: 0,
    backupPolicy: {
        backupLocationId: "string",
        expiryInHour: 0,
        prefix: "string",
        schedule: "string",
        clusterUids: ["string"],
        includeAllClusters: false,
        includeClusterResources: false,
        includeClusterResourcesMode: "string",
        includeDisks: false,
        namespaces: ["string"],
    },
    clusterMetaAttribute: "string",
    clusterProfiles: [{
        id: "string",
        packs: [{
            name: "string",
            manifests: [{
                content: "string",
                name: "string",
                uid: "string",
            }],
            registryUid: "string",
            tag: "string",
            type: "string",
            uid: "string",
            values: "string",
        }],
        variables: {
            string: "string",
        },
    }],
    clusterRbacBindings: [{
        type: "string",
        namespace: "string",
        role: {
            string: "string",
        },
        subjects: [{
            name: "string",
            type: "string",
            namespace: "string",
        }],
    }],
    context: "string",
    description: "string",
    fargateProfiles: [{
        name: "string",
        selectors: [{
            namespace: "string",
            labels: {
                string: "string",
            },
        }],
        additionalTags: {
            string: "string",
        },
        subnets: ["string"],
    }],
    forceDelete: false,
    applySetting: "string",
    hostConfigs: [{
        externalTrafficPolicy: "string",
        hostEndpointType: "string",
        ingressHost: "string",
        loadBalancerSourceRanges: "string",
    }],
    clusterEksId: "string",
    name: "string",
    namespaces: [{
        name: "string",
        resourceAllocation: {
            string: "string",
        },
        imagesBlacklists: ["string"],
    }],
    osPatchAfter: "string",
    osPatchOnBoot: false,
    osPatchSchedule: "string",
    pauseAgentUpgrades: "string",
    reviewRepaveState: "string",
    scanPolicy: {
        configurationScanSchedule: "string",
        conformanceScanSchedule: "string",
        penetrationScanSchedule: "string",
    },
    skipCompletion: false,
    tags: ["string"],
    tagsMap: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: spectrocloud:ClusterEks
properties:
    applySetting: string
    backupPolicy:
        backupLocationId: string
        clusterUids:
            - string
        expiryInHour: 0
        includeAllClusters: false
        includeClusterResources: false
        includeClusterResourcesMode: string
        includeDisks: false
        namespaces:
            - string
        prefix: string
        schedule: string
    cloudAccountId: string
    cloudConfig:
        azSubnets:
            string: string
        azs:
            - string
        encryptionConfigArn: string
        endpointAccess: string
        privateAccessCidrs:
            - string
        publicAccessCidrs:
            - string
        region: string
        sshKeyName: string
        vpcId: string
    clusterEksId: string
    clusterMetaAttribute: string
    clusterProfiles:
        - id: string
          packs:
            - manifests:
                - content: string
                  name: string
                  uid: string
              name: string
              registryUid: string
              tag: string
              type: string
              uid: string
              values: string
          variables:
            string: string
    clusterRbacBindings:
        - namespace: string
          role:
            string: string
          subjects:
            - name: string
              namespace: string
              type: string
          type: string
    context: string
    description: string
    fargateProfiles:
        - additionalTags:
            string: string
          name: string
          selectors:
            - labels:
                string: string
              namespace: string
          subnets:
            - string
    forceDelete: false
    forceDeleteDelay: 0
    hostConfigs:
        - externalTrafficPolicy: string
          hostEndpointType: string
          ingressHost: string
          loadBalancerSourceRanges: string
    machinePools:
        - additionalLabels:
            string: string
          azSubnets:
            string: string
          azs:
            - string
          capacityType: string
          count: 0
          diskSizeGb: 0
          eksLaunchTemplate:
            additionalSecurityGroups:
                - string
            amiId: string
            rootVolumeIops: 0
            rootVolumeThroughput: 0
            rootVolumeType: string
          instanceType: string
          max: 0
          maxPrice: string
          min: 0
          name: string
          nodes:
            - action: string
              nodeId: string
          taints:
            - effect: string
              key: string
              value: string
          updateStrategy: string
    name: string
    namespaces:
        - imagesBlacklists:
            - string
          name: string
          resourceAllocation:
            string: string
    osPatchAfter: string
    osPatchOnBoot: false
    osPatchSchedule: string
    pauseAgentUpgrades: string
    reviewRepaveState: string
    scanPolicy:
        configurationScanSchedule: string
        conformanceScanSchedule: string
        penetrationScanSchedule: string
    skipCompletion: false
    tags:
        - string
    tagsMap:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

ClusterEks Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ClusterEks resource accepts the following input properties:

CloudAccountId This property is required. string
The AWS cloud account id to use for this cluster.
CloudConfig This property is required. ClusterEksCloudConfig
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
MachinePools This property is required. List<ClusterEksMachinePool>
The machine pool configuration for the cluster.
ApplySetting string
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
BackupPolicy ClusterEksBackupPolicy
The backup policy for the cluster. If not specified, no backups will be taken.
ClusterEksId string
The ID of this resource.
ClusterMetaAttribute string
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
ClusterProfiles List<ClusterEksClusterProfile>
ClusterRbacBindings List<ClusterEksClusterRbacBinding>
The RBAC binding for the cluster.
Context string
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
Description string
The description of the cluster. Default value is empty string.
FargateProfiles List<ClusterEksFargateProfile>
ForceDelete bool
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
ForceDeleteDelay double
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
HostConfigs List<ClusterEksHostConfig>
The host configuration for the cluster.
Name string
The name of the cluster.
Namespaces List<ClusterEksNamespace>
The namespaces for the cluster.
OsPatchAfter string
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
OsPatchOnBoot bool
Whether to apply OS patch on boot. Default is false.
OsPatchSchedule string
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
PauseAgentUpgrades string
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
ReviewRepaveState string
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
ScanPolicy ClusterEksScanPolicy
The scan policy for the cluster.
SkipCompletion bool
If true, the cluster will be created asynchronously. Default value is false.
Tags List<string>
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
TagsMap Dictionary<string, string>
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
Timeouts ClusterEksTimeouts
CloudAccountId This property is required. string
The AWS cloud account id to use for this cluster.
CloudConfig This property is required. ClusterEksCloudConfigArgs
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
MachinePools This property is required. []ClusterEksMachinePoolArgs
The machine pool configuration for the cluster.
ApplySetting string
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
BackupPolicy ClusterEksBackupPolicyArgs
The backup policy for the cluster. If not specified, no backups will be taken.
ClusterEksId string
The ID of this resource.
ClusterMetaAttribute string
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
ClusterProfiles []ClusterEksClusterProfileArgs
ClusterRbacBindings []ClusterEksClusterRbacBindingArgs
The RBAC binding for the cluster.
Context string
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
Description string
The description of the cluster. Default value is empty string.
FargateProfiles []ClusterEksFargateProfileArgs
ForceDelete bool
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
ForceDeleteDelay float64
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
HostConfigs []ClusterEksHostConfigArgs
The host configuration for the cluster.
Name string
The name of the cluster.
Namespaces []ClusterEksNamespaceArgs
The namespaces for the cluster.
OsPatchAfter string
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
OsPatchOnBoot bool
Whether to apply OS patch on boot. Default is false.
OsPatchSchedule string
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
PauseAgentUpgrades string
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
ReviewRepaveState string
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
ScanPolicy ClusterEksScanPolicyArgs
The scan policy for the cluster.
SkipCompletion bool
If true, the cluster will be created asynchronously. Default value is false.
Tags []string
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
TagsMap map[string]string
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
Timeouts ClusterEksTimeoutsArgs
cloudAccountId This property is required. String
The AWS cloud account id to use for this cluster.
cloudConfig This property is required. ClusterEksCloudConfig
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
machinePools This property is required. List<ClusterEksMachinePool>
The machine pool configuration for the cluster.
applySetting String
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backupPolicy ClusterEksBackupPolicy
The backup policy for the cluster. If not specified, no backups will be taken.
clusterEksId String
The ID of this resource.
clusterMetaAttribute String
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
clusterProfiles List<ClusterEksClusterProfile>
clusterRbacBindings List<ClusterEksClusterRbacBinding>
The RBAC binding for the cluster.
context String
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description String
The description of the cluster. Default value is empty string.
fargateProfiles List<ClusterEksFargateProfile>
forceDelete Boolean
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
forceDeleteDelay Double
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
hostConfigs List<ClusterEksHostConfig>
The host configuration for the cluster.
name String
The name of the cluster.
namespaces List<ClusterEksNamespace>
The namespaces for the cluster.
osPatchAfter String
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
osPatchOnBoot Boolean
Whether to apply OS patch on boot. Default is false.
osPatchSchedule String
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pauseAgentUpgrades String
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
reviewRepaveState String
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scanPolicy ClusterEksScanPolicy
The scan policy for the cluster.
skipCompletion Boolean
If true, the cluster will be created asynchronously. Default value is false.
tags List<String>
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tagsMap Map<String,String>
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts ClusterEksTimeouts
cloudAccountId This property is required. string
The AWS cloud account id to use for this cluster.
cloudConfig This property is required. ClusterEksCloudConfig
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
machinePools This property is required. ClusterEksMachinePool[]
The machine pool configuration for the cluster.
applySetting string
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backupPolicy ClusterEksBackupPolicy
The backup policy for the cluster. If not specified, no backups will be taken.
clusterEksId string
The ID of this resource.
clusterMetaAttribute string
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
clusterProfiles ClusterEksClusterProfile[]
clusterRbacBindings ClusterEksClusterRbacBinding[]
The RBAC binding for the cluster.
context string
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description string
The description of the cluster. Default value is empty string.
fargateProfiles ClusterEksFargateProfile[]
forceDelete boolean
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
forceDeleteDelay number
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
hostConfigs ClusterEksHostConfig[]
The host configuration for the cluster.
name string
The name of the cluster.
namespaces ClusterEksNamespace[]
The namespaces for the cluster.
osPatchAfter string
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
osPatchOnBoot boolean
Whether to apply OS patch on boot. Default is false.
osPatchSchedule string
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pauseAgentUpgrades string
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
reviewRepaveState string
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scanPolicy ClusterEksScanPolicy
The scan policy for the cluster.
skipCompletion boolean
If true, the cluster will be created asynchronously. Default value is false.
tags string[]
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tagsMap {[key: string]: string}
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts ClusterEksTimeouts
cloud_account_id This property is required. str
The AWS cloud account id to use for this cluster.
cloud_config This property is required. ClusterEksCloudConfigArgs
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
machine_pools This property is required. Sequence[ClusterEksMachinePoolArgs]
The machine pool configuration for the cluster.
apply_setting str
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backup_policy ClusterEksBackupPolicyArgs
The backup policy for the cluster. If not specified, no backups will be taken.
cluster_eks_id str
The ID of this resource.
cluster_meta_attribute str
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
cluster_profiles Sequence[ClusterEksClusterProfileArgs]
cluster_rbac_bindings Sequence[ClusterEksClusterRbacBindingArgs]
The RBAC binding for the cluster.
context str
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description str
The description of the cluster. Default value is empty string.
fargate_profiles Sequence[ClusterEksFargateProfileArgs]
force_delete bool
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
force_delete_delay float
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
host_configs Sequence[ClusterEksHostConfigArgs]
The host configuration for the cluster.
name str
The name of the cluster.
namespaces Sequence[ClusterEksNamespaceArgs]
The namespaces for the cluster.
os_patch_after str
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
os_patch_on_boot bool
Whether to apply OS patch on boot. Default is false.
os_patch_schedule str
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pause_agent_upgrades str
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
review_repave_state str
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scan_policy ClusterEksScanPolicyArgs
The scan policy for the cluster.
skip_completion bool
If true, the cluster will be created asynchronously. Default value is false.
tags Sequence[str]
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tags_map Mapping[str, str]
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts ClusterEksTimeoutsArgs
cloudAccountId This property is required. String
The AWS cloud account id to use for this cluster.
cloudConfig This property is required. Property Map
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
machinePools This property is required. List<Property Map>
The machine pool configuration for the cluster.
applySetting String
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backupPolicy Property Map
The backup policy for the cluster. If not specified, no backups will be taken.
clusterEksId String
The ID of this resource.
clusterMetaAttribute String
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
clusterProfiles List<Property Map>
clusterRbacBindings List<Property Map>
The RBAC binding for the cluster.
context String
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description String
The description of the cluster. Default value is empty string.
fargateProfiles List<Property Map>
forceDelete Boolean
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
forceDeleteDelay Number
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
hostConfigs List<Property Map>
The host configuration for the cluster.
name String
The name of the cluster.
namespaces List<Property Map>
The namespaces for the cluster.
osPatchAfter String
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
osPatchOnBoot Boolean
Whether to apply OS patch on boot. Default is false.
osPatchSchedule String
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pauseAgentUpgrades String
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
reviewRepaveState String
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scanPolicy Property Map
The scan policy for the cluster.
skipCompletion Boolean
If true, the cluster will be created asynchronously. Default value is false.
tags List<String>
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tagsMap Map<String>
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts Property Map

Outputs

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

AdminKubeConfig string
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
CloudConfigId string
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

Id string
The provider-assigned unique ID for this managed resource.
Kubeconfig string
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
LocationConfigs List<ClusterEksLocationConfig>
The location of the cluster.
AdminKubeConfig string
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
CloudConfigId string
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

Id string
The provider-assigned unique ID for this managed resource.
Kubeconfig string
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
LocationConfigs []ClusterEksLocationConfig
The location of the cluster.
adminKubeConfig String
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
cloudConfigId String
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

id String
The provider-assigned unique ID for this managed resource.
kubeconfig String
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
locationConfigs List<ClusterEksLocationConfig>
The location of the cluster.
adminKubeConfig string
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
cloudConfigId string
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

id string
The provider-assigned unique ID for this managed resource.
kubeconfig string
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
locationConfigs ClusterEksLocationConfig[]
The location of the cluster.
admin_kube_config str
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
cloud_config_id str
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

id str
The provider-assigned unique ID for this managed resource.
kubeconfig str
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
location_configs Sequence[ClusterEksLocationConfig]
The location of the cluster.
adminKubeConfig String
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
cloudConfigId String
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

id String
The provider-assigned unique ID for this managed resource.
kubeconfig String
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
locationConfigs List<Property Map>
The location of the cluster.

Look up Existing ClusterEks Resource

Get an existing ClusterEks 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?: ClusterEksState, opts?: CustomResourceOptions): ClusterEks
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        admin_kube_config: Optional[str] = None,
        apply_setting: Optional[str] = None,
        backup_policy: Optional[ClusterEksBackupPolicyArgs] = None,
        cloud_account_id: Optional[str] = None,
        cloud_config: Optional[ClusterEksCloudConfigArgs] = None,
        cloud_config_id: Optional[str] = None,
        cluster_eks_id: Optional[str] = None,
        cluster_meta_attribute: Optional[str] = None,
        cluster_profiles: Optional[Sequence[ClusterEksClusterProfileArgs]] = None,
        cluster_rbac_bindings: Optional[Sequence[ClusterEksClusterRbacBindingArgs]] = None,
        context: Optional[str] = None,
        description: Optional[str] = None,
        fargate_profiles: Optional[Sequence[ClusterEksFargateProfileArgs]] = None,
        force_delete: Optional[bool] = None,
        force_delete_delay: Optional[float] = None,
        host_configs: Optional[Sequence[ClusterEksHostConfigArgs]] = None,
        kubeconfig: Optional[str] = None,
        location_configs: Optional[Sequence[ClusterEksLocationConfigArgs]] = None,
        machine_pools: Optional[Sequence[ClusterEksMachinePoolArgs]] = None,
        name: Optional[str] = None,
        namespaces: Optional[Sequence[ClusterEksNamespaceArgs]] = None,
        os_patch_after: Optional[str] = None,
        os_patch_on_boot: Optional[bool] = None,
        os_patch_schedule: Optional[str] = None,
        pause_agent_upgrades: Optional[str] = None,
        review_repave_state: Optional[str] = None,
        scan_policy: Optional[ClusterEksScanPolicyArgs] = None,
        skip_completion: Optional[bool] = None,
        tags: Optional[Sequence[str]] = None,
        tags_map: Optional[Mapping[str, str]] = None,
        timeouts: Optional[ClusterEksTimeoutsArgs] = None) -> ClusterEks
func GetClusterEks(ctx *Context, name string, id IDInput, state *ClusterEksState, opts ...ResourceOption) (*ClusterEks, error)
public static ClusterEks Get(string name, Input<string> id, ClusterEksState? state, CustomResourceOptions? opts = null)
public static ClusterEks get(String name, Output<String> id, ClusterEksState state, CustomResourceOptions options)
resources:  _:    type: spectrocloud:ClusterEks    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AdminKubeConfig string
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
ApplySetting string
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
BackupPolicy ClusterEksBackupPolicy
The backup policy for the cluster. If not specified, no backups will be taken.
CloudAccountId string
The AWS cloud account id to use for this cluster.
CloudConfig ClusterEksCloudConfig
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
CloudConfigId string
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

ClusterEksId string
The ID of this resource.
ClusterMetaAttribute string
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
ClusterProfiles List<ClusterEksClusterProfile>
ClusterRbacBindings List<ClusterEksClusterRbacBinding>
The RBAC binding for the cluster.
Context string
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
Description string
The description of the cluster. Default value is empty string.
FargateProfiles List<ClusterEksFargateProfile>
ForceDelete bool
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
ForceDeleteDelay double
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
HostConfigs List<ClusterEksHostConfig>
The host configuration for the cluster.
Kubeconfig string
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
LocationConfigs List<ClusterEksLocationConfig>
The location of the cluster.
MachinePools List<ClusterEksMachinePool>
The machine pool configuration for the cluster.
Name string
The name of the cluster.
Namespaces List<ClusterEksNamespace>
The namespaces for the cluster.
OsPatchAfter string
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
OsPatchOnBoot bool
Whether to apply OS patch on boot. Default is false.
OsPatchSchedule string
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
PauseAgentUpgrades string
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
ReviewRepaveState string
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
ScanPolicy ClusterEksScanPolicy
The scan policy for the cluster.
SkipCompletion bool
If true, the cluster will be created asynchronously. Default value is false.
Tags List<string>
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
TagsMap Dictionary<string, string>
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
Timeouts ClusterEksTimeouts
AdminKubeConfig string
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
ApplySetting string
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
BackupPolicy ClusterEksBackupPolicyArgs
The backup policy for the cluster. If not specified, no backups will be taken.
CloudAccountId string
The AWS cloud account id to use for this cluster.
CloudConfig ClusterEksCloudConfigArgs
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
CloudConfigId string
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

ClusterEksId string
The ID of this resource.
ClusterMetaAttribute string
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
ClusterProfiles []ClusterEksClusterProfileArgs
ClusterRbacBindings []ClusterEksClusterRbacBindingArgs
The RBAC binding for the cluster.
Context string
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
Description string
The description of the cluster. Default value is empty string.
FargateProfiles []ClusterEksFargateProfileArgs
ForceDelete bool
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
ForceDeleteDelay float64
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
HostConfigs []ClusterEksHostConfigArgs
The host configuration for the cluster.
Kubeconfig string
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
LocationConfigs []ClusterEksLocationConfigArgs
The location of the cluster.
MachinePools []ClusterEksMachinePoolArgs
The machine pool configuration for the cluster.
Name string
The name of the cluster.
Namespaces []ClusterEksNamespaceArgs
The namespaces for the cluster.
OsPatchAfter string
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
OsPatchOnBoot bool
Whether to apply OS patch on boot. Default is false.
OsPatchSchedule string
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
PauseAgentUpgrades string
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
ReviewRepaveState string
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
ScanPolicy ClusterEksScanPolicyArgs
The scan policy for the cluster.
SkipCompletion bool
If true, the cluster will be created asynchronously. Default value is false.
Tags []string
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
TagsMap map[string]string
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
Timeouts ClusterEksTimeoutsArgs
adminKubeConfig String
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
applySetting String
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backupPolicy ClusterEksBackupPolicy
The backup policy for the cluster. If not specified, no backups will be taken.
cloudAccountId String
The AWS cloud account id to use for this cluster.
cloudConfig ClusterEksCloudConfig
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
cloudConfigId String
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

clusterEksId String
The ID of this resource.
clusterMetaAttribute String
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
clusterProfiles List<ClusterEksClusterProfile>
clusterRbacBindings List<ClusterEksClusterRbacBinding>
The RBAC binding for the cluster.
context String
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description String
The description of the cluster. Default value is empty string.
fargateProfiles List<ClusterEksFargateProfile>
forceDelete Boolean
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
forceDeleteDelay Double
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
hostConfigs List<ClusterEksHostConfig>
The host configuration for the cluster.
kubeconfig String
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
locationConfigs List<ClusterEksLocationConfig>
The location of the cluster.
machinePools List<ClusterEksMachinePool>
The machine pool configuration for the cluster.
name String
The name of the cluster.
namespaces List<ClusterEksNamespace>
The namespaces for the cluster.
osPatchAfter String
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
osPatchOnBoot Boolean
Whether to apply OS patch on boot. Default is false.
osPatchSchedule String
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pauseAgentUpgrades String
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
reviewRepaveState String
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scanPolicy ClusterEksScanPolicy
The scan policy for the cluster.
skipCompletion Boolean
If true, the cluster will be created asynchronously. Default value is false.
tags List<String>
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tagsMap Map<String,String>
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts ClusterEksTimeouts
adminKubeConfig string
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
applySetting string
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backupPolicy ClusterEksBackupPolicy
The backup policy for the cluster. If not specified, no backups will be taken.
cloudAccountId string
The AWS cloud account id to use for this cluster.
cloudConfig ClusterEksCloudConfig
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
cloudConfigId string
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

clusterEksId string
The ID of this resource.
clusterMetaAttribute string
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
clusterProfiles ClusterEksClusterProfile[]
clusterRbacBindings ClusterEksClusterRbacBinding[]
The RBAC binding for the cluster.
context string
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description string
The description of the cluster. Default value is empty string.
fargateProfiles ClusterEksFargateProfile[]
forceDelete boolean
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
forceDeleteDelay number
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
hostConfigs ClusterEksHostConfig[]
The host configuration for the cluster.
kubeconfig string
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
locationConfigs ClusterEksLocationConfig[]
The location of the cluster.
machinePools ClusterEksMachinePool[]
The machine pool configuration for the cluster.
name string
The name of the cluster.
namespaces ClusterEksNamespace[]
The namespaces for the cluster.
osPatchAfter string
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
osPatchOnBoot boolean
Whether to apply OS patch on boot. Default is false.
osPatchSchedule string
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pauseAgentUpgrades string
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
reviewRepaveState string
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scanPolicy ClusterEksScanPolicy
The scan policy for the cluster.
skipCompletion boolean
If true, the cluster will be created asynchronously. Default value is false.
tags string[]
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tagsMap {[key: string]: string}
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts ClusterEksTimeouts
admin_kube_config str
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
apply_setting str
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backup_policy ClusterEksBackupPolicyArgs
The backup policy for the cluster. If not specified, no backups will be taken.
cloud_account_id str
The AWS cloud account id to use for this cluster.
cloud_config ClusterEksCloudConfigArgs
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
cloud_config_id str
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

cluster_eks_id str
The ID of this resource.
cluster_meta_attribute str
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
cluster_profiles Sequence[ClusterEksClusterProfileArgs]
cluster_rbac_bindings Sequence[ClusterEksClusterRbacBindingArgs]
The RBAC binding for the cluster.
context str
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description str
The description of the cluster. Default value is empty string.
fargate_profiles Sequence[ClusterEksFargateProfileArgs]
force_delete bool
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
force_delete_delay float
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
host_configs Sequence[ClusterEksHostConfigArgs]
The host configuration for the cluster.
kubeconfig str
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
location_configs Sequence[ClusterEksLocationConfigArgs]
The location of the cluster.
machine_pools Sequence[ClusterEksMachinePoolArgs]
The machine pool configuration for the cluster.
name str
The name of the cluster.
namespaces Sequence[ClusterEksNamespaceArgs]
The namespaces for the cluster.
os_patch_after str
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
os_patch_on_boot bool
Whether to apply OS patch on boot. Default is false.
os_patch_schedule str
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pause_agent_upgrades str
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
review_repave_state str
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scan_policy ClusterEksScanPolicyArgs
The scan policy for the cluster.
skip_completion bool
If true, the cluster will be created asynchronously. Default value is false.
tags Sequence[str]
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tags_map Mapping[str, str]
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts ClusterEksTimeoutsArgs
adminKubeConfig String
Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
applySetting String
The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
backupPolicy Property Map
The backup policy for the cluster. If not specified, no backups will be taken.
cloudAccountId String
The AWS cloud account id to use for this cluster.
cloudConfig Property Map
The AWS environment configuration settings such as network parameters and encryption parameters that apply to this cluster.
cloudConfigId String
ID of the cloud config used for the cluster. This cloud config must be of type azure.

Deprecated: Deprecated

clusterEksId String
The ID of this resource.
clusterMetaAttribute String
cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
clusterProfiles List<Property Map>
clusterRbacBindings List<Property Map>
The RBAC binding for the cluster.
context String
The context of the EKS cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
description String
The description of the cluster. Default value is empty string.
fargateProfiles List<Property Map>
forceDelete Boolean
If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
forceDeleteDelay Number
Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
hostConfigs List<Property Map>
The host configuration for the cluster.
kubeconfig String
Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
locationConfigs List<Property Map>
The location of the cluster.
machinePools List<Property Map>
The machine pool configuration for the cluster.
name String
The name of the cluster.
namespaces List<Property Map>
The namespaces for the cluster.
osPatchAfter String
Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
osPatchOnBoot Boolean
Whether to apply OS patch on boot. Default is false.
osPatchSchedule String
Cron schedule for OS patching. This must be in the form of 0 0 * * *.
pauseAgentUpgrades String
The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
reviewRepaveState String
To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
scanPolicy Property Map
The scan policy for the cluster.
skipCompletion Boolean
If true, the cluster will be created asynchronously. Default value is false.
tags List<String>
A list of tags to be applied to the cluster. Tags must be in the form of key:value. The tags attribute will soon be deprecated. It is recommended to use tags_map instead.
tagsMap Map<String>
A map of tags to be applied to the cluster. tags and tags_map are mutually exclusive — only one should be used at a time
timeouts Property Map

Supporting Types

ClusterEksBackupPolicy
, ClusterEksBackupPolicyArgs

BackupLocationId This property is required. string
The ID of the backup location to use for the backup.
ExpiryInHour This property is required. double
The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
Prefix This property is required. string
Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
Schedule This property is required. string
The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
ClusterUids List<string>
The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
IncludeAllClusters bool
Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
IncludeClusterResources bool
Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
IncludeClusterResourcesMode string
Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
IncludeDisks bool
Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
Namespaces List<string>
The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
BackupLocationId This property is required. string
The ID of the backup location to use for the backup.
ExpiryInHour This property is required. float64
The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
Prefix This property is required. string
Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
Schedule This property is required. string
The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
ClusterUids []string
The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
IncludeAllClusters bool
Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
IncludeClusterResources bool
Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
IncludeClusterResourcesMode string
Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
IncludeDisks bool
Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
Namespaces []string
The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
backupLocationId This property is required. String
The ID of the backup location to use for the backup.
expiryInHour This property is required. Double
The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
prefix This property is required. String
Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
schedule This property is required. String
The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
clusterUids List<String>
The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
includeAllClusters Boolean
Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
includeClusterResources Boolean
Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
includeClusterResourcesMode String
Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
includeDisks Boolean
Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
namespaces List<String>
The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
backupLocationId This property is required. string
The ID of the backup location to use for the backup.
expiryInHour This property is required. number
The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
prefix This property is required. string
Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
schedule This property is required. string
The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
clusterUids string[]
The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
includeAllClusters boolean
Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
includeClusterResources boolean
Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
includeClusterResourcesMode string
Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
includeDisks boolean
Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
namespaces string[]
The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
backup_location_id This property is required. str
The ID of the backup location to use for the backup.
expiry_in_hour This property is required. float
The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
prefix This property is required. str
Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
schedule This property is required. str
The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
cluster_uids Sequence[str]
The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
include_all_clusters bool
Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
include_cluster_resources bool
Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
include_cluster_resources_mode str
Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
include_disks bool
Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
namespaces Sequence[str]
The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
backupLocationId This property is required. String
The ID of the backup location to use for the backup.
expiryInHour This property is required. Number
The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
prefix This property is required. String
Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
schedule This property is required. String
The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
clusterUids List<String>
The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
includeAllClusters Boolean
Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
includeClusterResources Boolean
Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
includeClusterResourcesMode String
Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
includeDisks Boolean
Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
namespaces List<String>
The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.

ClusterEksCloudConfig
, ClusterEksCloudConfigArgs

Region This property is required. string
AzSubnets Dictionary<string, string>
Mutually exclusive with azs. Use for Static provisioning.
Azs List<string>
Mutually exclusive with az_subnets. Use for Dynamic provisioning.
EncryptionConfigArn string
The ARN of the KMS encryption key to use for the cluster. Refer to the Enable Secrets Encryption for EKS Cluster for additional guidance.
EndpointAccess string
Choose between private, public, or private_and_public to define how communication is established with the endpoint for the managed Kubernetes API server and your cluster. The default value is public.
PrivateAccessCidrs List<string>
List of CIDR blocks that define the allowed private access to the resource. Only requests originating from addresses within these CIDR blocks will be permitted to access the resource.
PublicAccessCidrs List<string>
List of CIDR blocks that define the allowed public access to the resource. Requests originating from addresses within these CIDR blocks will be permitted to access the resource. All other addresses will be denied access.
SshKeyName string
Public SSH key to be used for the cluster nodes.
VpcId string
Region This property is required. string
AzSubnets map[string]string
Mutually exclusive with azs. Use for Static provisioning.
Azs []string
Mutually exclusive with az_subnets. Use for Dynamic provisioning.
EncryptionConfigArn string
The ARN of the KMS encryption key to use for the cluster. Refer to the Enable Secrets Encryption for EKS Cluster for additional guidance.
EndpointAccess string
Choose between private, public, or private_and_public to define how communication is established with the endpoint for the managed Kubernetes API server and your cluster. The default value is public.
PrivateAccessCidrs []string
List of CIDR blocks that define the allowed private access to the resource. Only requests originating from addresses within these CIDR blocks will be permitted to access the resource.
PublicAccessCidrs []string
List of CIDR blocks that define the allowed public access to the resource. Requests originating from addresses within these CIDR blocks will be permitted to access the resource. All other addresses will be denied access.
SshKeyName string
Public SSH key to be used for the cluster nodes.
VpcId string
region This property is required. String
azSubnets Map<String,String>
Mutually exclusive with azs. Use for Static provisioning.
azs List<String>
Mutually exclusive with az_subnets. Use for Dynamic provisioning.
encryptionConfigArn String
The ARN of the KMS encryption key to use for the cluster. Refer to the Enable Secrets Encryption for EKS Cluster for additional guidance.
endpointAccess String
Choose between private, public, or private_and_public to define how communication is established with the endpoint for the managed Kubernetes API server and your cluster. The default value is public.
privateAccessCidrs List<String>
List of CIDR blocks that define the allowed private access to the resource. Only requests originating from addresses within these CIDR blocks will be permitted to access the resource.
publicAccessCidrs List<String>
List of CIDR blocks that define the allowed public access to the resource. Requests originating from addresses within these CIDR blocks will be permitted to access the resource. All other addresses will be denied access.
sshKeyName String
Public SSH key to be used for the cluster nodes.
vpcId String
region This property is required. string
azSubnets {[key: string]: string}
Mutually exclusive with azs. Use for Static provisioning.
azs string[]
Mutually exclusive with az_subnets. Use for Dynamic provisioning.
encryptionConfigArn string
The ARN of the KMS encryption key to use for the cluster. Refer to the Enable Secrets Encryption for EKS Cluster for additional guidance.
endpointAccess string
Choose between private, public, or private_and_public to define how communication is established with the endpoint for the managed Kubernetes API server and your cluster. The default value is public.
privateAccessCidrs string[]
List of CIDR blocks that define the allowed private access to the resource. Only requests originating from addresses within these CIDR blocks will be permitted to access the resource.
publicAccessCidrs string[]
List of CIDR blocks that define the allowed public access to the resource. Requests originating from addresses within these CIDR blocks will be permitted to access the resource. All other addresses will be denied access.
sshKeyName string
Public SSH key to be used for the cluster nodes.
vpcId string
region This property is required. str
az_subnets Mapping[str, str]
Mutually exclusive with azs. Use for Static provisioning.
azs Sequence[str]
Mutually exclusive with az_subnets. Use for Dynamic provisioning.
encryption_config_arn str
The ARN of the KMS encryption key to use for the cluster. Refer to the Enable Secrets Encryption for EKS Cluster for additional guidance.
endpoint_access str
Choose between private, public, or private_and_public to define how communication is established with the endpoint for the managed Kubernetes API server and your cluster. The default value is public.
private_access_cidrs Sequence[str]
List of CIDR blocks that define the allowed private access to the resource. Only requests originating from addresses within these CIDR blocks will be permitted to access the resource.
public_access_cidrs Sequence[str]
List of CIDR blocks that define the allowed public access to the resource. Requests originating from addresses within these CIDR blocks will be permitted to access the resource. All other addresses will be denied access.
ssh_key_name str
Public SSH key to be used for the cluster nodes.
vpc_id str
region This property is required. String
azSubnets Map<String>
Mutually exclusive with azs. Use for Static provisioning.
azs List<String>
Mutually exclusive with az_subnets. Use for Dynamic provisioning.
encryptionConfigArn String
The ARN of the KMS encryption key to use for the cluster. Refer to the Enable Secrets Encryption for EKS Cluster for additional guidance.
endpointAccess String
Choose between private, public, or private_and_public to define how communication is established with the endpoint for the managed Kubernetes API server and your cluster. The default value is public.
privateAccessCidrs List<String>
List of CIDR blocks that define the allowed private access to the resource. Only requests originating from addresses within these CIDR blocks will be permitted to access the resource.
publicAccessCidrs List<String>
List of CIDR blocks that define the allowed public access to the resource. Requests originating from addresses within these CIDR blocks will be permitted to access the resource. All other addresses will be denied access.
sshKeyName String
Public SSH key to be used for the cluster nodes.
vpcId String

ClusterEksClusterProfile
, ClusterEksClusterProfileArgs

Id This property is required. string
The ID of the cluster profile.
Packs List<ClusterEksClusterProfilePack>
For packs of type spectro, helm, and manifest, at least one pack must be specified.
Variables Dictionary<string, string>
A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
Id This property is required. string
The ID of the cluster profile.
Packs []ClusterEksClusterProfilePack
For packs of type spectro, helm, and manifest, at least one pack must be specified.
Variables map[string]string
A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
id This property is required. String
The ID of the cluster profile.
packs List<ClusterEksClusterProfilePack>
For packs of type spectro, helm, and manifest, at least one pack must be specified.
variables Map<String,String>
A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
id This property is required. string
The ID of the cluster profile.
packs ClusterEksClusterProfilePack[]
For packs of type spectro, helm, and manifest, at least one pack must be specified.
variables {[key: string]: string}
A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
id This property is required. str
The ID of the cluster profile.
packs Sequence[ClusterEksClusterProfilePack]
For packs of type spectro, helm, and manifest, at least one pack must be specified.
variables Mapping[str, str]
A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
id This property is required. String
The ID of the cluster profile.
packs List<Property Map>
For packs of type spectro, helm, and manifest, at least one pack must be specified.
variables Map<String>
A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".

ClusterEksClusterProfilePack
, ClusterEksClusterProfilePackArgs

Name This property is required. string
The name of the pack. The name must be unique within the cluster profile.
Manifests List<ClusterEksClusterProfilePackManifest>
RegistryUid string
The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
Tag string
The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
Type string
The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
Uid string
The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
Values string
The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
Name This property is required. string
The name of the pack. The name must be unique within the cluster profile.
Manifests []ClusterEksClusterProfilePackManifest
RegistryUid string
The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
Tag string
The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
Type string
The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
Uid string
The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
Values string
The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
name This property is required. String
The name of the pack. The name must be unique within the cluster profile.
manifests List<ClusterEksClusterProfilePackManifest>
registryUid String
The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
tag String
The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
type String
The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
uid String
The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
values String
The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
name This property is required. string
The name of the pack. The name must be unique within the cluster profile.
manifests ClusterEksClusterProfilePackManifest[]
registryUid string
The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
tag string
The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
type string
The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
uid string
The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
values string
The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
name This property is required. str
The name of the pack. The name must be unique within the cluster profile.
manifests Sequence[ClusterEksClusterProfilePackManifest]
registry_uid str
The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
tag str
The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
type str
The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
uid str
The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
values str
The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
name This property is required. String
The name of the pack. The name must be unique within the cluster profile.
manifests List<Property Map>
registryUid String
The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
tag String
The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
type String
The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
uid String
The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
values String
The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.

ClusterEksClusterProfilePackManifest
, ClusterEksClusterProfilePackManifestArgs

Content This property is required. string
The content of the manifest. The content is the YAML content of the manifest.
Name This property is required. string
The name of the manifest. The name must be unique within the pack.
Uid string
Content This property is required. string
The content of the manifest. The content is the YAML content of the manifest.
Name This property is required. string
The name of the manifest. The name must be unique within the pack.
Uid string
content This property is required. String
The content of the manifest. The content is the YAML content of the manifest.
name This property is required. String
The name of the manifest. The name must be unique within the pack.
uid String
content This property is required. string
The content of the manifest. The content is the YAML content of the manifest.
name This property is required. string
The name of the manifest. The name must be unique within the pack.
uid string
content This property is required. str
The content of the manifest. The content is the YAML content of the manifest.
name This property is required. str
The name of the manifest. The name must be unique within the pack.
uid str
content This property is required. String
The content of the manifest. The content is the YAML content of the manifest.
name This property is required. String
The name of the manifest. The name must be unique within the pack.
uid String

ClusterEksClusterRbacBinding
, ClusterEksClusterRbacBindingArgs

Type This property is required. string
The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
Namespace string
The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
Role Dictionary<string, string>
The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
Subjects List<ClusterEksClusterRbacBindingSubject>
Type This property is required. string
The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
Namespace string
The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
Role map[string]string
The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
Subjects []ClusterEksClusterRbacBindingSubject
type This property is required. String
The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
namespace String
The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
role Map<String,String>
The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
subjects List<ClusterEksClusterRbacBindingSubject>
type This property is required. string
The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
namespace string
The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
role {[key: string]: string}
The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
subjects ClusterEksClusterRbacBindingSubject[]
type This property is required. str
The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
namespace str
The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
role Mapping[str, str]
The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
subjects Sequence[ClusterEksClusterRbacBindingSubject]
type This property is required. String
The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
namespace String
The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
role Map<String>
The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
subjects List<Property Map>

ClusterEksClusterRbacBindingSubject
, ClusterEksClusterRbacBindingSubjectArgs

Name This property is required. string
The name of the subject. Required if 'type' is set to 'User' or 'Group'.
Type This property is required. string
The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
Namespace string
The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
Name This property is required. string
The name of the subject. Required if 'type' is set to 'User' or 'Group'.
Type This property is required. string
The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
Namespace string
The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
name This property is required. String
The name of the subject. Required if 'type' is set to 'User' or 'Group'.
type This property is required. String
The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
namespace String
The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
name This property is required. string
The name of the subject. Required if 'type' is set to 'User' or 'Group'.
type This property is required. string
The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
namespace string
The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
name This property is required. str
The name of the subject. Required if 'type' is set to 'User' or 'Group'.
type This property is required. str
The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
namespace str
The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
name This property is required. String
The name of the subject. Required if 'type' is set to 'User' or 'Group'.
type This property is required. String
The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
namespace String
The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.

ClusterEksFargateProfile
, ClusterEksFargateProfileArgs

Name This property is required. string
Selectors This property is required. List<ClusterEksFargateProfileSelector>
AdditionalTags Dictionary<string, string>
Subnets List<string>
Name This property is required. string
Selectors This property is required. []ClusterEksFargateProfileSelector
AdditionalTags map[string]string
Subnets []string
name This property is required. String
selectors This property is required. List<ClusterEksFargateProfileSelector>
additionalTags Map<String,String>
subnets List<String>
name This property is required. string
selectors This property is required. ClusterEksFargateProfileSelector[]
additionalTags {[key: string]: string}
subnets string[]
name This property is required. str
selectors This property is required. Sequence[ClusterEksFargateProfileSelector]
additional_tags Mapping[str, str]
subnets Sequence[str]
name This property is required. String
selectors This property is required. List<Property Map>
additionalTags Map<String>
subnets List<String>

ClusterEksFargateProfileSelector
, ClusterEksFargateProfileSelectorArgs

Namespace This property is required. string
Labels Dictionary<string, string>
Namespace This property is required. string
Labels map[string]string
namespace This property is required. String
labels Map<String,String>
namespace This property is required. string
labels {[key: string]: string}
namespace This property is required. str
labels Mapping[str, str]
namespace This property is required. String
labels Map<String>

ClusterEksHostConfig
, ClusterEksHostConfigArgs

ExternalTrafficPolicy string
The external traffic policy for the cluster.
HostEndpointType string
The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
IngressHost string
The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
LoadBalancerSourceRanges string
The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
ExternalTrafficPolicy string
The external traffic policy for the cluster.
HostEndpointType string
The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
IngressHost string
The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
LoadBalancerSourceRanges string
The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
externalTrafficPolicy String
The external traffic policy for the cluster.
hostEndpointType String
The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
ingressHost String
The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
loadBalancerSourceRanges String
The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
externalTrafficPolicy string
The external traffic policy for the cluster.
hostEndpointType string
The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
ingressHost string
The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
loadBalancerSourceRanges string
The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
external_traffic_policy str
The external traffic policy for the cluster.
host_endpoint_type str
The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
ingress_host str
The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
load_balancer_source_ranges str
The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
externalTrafficPolicy String
The external traffic policy for the cluster.
hostEndpointType String
The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
ingressHost String
The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
loadBalancerSourceRanges String
The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.

ClusterEksLocationConfig
, ClusterEksLocationConfigArgs

CountryCode This property is required. string
CountryName This property is required. string
Latitude This property is required. double
Longitude This property is required. double
RegionCode This property is required. string
RegionName This property is required. string
CountryCode This property is required. string
CountryName This property is required. string
Latitude This property is required. float64
Longitude This property is required. float64
RegionCode This property is required. string
RegionName This property is required. string
countryCode This property is required. String
countryName This property is required. String
latitude This property is required. Double
longitude This property is required. Double
regionCode This property is required. String
regionName This property is required. String
countryCode This property is required. string
countryName This property is required. string
latitude This property is required. number
longitude This property is required. number
regionCode This property is required. string
regionName This property is required. string
country_code This property is required. str
country_name This property is required. str
latitude This property is required. float
longitude This property is required. float
region_code This property is required. str
region_name This property is required. str
countryCode This property is required. String
countryName This property is required. String
latitude This property is required. Number
longitude This property is required. Number
regionCode This property is required. String
regionName This property is required. String

ClusterEksMachinePool
, ClusterEksMachinePoolArgs

Count This property is required. double
Number of nodes in the machine pool.
DiskSizeGb This property is required. double
InstanceType This property is required. string
Name This property is required. string
AdditionalLabels Dictionary<string, string>
AzSubnets Dictionary<string, string>
Mutually exclusive with azs. Use for Static provisioning.
Azs List<string>
Mutually exclusive with az_subnets.
CapacityType string
Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.
EksLaunchTemplate ClusterEksMachinePoolEksLaunchTemplate
Max double
Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
MaxPrice string
Min double
Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
Nodes List<ClusterEksMachinePoolNode>
Taints List<ClusterEksMachinePoolTaint>
UpdateStrategy string
Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
Count This property is required. float64
Number of nodes in the machine pool.
DiskSizeGb This property is required. float64
InstanceType This property is required. string
Name This property is required. string
AdditionalLabels map[string]string
AzSubnets map[string]string
Mutually exclusive with azs. Use for Static provisioning.
Azs []string
Mutually exclusive with az_subnets.
CapacityType string
Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.
EksLaunchTemplate ClusterEksMachinePoolEksLaunchTemplate
Max float64
Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
MaxPrice string
Min float64
Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
Nodes []ClusterEksMachinePoolNode
Taints []ClusterEksMachinePoolTaint
UpdateStrategy string
Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
count This property is required. Double
Number of nodes in the machine pool.
diskSizeGb This property is required. Double
instanceType This property is required. String
name This property is required. String
additionalLabels Map<String,String>
azSubnets Map<String,String>
Mutually exclusive with azs. Use for Static provisioning.
azs List<String>
Mutually exclusive with az_subnets.
capacityType String
Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.
eksLaunchTemplate ClusterEksMachinePoolEksLaunchTemplate
max Double
Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
maxPrice String
min Double
Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
nodes List<ClusterEksMachinePoolNode>
taints List<ClusterEksMachinePoolTaint>
updateStrategy String
Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
count This property is required. number
Number of nodes in the machine pool.
diskSizeGb This property is required. number
instanceType This property is required. string
name This property is required. string
additionalLabels {[key: string]: string}
azSubnets {[key: string]: string}
Mutually exclusive with azs. Use for Static provisioning.
azs string[]
Mutually exclusive with az_subnets.
capacityType string
Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.
eksLaunchTemplate ClusterEksMachinePoolEksLaunchTemplate
max number
Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
maxPrice string
min number
Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
nodes ClusterEksMachinePoolNode[]
taints ClusterEksMachinePoolTaint[]
updateStrategy string
Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
count This property is required. float
Number of nodes in the machine pool.
disk_size_gb This property is required. float
instance_type This property is required. str
name This property is required. str
additional_labels Mapping[str, str]
az_subnets Mapping[str, str]
Mutually exclusive with azs. Use for Static provisioning.
azs Sequence[str]
Mutually exclusive with az_subnets.
capacity_type str
Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.
eks_launch_template ClusterEksMachinePoolEksLaunchTemplate
max float
Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
max_price str
min float
Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
nodes Sequence[ClusterEksMachinePoolNode]
taints Sequence[ClusterEksMachinePoolTaint]
update_strategy str
Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
count This property is required. Number
Number of nodes in the machine pool.
diskSizeGb This property is required. Number
instanceType This property is required. String
name This property is required. String
additionalLabels Map<String>
azSubnets Map<String>
Mutually exclusive with azs. Use for Static provisioning.
azs List<String>
Mutually exclusive with az_subnets.
capacityType String
Capacity type is an instance type, can be 'on-demand' or 'spot'. Defaults to 'on-demand'.
eksLaunchTemplate Property Map
max Number
Maximum number of nodes in the machine pool. This is used for autoscaling the machine pool.
maxPrice String
min Number
Minimum number of nodes in the machine pool. This is used for autoscaling the machine pool.
nodes List<Property Map>
taints List<Property Map>
updateStrategy String
Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.

ClusterEksMachinePoolEksLaunchTemplate
, ClusterEksMachinePoolEksLaunchTemplateArgs

AdditionalSecurityGroups List<string>
Additional security groups to attach to the instance.
AmiId string
The ID of the custom Amazon Machine Image (AMI).
RootVolumeIops double
The number of input/output operations per second (IOPS) for the root volume.
RootVolumeThroughput double
The throughput of the root volume in MiB/s.
RootVolumeType string
The type of the root volume.
AdditionalSecurityGroups []string
Additional security groups to attach to the instance.
AmiId string
The ID of the custom Amazon Machine Image (AMI).
RootVolumeIops float64
The number of input/output operations per second (IOPS) for the root volume.
RootVolumeThroughput float64
The throughput of the root volume in MiB/s.
RootVolumeType string
The type of the root volume.
additionalSecurityGroups List<String>
Additional security groups to attach to the instance.
amiId String
The ID of the custom Amazon Machine Image (AMI).
rootVolumeIops Double
The number of input/output operations per second (IOPS) for the root volume.
rootVolumeThroughput Double
The throughput of the root volume in MiB/s.
rootVolumeType String
The type of the root volume.
additionalSecurityGroups string[]
Additional security groups to attach to the instance.
amiId string
The ID of the custom Amazon Machine Image (AMI).
rootVolumeIops number
The number of input/output operations per second (IOPS) for the root volume.
rootVolumeThroughput number
The throughput of the root volume in MiB/s.
rootVolumeType string
The type of the root volume.
additional_security_groups Sequence[str]
Additional security groups to attach to the instance.
ami_id str
The ID of the custom Amazon Machine Image (AMI).
root_volume_iops float
The number of input/output operations per second (IOPS) for the root volume.
root_volume_throughput float
The throughput of the root volume in MiB/s.
root_volume_type str
The type of the root volume.
additionalSecurityGroups List<String>
Additional security groups to attach to the instance.
amiId String
The ID of the custom Amazon Machine Image (AMI).
rootVolumeIops Number
The number of input/output operations per second (IOPS) for the root volume.
rootVolumeThroughput Number
The throughput of the root volume in MiB/s.
rootVolumeType String
The type of the root volume.

ClusterEksMachinePoolNode
, ClusterEksMachinePoolNodeArgs

Action This property is required. string
The action to perform on the node. Valid values are: cordon, uncordon.
NodeId This property is required. string
The node_id of the node, For example i-07f899a33dee624f7
Action This property is required. string
The action to perform on the node. Valid values are: cordon, uncordon.
NodeId This property is required. string
The node_id of the node, For example i-07f899a33dee624f7
action This property is required. String
The action to perform on the node. Valid values are: cordon, uncordon.
nodeId This property is required. String
The node_id of the node, For example i-07f899a33dee624f7
action This property is required. string
The action to perform on the node. Valid values are: cordon, uncordon.
nodeId This property is required. string
The node_id of the node, For example i-07f899a33dee624f7
action This property is required. str
The action to perform on the node. Valid values are: cordon, uncordon.
node_id This property is required. str
The node_id of the node, For example i-07f899a33dee624f7
action This property is required. String
The action to perform on the node. Valid values are: cordon, uncordon.
nodeId This property is required. String
The node_id of the node, For example i-07f899a33dee624f7

ClusterEksMachinePoolTaint
, ClusterEksMachinePoolTaintArgs

Effect This property is required. string
The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
Key This property is required. string
The key of the taint.
Value This property is required. string
The value of the taint.
Effect This property is required. string
The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
Key This property is required. string
The key of the taint.
Value This property is required. string
The value of the taint.
effect This property is required. String
The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
key This property is required. String
The key of the taint.
value This property is required. String
The value of the taint.
effect This property is required. string
The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
key This property is required. string
The key of the taint.
value This property is required. string
The value of the taint.
effect This property is required. str
The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
key This property is required. str
The key of the taint.
value This property is required. str
The value of the taint.
effect This property is required. String
The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
key This property is required. String
The key of the taint.
value This property is required. String
The value of the taint.

ClusterEksNamespace
, ClusterEksNamespaceArgs

Name This property is required. string
Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
ResourceAllocation This property is required. Dictionary<string, string>
Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
ImagesBlacklists List<string>
List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
Name This property is required. string
Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
ResourceAllocation This property is required. map[string]string
Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
ImagesBlacklists []string
List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
name This property is required. String
Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
resourceAllocation This property is required. Map<String,String>
Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
imagesBlacklists List<String>
List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
name This property is required. string
Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
resourceAllocation This property is required. {[key: string]: string}
Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
imagesBlacklists string[]
List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
name This property is required. str
Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
resource_allocation This property is required. Mapping[str, str]
Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
images_blacklists Sequence[str]
List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
name This property is required. String
Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
resourceAllocation This property is required. Map<String>
Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
imagesBlacklists List<String>
List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']

ClusterEksScanPolicy
, ClusterEksScanPolicyArgs

ConfigurationScanSchedule This property is required. string
The schedule for configuration scan.
ConformanceScanSchedule This property is required. string
The schedule for conformance scan.
PenetrationScanSchedule This property is required. string
The schedule for penetration scan.
ConfigurationScanSchedule This property is required. string
The schedule for configuration scan.
ConformanceScanSchedule This property is required. string
The schedule for conformance scan.
PenetrationScanSchedule This property is required. string
The schedule for penetration scan.
configurationScanSchedule This property is required. String
The schedule for configuration scan.
conformanceScanSchedule This property is required. String
The schedule for conformance scan.
penetrationScanSchedule This property is required. String
The schedule for penetration scan.
configurationScanSchedule This property is required. string
The schedule for configuration scan.
conformanceScanSchedule This property is required. string
The schedule for conformance scan.
penetrationScanSchedule This property is required. string
The schedule for penetration scan.
configuration_scan_schedule This property is required. str
The schedule for configuration scan.
conformance_scan_schedule This property is required. str
The schedule for conformance scan.
penetration_scan_schedule This property is required. str
The schedule for penetration scan.
configurationScanSchedule This property is required. String
The schedule for configuration scan.
conformanceScanSchedule This property is required. String
The schedule for conformance scan.
penetrationScanSchedule This property is required. String
The schedule for penetration scan.

ClusterEksTimeouts
, ClusterEksTimeoutsArgs

Create string
Delete string
Update string
Create string
Delete string
Update string
create String
delete String
update String
create string
delete string
update string
create str
delete str
update str
create String
delete String
update String

Package Details

Repository
spectrocloud spectrocloud/terraform-provider-spectrocloud
License
Notes
This Pulumi package is based on the spectrocloud Terraform Provider.