WorkGroupConfiguration
¶
Used by
-
AsyncAthenaClient Operationscreate_work_group -
AthenaClient Operationscreate_work_group
Source code in docs_src/capo_athena/types/work_group_configuration.py
additional_configuration
instance-attribute
¶
additional_configuration: NotRequired[NameString]
Specifies a user defined JSON string that is passed to the notebook engine.
bytes_scanned_cutoff_per_query
instance-attribute
¶
bytes_scanned_cutoff_per_query: NotRequired[BytesScannedCutoffValue]
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.
customer_content_encryption_configuration
instance-attribute
¶
customer_content_encryption_configuration: NotRequired[
CustomerContentEncryptionConfiguration
]
Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
enable_minimum_encryption_configuration
instance-attribute
¶
enable_minimum_encryption_configuration: NotRequired[BoxedBoolean]
Enforces a minimal level of encryption for the workgroup for query and calculation results that are written to Amazon S3. When enabled, workgroup users can set encryption only to the minimum level set by the administrator or higher when they submit queries.
The EnforceWorkGroupConfiguration setting takes precedence over the EnableMinimumEncryptionConfiguration flag. This means that if EnforceWorkGroupConfiguration is true, the EnableMinimumEncryptionConfiguration flag is ignored, and the workgroup configuration for encryption is used.
enforce_work_group_configuration
instance-attribute
¶
enforce_work_group_configuration: NotRequired[BoxedBoolean]
If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. This property is not required for Apache Spark enabled workgroups. For more information, see Workgroup Settings Override Client-Side Settings.
engine_version
instance-attribute
¶
engine_version: NotRequired[EngineVersion]
The engine version that all queries running on the workgroup use. Queries on the AmazonAthenaPreviewFunctionality workgroup run on the preview engine regardless of this setting.
execution_role
instance-attribute
¶
execution_role: NotRequired[RoleArn]
The ARN of the execution role used to access user resources for Spark sessions and IAM Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and IAM Identity Center enabled workgroups. The property is required for IAM Identity Center enabled workgroups.
identity_center_configuration
instance-attribute
¶
identity_center_configuration: NotRequired[IdentityCenterConfiguration]
Specifies whether the workgroup is IAM Identity Center supported.
managed_query_results_configuration
instance-attribute
¶
managed_query_results_configuration: NotRequired[ManagedQueryResultsConfiguration]
The configuration for storing results in Athena owned storage, which includes whether this feature is enabled; whether encryption configuration, if any, is used for encrypting query results.
monitoring_configuration
instance-attribute
¶
monitoring_configuration: NotRequired[MonitoringConfiguration]
Contains the configuration settings for managed log persistence, delivering logs to Amazon S3 buckets, Amazon CloudWatch log groups etc.
publish_cloud_watch_metrics_enabled
instance-attribute
¶
publish_cloud_watch_metrics_enabled: NotRequired[BoxedBoolean]
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
query_results_s3_access_grants_configuration
instance-attribute
¶
query_results_s3_access_grants_configuration: NotRequired[
QueryResultsS3AccessGrantsConfiguration
]
Specifies whether Amazon S3 access grants are enabled for query results.
requester_pays_enabled
instance-attribute
¶
requester_pays_enabled: NotRequired[BoxedBoolean]
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 in the Amazon Simple Storage Service Developer Guide.
result_configuration
instance-attribute
¶
result_configuration: NotRequired[ResultConfiguration]
The configuration for the workgroup, which includes the location in Amazon S3 where query and calculation results are stored and the encryption option, if any, used for query and calculation results. To run the query, you must specify the query results location using one of the ways: either in the workgroup using this setting, or for individual queries (client-side), using ResultConfiguration$OutputLocation. If none of them is set, Athena issues an error that no output location is provided.