|
| 1 | +# AWS::Athena::WorkGroup WorkGroupConfiguration<a name="aws-properties-athena-workgroup-workgroupconfiguration"></a> |
| 2 | + |
| 3 | +The 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](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-workgroupconfiguration.html#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration) option determines whether workgroup settings override client\-side query settings\. |
| 4 | + |
| 5 | +## Syntax<a name="aws-properties-athena-workgroup-workgroupconfiguration-syntax"></a> |
| 6 | + |
| 7 | +To declare this entity in your AWS CloudFormation template, use the following syntax: |
| 8 | + |
| 9 | +### JSON<a name="aws-properties-athena-workgroup-workgroupconfiguration-syntax.json"></a> |
| 10 | + |
| 11 | +``` |
| 12 | +{ |
| 13 | + "[BytesScannedCutoffPerQuery](#cfn-athena-workgroup-workgroupconfiguration-bytesscannedcutoffperquery)" : Integer, |
| 14 | + "[EnforceWorkGroupConfiguration](#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration)" : Boolean, |
| 15 | + "[PublishCloudWatchMetricsEnabled](#cfn-athena-workgroup-workgroupconfiguration-publishcloudwatchmetricsenabled)" : Boolean, |
| 16 | + "[RequesterPaysEnabled](#cfn-athena-workgroup-workgroupconfiguration-requesterpaysenabled)" : Boolean, |
| 17 | + "[ResultConfiguration](#cfn-athena-workgroup-workgroupconfiguration-resultconfiguration)" : [ResultConfiguration](aws-properties-athena-workgroup-resultconfiguration.md) |
| 18 | +} |
| 19 | +``` |
| 20 | + |
| 21 | +### YAML<a name="aws-properties-athena-workgroup-workgroupconfiguration-syntax.yaml"></a> |
| 22 | + |
| 23 | +``` |
| 24 | + [BytesScannedCutoffPerQuery](#cfn-athena-workgroup-workgroupconfiguration-bytesscannedcutoffperquery): Integer |
| 25 | + [EnforceWorkGroupConfiguration](#cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration): Boolean |
| 26 | + [PublishCloudWatchMetricsEnabled](#cfn-athena-workgroup-workgroupconfiguration-publishcloudwatchmetricsenabled): Boolean |
| 27 | + [RequesterPaysEnabled](#cfn-athena-workgroup-workgroupconfiguration-requesterpaysenabled): Boolean |
| 28 | + [ResultConfiguration](#cfn-athena-workgroup-workgroupconfiguration-resultconfiguration): |
| 29 | + [ResultConfiguration](aws-properties-athena-workgroup-resultconfiguration.md) |
| 30 | +``` |
| 31 | + |
| 32 | +## Properties<a name="aws-properties-athena-workgroup-workgroupconfiguration-properties"></a> |
| 33 | + |
| 34 | +`BytesScannedCutoffPerQuery` <a name="cfn-athena-workgroup-workgroupconfiguration-bytesscannedcutoffperquery"></a> |
| 35 | +The upper data usage limit \(cutoff\) for the amount of bytes a single query in a workgroup is allowed to scan\. |
| 36 | +*Required*: No |
| 37 | +*Type*: Integer |
| 38 | +*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) |
| 39 | + |
| 40 | +`EnforceWorkGroupConfiguration` <a name="cfn-athena-workgroup-workgroupconfiguration-enforceworkgroupconfiguration"></a> |
| 41 | +If set to "true", the settings for the workgroup override client\-side settings\. If set to "false", client\-side settings are used\. For more information, see [Workgroup Settings Override Client\-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html)\. |
| 42 | +*Required*: No |
| 43 | +*Type*: Boolean |
| 44 | +*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) |
| 45 | + |
| 46 | +`PublishCloudWatchMetricsEnabled` <a name="cfn-athena-workgroup-workgroupconfiguration-publishcloudwatchmetricsenabled"></a> |
| 47 | +Indicates that the Amazon CloudWatch metrics are enabled for the workgroup\. |
| 48 | +*Required*: No |
| 49 | +*Type*: Boolean |
| 50 | +*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) |
| 51 | + |
| 52 | +`RequesterPaysEnabled` <a name="cfn-athena-workgroup-workgroupconfiguration-requesterpaysenabled"></a> |
| 53 | +If set to `true`, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries\. If set to `false`, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error\. The default is `false`\. For more information about Requester Pays buckets, see [Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) in the *Amazon Simple Storage Service Developer Guide*\. |
| 54 | +*Required*: No |
| 55 | +*Type*: Boolean |
| 56 | +*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) |
| 57 | + |
| 58 | +`ResultConfiguration` <a name="cfn-athena-workgroup-workgroupconfiguration-resultconfiguration"></a> |
| 59 | +Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results\. For more information, see [Working with Query Results, Output Files, and Query History](https://docs.aws.amazon.com/athena/latest/ug/querying.html)\. |
| 60 | +*Required*: No |
| 61 | +*Type*: [ResultConfiguration](aws-properties-athena-workgroup-resultconfiguration.md) |
| 62 | +*Update requires*: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) |
0 commit comments