Skip to main content

CDK Athena WorkGroup

Source Test GitHub Docs

npm package PyPI package NuGet package

Downloads npm PyPI NuGet

AWS CDK L3 construct for managing Athena WorkGroups.

Because I couldn't get @aws-cdk/aws-athena.CfnWorkGroup to work and @aws-cdk/custom-resources.AwsCustomResource has no support for tags.

# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
wg = WorkGroup(self, "WorkGroup",
    name="TheName", # required
    desc="Some description",
    publish_cloud_watch_metrics_enabled=True,
    enforce_work_group_configuration=True,
    requester_pays_enabled=True,
    bytes_scanned_cutoff_per_query=11000000,
    result_configuration={
        "output_location": "s3://some-bucket/prefix",
        "encryption_configuration": {
            "encryption_option": EncryptionOption.SSE_S3
        }
    }
)

cdk.Tag.add(wg, "HelloTag", "ok")

cdk.CfnOutput(self, "WorkGroupArn",
    value=wg.arn
)

cdk.CfnOutput(self, "WorkGroupName",
    value=wg.name
)

Release files for cdk-athena-workgroup 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-athena-workgroup 1.0.0
File Size Uploaded
cdk-athena-workgroup-1.0.0.tar.gz 56.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cdk-athena-workgroup 1.0.0
File Interpreter ABI Platform
cdk_athena_workgroup-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 112.3 kB

Release files / cdk-athena-workgroup-1.0.0.tar.gz

Download URL cdk-athena-workgroup-1.0.0.tar.gz
Size 56.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f5c0d2ea6ad9fd7025dc39bd89ad59d551d0a1ac64bd8d1578ff3da134b76dc1
BLAKE2b-256 checksum
How to use checksums
f17505765a63a7477f65f2b39a8337c1d5455e3f700031dc1c2cca89baf2a27b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release files / cdk_athena_workgroup-1.0.0-py3-none-any.whl

Download URL cdk_athena_workgroup-1.0.0-py3-none-any.whl
Size 55.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4086f958280b32fdcf0748d182a157aec94dd7ad0d8d14e0f793f0e9380f94f2
BLAKE2b-256 checksum
How to use checksums
39edf967d3e17018993e0ebe8c8c0b72157ac67a1d247bbf959a391d855006cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page