AWS::Athena::WorkGroupThe AWS::Athena::WorkGroup resource specifies an Amazon Athena workgroup, which contains a name, description, creation time, state, and other configuration, listed under `WorkGroupConfiguration` . Each workgroup enables you to isolate queries for you or your group from other queries in the same account. For more information, see [CreateWorkGroup](https://docs.aws.amazon.com/athena/latest/APIReference/API_CreateWorkGroup.html) in the *Amazon Athena API Reference* .
import { CfnWorkGroup } from 'aws-cdk-lib/aws-athena';Or use the module namespace:
import * as athena from 'aws-cdk-lib/aws-athena';
// athena.CfnWorkGroupConfiguration passed to the constructor as CfnWorkGroupProps.
nameRequiredstringThe workgroup name.
descriptionOptionalstringThe workgroup description.
recursiveDeleteOptionOptionalboolean | IResolvableThe option to delete a workgroup and its contents even if the workgroup contains any named queries. The default is false.
stateOptionalstringThe state of the workgroup: ENABLED or DISABLED.
tagsOptionalCfnTag[]The tags (key-value pairs) to associate with this resource.
workGroupConfigurationOptionalIResolvable | WorkGroupConfigurationPropertyThe configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified. The `EnforceWorkGroupConfiguration` option determines whether workgroup settings override client-side query settings.
workGroupConfigurationUpdatesOptionalDeprecatedIResolvable | WorkGroupConfigurationUpdatesPropertyThe configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.
Deprecated: this property has been deprecated
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-athenaAWS::Athena::WorkGroup