CfnWorkGroupMixinProps
- class aws_cdk.mixins_preview.aws_athena.mixins.CfnWorkGroupMixinProps(*, description=None, name=None, recursive_delete_option=None, state=None, tags=None, work_group_configuration=None, work_group_configuration_updates=None)
Bases:
objectProperties for CfnWorkGroupPropsMixin.
- Parameters:
description (
Optional[str]) – The workgroup description.name (
Optional[str]) – The workgroup name.recursive_delete_option (
Union[bool,IResolvable,None]) – The option to delete a workgroup and its contents even if the workgroup contains any named queries. The default is false.state (
Optional[str]) – The state of the workgroup: ENABLED or DISABLED.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags (key-value pairs) to associate with this resource.work_group_configuration (
Union[IResolvable,WorkGroupConfigurationProperty,Dict[str,Any],None]) – 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. TheEnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.work_group_configuration_updates (
Union[IResolvable,WorkGroupConfigurationUpdatesProperty,Dict[str,Any],None]) – (deprecated) The 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.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_athena import mixins as athena_mixins cfn_work_group_mixin_props = athena_mixins.CfnWorkGroupMixinProps( description="description", name="name", recursive_delete_option=False, state="state", tags=[CfnTag( key="key", value="value" )], work_group_configuration=athena_mixins.CfnWorkGroupPropsMixin.WorkGroupConfigurationProperty( additional_configuration="additionalConfiguration", bytes_scanned_cutoff_per_query=123, customer_content_encryption_configuration=athena_mixins.CfnWorkGroupPropsMixin.CustomerContentEncryptionConfigurationProperty( kms_key="kmsKey" ), enforce_work_group_configuration=False, engine_configuration=athena_mixins.CfnWorkGroupPropsMixin.EngineConfigurationProperty( additional_configs={ "additional_configs_key": "additionalConfigs" }, classifications=[athena_mixins.CfnWorkGroupPropsMixin.ClassificationProperty( name="name", properties={ "properties_key": "properties" } )], coordinator_dpu_size=123, default_executor_dpu_size=123, max_concurrent_dpus=123, spark_properties={ "spark_properties_key": "sparkProperties" } ), engine_version=athena_mixins.CfnWorkGroupPropsMixin.EngineVersionProperty( effective_engine_version="effectiveEngineVersion", selected_engine_version="selectedEngineVersion" ), execution_role="executionRole", managed_query_results_configuration=athena_mixins.CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty( enabled=False, encryption_configuration=athena_mixins.CfnWorkGroupPropsMixin.ManagedStorageEncryptionConfigurationProperty( kms_key="kmsKey" ) ), monitoring_configuration=athena_mixins.CfnWorkGroupPropsMixin.MonitoringConfigurationProperty( cloud_watch_logging_configuration=athena_mixins.CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty( enabled=False, log_group="logGroup", log_stream_name_prefix="logStreamNamePrefix", log_types={ "log_types_key": ["logTypes"] } ), managed_logging_configuration=athena_mixins.CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty( enabled=False, kms_key="kmsKey" ), s3_logging_configuration=athena_mixins.CfnWorkGroupPropsMixin.S3LoggingConfigurationProperty( enabled=False, kms_key="kmsKey", log_location="logLocation" ) ), publish_cloud_watch_metrics_enabled=False, requester_pays_enabled=False, result_configuration=athena_mixins.CfnWorkGroupPropsMixin.ResultConfigurationProperty( acl_configuration=athena_mixins.CfnWorkGroupPropsMixin.AclConfigurationProperty( s3_acl_option="s3AclOption" ), encryption_configuration=athena_mixins.CfnWorkGroupPropsMixin.EncryptionConfigurationProperty( encryption_option="encryptionOption", kms_key="kmsKey" ), expected_bucket_owner="expectedBucketOwner", output_location="outputLocation" ) ), work_group_configuration_updates=athena_mixins.CfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty( additional_configuration="additionalConfiguration", bytes_scanned_cutoff_per_query=123, customer_content_encryption_configuration=athena_mixins.CfnWorkGroupPropsMixin.CustomerContentEncryptionConfigurationProperty( kms_key="kmsKey" ), enforce_work_group_configuration=False, engine_configuration=athena_mixins.CfnWorkGroupPropsMixin.EngineConfigurationProperty( additional_configs={ "additional_configs_key": "additionalConfigs" }, classifications=[athena_mixins.CfnWorkGroupPropsMixin.ClassificationProperty( name="name", properties={ "properties_key": "properties" } )], coordinator_dpu_size=123, default_executor_dpu_size=123, max_concurrent_dpus=123, spark_properties={ "spark_properties_key": "sparkProperties" } ), engine_version=athena_mixins.CfnWorkGroupPropsMixin.EngineVersionProperty( effective_engine_version="effectiveEngineVersion", selected_engine_version="selectedEngineVersion" ), execution_role="executionRole", managed_query_results_configuration=athena_mixins.CfnWorkGroupPropsMixin.ManagedQueryResultsConfigurationProperty( enabled=False, encryption_configuration=athena_mixins.CfnWorkGroupPropsMixin.ManagedStorageEncryptionConfigurationProperty( kms_key="kmsKey" ) ), monitoring_configuration=athena_mixins.CfnWorkGroupPropsMixin.MonitoringConfigurationProperty( cloud_watch_logging_configuration=athena_mixins.CfnWorkGroupPropsMixin.CloudWatchLoggingConfigurationProperty( enabled=False, log_group="logGroup", log_stream_name_prefix="logStreamNamePrefix", log_types={ "log_types_key": ["logTypes"] } ), managed_logging_configuration=athena_mixins.CfnWorkGroupPropsMixin.ManagedLoggingConfigurationProperty( enabled=False, kms_key="kmsKey" ), s3_logging_configuration=athena_mixins.CfnWorkGroupPropsMixin.S3LoggingConfigurationProperty( enabled=False, kms_key="kmsKey", log_location="logLocation" ) ), publish_cloud_watch_metrics_enabled=False, remove_bytes_scanned_cutoff_per_query=False, remove_customer_content_encryption_configuration=False, requester_pays_enabled=False, result_configuration_updates=athena_mixins.CfnWorkGroupPropsMixin.ResultConfigurationUpdatesProperty( acl_configuration=athena_mixins.CfnWorkGroupPropsMixin.AclConfigurationProperty( s3_acl_option="s3AclOption" ), encryption_configuration=athena_mixins.CfnWorkGroupPropsMixin.EncryptionConfigurationProperty( encryption_option="encryptionOption", kms_key="kmsKey" ), expected_bucket_owner="expectedBucketOwner", output_location="outputLocation", remove_acl_configuration=False, remove_encryption_configuration=False, remove_expected_bucket_owner=False, remove_output_location=False ) ) )
Attributes
- description
The workgroup description.
- name
The workgroup name.
- recursive_delete_option
The option to delete a workgroup and its contents even if the workgroup contains any named queries.
The default is false.
- state
ENABLED or DISABLED.
- See:
- Type:
The state of the workgroup
- tags
The tags (key-value pairs) to associate with this resource.
- work_group_configuration
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
EnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.
- work_group_configuration_updates
(deprecated) The 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
- See:
- Stability:
deprecated