import * as core from "@terrascript/core"; export interface LicenseAssociationArgs extends core.ResourceArgs { /** * (Required) The type of license for the workspace license association. Valid values are `ENTERPRISE` * and `ENTERPRISE_FREE_TRIAL`. */ licenseType: string | core.StringOut; /** * (Required) The workspace id. */ workspaceId: string | core.StringOut; } export class LicenseAssociation extends core.Resource { /** * If `license_type` is set to `ENTERPRISE_FREE_TRIAL`, this is the expiration date of the free trial. */ @core.attr(String, { computed: true }) public freeTrialExpiration!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * If `license_type` is set to `ENTERPRISE`, this is the expiration date of the enterprise license. */ @core.attr(String, { computed: true }) public licenseExpiration!: string | core.StringOut; /** * (Required) The type of license for the workspace license association. Valid values are `ENTERPRISE` * and `ENTERPRISE_FREE_TRIAL`. */ @core.attr(String) public licenseType!: string | core.StringOut; /** * (Required) The workspace id. */ @core.attr(String) public workspaceId!: string | core.StringOut; constructor(name: string, args?: LicenseAssociationArgs) { super(name, "aws_grafana_license_association", args); } public override getNamespace(): string { return "aws_grafana"; } }