/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ export type WorkgroupStatus = "CREATING" | "AVAILABLE" | "MODIFYING" | "DELETING"; /** * Definition of AWS::RedshiftServerless::Workgroup Resource Type */ export interface AwsRedshiftserverlessWorkgroup { WorkgroupName: string; NamespaceName?: string; BaseCapacity?: number; EnhancedVpcRouting?: boolean; /** * @minItems 1 */ ConfigParameters?: [ConfigParameter, ...ConfigParameter[]]; /** * @minItems 1 * @maxItems 32 */ SecurityGroupIds?: [string, ...string[]]; /** * @minItems 1 * @maxItems 32 */ SubnetIds?: [string, ...string[]]; PubliclyAccessible?: boolean; Port?: number; /** * @minItems 0 * @maxItems 200 */ Tags?: Tag[]; Workgroup?: Workgroup; } export interface ConfigParameter { ParameterKey?: string; ParameterValue?: string; } export interface Tag { Key: string; Value: string; } export interface Workgroup { WorkgroupId?: string; WorkgroupArn?: string; WorkgroupName?: string; NamespaceName?: string; BaseCapacity?: number; EnhancedVpcRouting?: boolean; ConfigParameters?: ConfigParameter[]; SecurityGroupIds?: string[]; SubnetIds?: string[]; Status?: WorkgroupStatus; Endpoint?: Endpoint; PubliclyAccessible?: boolean; CreationDate?: string; } export interface Endpoint { Address?: string; Port?: number; VpcEndpoints?: VpcEndpoint[]; } export interface VpcEndpoint { VpcEndpointId?: string; VpcId?: string; NetworkInterfaces?: NetworkInterface[]; } export interface NetworkInterface { NetworkInterfaceId?: string; SubnetId?: string; PrivateIpAddress?: string; AvailabilityZone?: string; }