Class: Aws::Athena::Types::WorkGroupConfigurationUpdates

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-athena/types.rb

Overview

The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query and calculation 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#additional_configurationString

Contains a user defined string in JSON format for a Spark-enabled workgroup.

Returns:

  • (String)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#bytes_scanned_cutoff_per_queryInteger

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

Returns:

  • (Integer)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#customer_content_encryption_configurationTypes::CustomerContentEncryptionConfiguration

Specifies the customer managed KMS key that is used to encrypt the user’s data stores in Athena. When an Amazon Web Services managed key is used, this value is null. This setting does not apply to Athena SQL workgroups.



5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#enable_minimum_encryption_configurationBoolean

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. This setting does not apply to Spark-enabled workgroups.

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.

Returns:

  • (Boolean)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#enforce_work_group_configurationBoolean

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].

[1]: docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html

Returns:

  • (Boolean)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#engine_versionTypes::EngineVersion

The engine version requested when a workgroup is updated. After the update, all queries on the workgroup run on the requested engine version. If no value was previously set, the default is Auto. Queries on the ‘AmazonAthenaPreviewFunctionality` workgroup run on the preview engine regardless of this setting.



5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#execution_roleString

The ARN of the execution role used to access user resources for Spark sessions and Identity Center enabled workgroups. This property applies only to Spark enabled workgroups and Identity Center enabled workgroups.

Returns:

  • (String)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#publish_cloud_watch_metrics_enabledBoolean

Indicates whether this workgroup enables publishing metrics to Amazon CloudWatch.

Returns:

  • (Boolean)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#query_results_s3_access_grants_configurationTypes::QueryResultsS3AccessGrantsConfiguration

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



5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#remove_bytes_scanned_cutoff_per_queryBoolean

Indicates that the data usage control limit per query is removed. WorkGroupConfiguration$BytesScannedCutoffPerQuery

Returns:

  • (Boolean)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#remove_customer_content_encryption_configurationBoolean

Removes content encryption configuration from an Apache Spark-enabled Athena workgroup.

Returns:

  • (Boolean)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#requester_pays_enabledBoolean

If set to ‘true`, allows members assigned to a workgroup to specify 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*.

[1]: docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html

Returns:

  • (Boolean)


5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#result_configuration_updatesTypes::ResultConfigurationUpdates

The result configuration information about the queries in this workgroup that will be updated. Includes the updated results location and an updated option for encrypting query results.



5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
# File 'lib/aws-sdk-athena/types.rb', line 5095

class WorkGroupConfigurationUpdates < Struct.new(
  :enforce_work_group_configuration,
  :result_configuration_updates,
  :publish_cloud_watch_metrics_enabled,
  :bytes_scanned_cutoff_per_query,
  :remove_bytes_scanned_cutoff_per_query,
  :requester_pays_enabled,
  :engine_version,
  :remove_customer_content_encryption_configuration,
  :additional_configuration,
  :execution_role,
  :customer_content_encryption_configuration,
  :enable_minimum_encryption_configuration,
  :query_results_s3_access_grants_configuration)
  SENSITIVE = []
  include Aws::Structure
end