import * as core from "@terrascript/core"; export interface SelectorArgs extends core.SchemaArgs { labels?: core.Map | core.MapOut; namespace: string | core.StringOut; } export class Selector extends core.Schema { @core.attr(String, { kind: "map" }) public labels?: core.Map | core.MapOut; @core.attr(String) public namespace!: string | core.StringOut; } export interface FargateProfileArgs extends core.ResourceArgs { clusterName: string | core.StringOut; fargateProfileName: string | core.StringOut; podExecutionRoleArn: string | core.StringOut; /** * (Required) Configuration block(s) for selecting Kubernetes Pods to execute with this EKS Fargate Pro * file. Detailed below. */ selector: core.Array | core.ArrayOut; subnetIds?: core.Array | core.ArrayOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class FargateProfile extends core.Resource { /** * Amazon Resource Name (ARN) of the EKS Fargate Profile. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String) public clusterName!: string | core.StringOut; @core.attr(String) public fargateProfileName!: string | core.StringOut; /** * EKS Cluster name and EKS Fargate Profile name separated by a colon (`:`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; @core.attr(String) public podExecutionRoleArn!: string | core.StringOut; /** * (Required) Configuration block(s) for selecting Kubernetes Pods to execute with this EKS Fargate Pro * file. Detailed below. */ @core.attr(Selector, { kind: "array" }) public selector!: core.Array | core.ArrayOut; /** * Status of the EKS Fargate Profile. */ @core.attr(String, { computed: true }) public status!: string | core.StringOut; @core.attr(String, { kind: "array" }) public subnetIds?: core.Array | core.ArrayOut; /** * (Optional) Key-value map of resource tags. If configured with a provider [`default_tags` configurati * on block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configurati * on-block) present, tags with matching keys will overwrite those defined at the provider-level. */ @core.attr(String, { kind: "map" }) public tags?: core.Map | core.MapOut; /** * A map of tags assigned to the resource, including those inherited from the provider [`default_tags` * configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags- * configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: FargateProfileArgs) { super(name, "aws_eks_fargate_profile", args); } public override getNamespace(): string { return "aws_eks"; } }