AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The configuration of the workgroup, which includes the location in Amazon S3 where query and calculation results are stored, the encryption option, if any, used for query and calculation results, whether the Amazon CloudWatch Metrics are enabled for the workgroup and whether workgroup settings override query settings, and the data usage limits for the amount of data scanned per query or per workgroup. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.

Inheritance Hierarchy

System.Object
  Amazon.Athena.Model.WorkGroupConfiguration

Namespace: Amazon.Athena.Model
Assembly: AWSSDK.Athena.dll
Version: 3.x.y.z

Syntax

C#
public class WorkGroupConfiguration

The WorkGroupConfiguration type exposes the following members

Constructors

NameDescription
Public Method WorkGroupConfiguration()

Properties

NameTypeDescription
Public Property AdditionalConfiguration System.String

Gets and sets the property AdditionalConfiguration.

Specifies a user defined JSON string that is passed to the notebook engine.

Public Property BytesScannedCutoffPerQuery System.Int64

Gets and sets the property BytesScannedCutoffPerQuery.

The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.

Public Property CustomerContentEncryptionConfiguration Amazon.Athena.Model.CustomerContentEncryptionConfiguration

Gets and sets the property 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.

Public Property EnableMinimumEncryptionConfiguration System.Boolean

Gets and sets the property EnableMinimumEncryptionConfiguration.

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.

Public Property EnforceWorkGroupConfiguration System.Boolean

Gets and sets the property EnforceWorkGroupConfiguration.

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.

Public Property EngineVersion Amazon.Athena.Model.EngineVersion

Gets and sets the property 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.

Public Property ExecutionRole System.String

Gets and sets the property ExecutionRole.

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.

Public Property IdentityCenterConfiguration Amazon.Athena.Model.IdentityCenterConfiguration

Gets and sets the property IdentityCenterConfiguration.

Specifies whether the workgroup is IAM Identity Center supported.

Public Property PublishCloudWatchMetricsEnabled System.Boolean

Gets and sets the property PublishCloudWatchMetricsEnabled.

Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.

Public Property QueryResultsS3AccessGrantsConfiguration Amazon.Athena.Model.QueryResultsS3AccessGrantsConfiguration

Gets and sets the property QueryResultsS3AccessGrantsConfiguration.

Specifies whether Amazon S3 access grants are enabled for query results.

Public Property RequesterPaysEnabled System.Boolean

Gets and sets the property RequesterPaysEnabled.

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.

Public Property ResultConfiguration Amazon.Athena.Model.ResultConfiguration

Gets and sets the property 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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5