import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Definition of AWS::RedshiftServerless::Workgroup Resource Type */ export declare class Workgroup extends pulumi.CustomResource { /** * Get an existing Workgroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Workgroup; /** * Returns true if the given object is an instance of Workgroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Workgroup; /** * The base compute capacity of the workgroup in Redshift Processing Units (RPUs). */ readonly baseCapacity: pulumi.Output; /** * A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl. */ readonly configParameters: pulumi.Output; /** * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. */ readonly enhancedVpcRouting: pulumi.Output; /** * The max compute capacity of the workgroup in Redshift Processing Units (RPUs). */ readonly maxCapacity: pulumi.Output; /** * The namespace the workgroup is associated with. */ readonly namespaceName: pulumi.Output; /** * The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439. */ readonly port: pulumi.Output; /** * A property that represents the price performance target settings for the workgroup. */ readonly pricePerformanceTarget: pulumi.Output; /** * A value that specifies whether the workgroup can be accessible from a public network. */ readonly publiclyAccessible: pulumi.Output; /** * The identifier of the recovery point to restore the namespace from. When this resource is first created, the namespace is restored from this recovery point. On subsequent updates, a restore occurs only when RecoveryPointId changes from its previous value. If the value is unchanged or removed, no restore takes place and existing data is preserved. */ readonly recoveryPointId: pulumi.Output; /** * A list of security group IDs to associate with the workgroup. */ readonly securityGroupIds: pulumi.Output; /** * The Amazon Resource Name (ARN) of the snapshot to restore the namespace from. Specify either SnapshotArn or SnapshotName, but not both. When this resource is first created, the namespace is restored from this snapshot. On subsequent updates, a restore occurs only when SnapshotArn changes from its previous value. If the value is unchanged or removed, no restore takes place and existing data is preserved. */ readonly snapshotArn: pulumi.Output; /** * The name of the snapshot to restore the namespace from. Because snapshot names are unique only within an account, also specify SnapshotOwnerAccount when restoring from a snapshot owned by a different account. Specify either SnapshotName or SnapshotArn, but not both. When this resource is first created, the namespace is restored from this snapshot. On subsequent updates, a restore occurs only when SnapshotName or SnapshotOwnerAccount changes from its previous value. If both values are unchanged or SnapshotName is removed, no restore takes place and existing data is preserved. */ readonly snapshotName: pulumi.Output; /** * The AWS account ID that owns the snapshot. Required when restoring from a snapshot shared by another account. Used in combination with SnapshotName. On updates, changing this value while SnapshotName is set triggers a restore from the newly referenced snapshot. If the value is unchanged, no restore takes place and existing data is preserved. */ readonly snapshotOwnerAccount: pulumi.Output; /** * A list of subnet IDs the workgroup is associated with. */ readonly subnetIds: pulumi.Output; /** * The map of the key-value pairs used to tag the workgroup. */ readonly tags: pulumi.Output; /** * An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track. */ readonly trackName: pulumi.Output; /** * Definition for workgroup resource */ readonly workgroup: pulumi.Output; /** * The name of the workgroup. */ readonly workgroupName: pulumi.Output; /** * Create a Workgroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: WorkgroupArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Workgroup resource. */ export interface WorkgroupArgs { /** * The base compute capacity of the workgroup in Redshift Processing Units (RPUs). */ baseCapacity?: pulumi.Input; /** * A list of parameters to set for finer control over a database. Available options are datestyle, enable_user_activity_logging, query_group, search_path, max_query_execution_time, and require_ssl. */ configParameters?: pulumi.Input[]>; /** * The value that specifies whether to enable enhanced virtual private cloud (VPC) routing, which forces Amazon Redshift Serverless to route traffic through your VPC. */ enhancedVpcRouting?: pulumi.Input; /** * The max compute capacity of the workgroup in Redshift Processing Units (RPUs). */ maxCapacity?: pulumi.Input; /** * The namespace the workgroup is associated with. */ namespaceName?: pulumi.Input; /** * The custom port to use when connecting to a workgroup. Valid port ranges are 5431-5455 and 8191-8215. The default is 5439. */ port?: pulumi.Input; /** * A property that represents the price performance target settings for the workgroup. */ pricePerformanceTarget?: pulumi.Input; /** * A value that specifies whether the workgroup can be accessible from a public network. */ publiclyAccessible?: pulumi.Input; /** * The identifier of the recovery point to restore the namespace from. When this resource is first created, the namespace is restored from this recovery point. On subsequent updates, a restore occurs only when RecoveryPointId changes from its previous value. If the value is unchanged or removed, no restore takes place and existing data is preserved. */ recoveryPointId?: pulumi.Input; /** * A list of security group IDs to associate with the workgroup. */ securityGroupIds?: pulumi.Input[]>; /** * The Amazon Resource Name (ARN) of the snapshot to restore the namespace from. Specify either SnapshotArn or SnapshotName, but not both. When this resource is first created, the namespace is restored from this snapshot. On subsequent updates, a restore occurs only when SnapshotArn changes from its previous value. If the value is unchanged or removed, no restore takes place and existing data is preserved. */ snapshotArn?: pulumi.Input; /** * The name of the snapshot to restore the namespace from. Because snapshot names are unique only within an account, also specify SnapshotOwnerAccount when restoring from a snapshot owned by a different account. Specify either SnapshotName or SnapshotArn, but not both. When this resource is first created, the namespace is restored from this snapshot. On subsequent updates, a restore occurs only when SnapshotName or SnapshotOwnerAccount changes from its previous value. If both values are unchanged or SnapshotName is removed, no restore takes place and existing data is preserved. */ snapshotName?: pulumi.Input; /** * The AWS account ID that owns the snapshot. Required when restoring from a snapshot shared by another account. Used in combination with SnapshotName. On updates, changing this value while SnapshotName is set triggers a restore from the newly referenced snapshot. If the value is unchanged, no restore takes place and existing data is preserved. */ snapshotOwnerAccount?: pulumi.Input; /** * A list of subnet IDs the workgroup is associated with. */ subnetIds?: pulumi.Input[]>; /** * The map of the key-value pairs used to tag the workgroup. */ tags?: pulumi.Input[]>; /** * An optional parameter for the name of the track for the workgroup. If you don't provide a track name, the workgroup is assigned to the current track. */ trackName?: pulumi.Input; /** * Definition for workgroup resource */ workgroup?: pulumi.Input; /** * The name of the workgroup. */ workgroupName?: pulumi.Input; }