import * as core from "@terrascript/core"; export interface AddonArgs extends core.ResourceArgs { addonName: string | core.StringOut; addonVersion?: string | core.StringOut; clusterName: string | core.StringOut; /** * (Optional) Indicates if you want to preserve the created resources when deleting the EKS add-on. */ preserve?: boolean | core.BooleanOut; /** * (Optional) Define how to resolve parameter value conflicts */ resolveConflicts?: string | core.StringOut; /** * (Optional) The Amazon Resource Name (ARN) of an */ serviceAccountRoleArn?: string | core.StringOut; /** * (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; /** * (Optional) Key-value map of resource tags, including those inherited from the provider [`default_tag * s` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_ta * gs-configuration-block). */ tagsAll?: core.Map | core.MapOut; } export class Addon extends core.Resource { @core.attr(String) public addonName!: string | core.StringOut; @core.attr(String, { computed: true }) public addonVersion?: string | core.StringOut; /** * Amazon Resource Name (ARN) of the EKS add-on. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String) public clusterName!: string | core.StringOut; /** * Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the EKS add- * on was created. */ @core.attr(String, { computed: true }) public createdAt!: string | core.StringOut; /** * EKS Cluster name and EKS Addon name separated by a colon (`:`). */ @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the EKS add- * on was updated. */ @core.attr(String, { computed: true }) public modifiedAt!: string | core.StringOut; /** * (Optional) Indicates if you want to preserve the created resources when deleting the EKS add-on. */ @core.attr(Boolean) public preserve?: boolean | core.BooleanOut; /** * (Optional) Define how to resolve parameter value conflicts */ @core.attr(String) public resolveConflicts?: string | core.StringOut; /** * (Optional) The Amazon Resource Name (ARN) of an */ @core.attr(String) public serviceAccountRoleArn?: string | core.StringOut; /** * (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; /** * (Optional) Key-value map of resource tags, including those inherited from the provider [`default_tag * s` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_ta * gs-configuration-block). */ @core.attr(String, { computed: true, kind: "map" }) public tagsAll?: core.Map | core.MapOut; constructor(name: string, args?: AddonArgs) { super(name, "aws_eks_addon", args); } public override getNamespace(): string { return "aws_eks"; } }