Skip to main content

CDK Construct for creating Athena WorkGroups

Project description

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
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-athena-workgroup-1.0.0.tar.gz (56.8 kB view details)

Uploaded Source

Built Distribution

cdk_athena_workgroup-1.0.0-py3-none-any.whl (55.5 kB view details)

Uploaded Python 3

File details

Details for the file cdk-athena-workgroup-1.0.0.tar.gz.

File metadata

  • Download URL: cdk-athena-workgroup-1.0.0.tar.gz
  • Upload date:
  • Size: 56.8 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for cdk-athena-workgroup-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5c0d2ea6ad9fd7025dc39bd89ad59d551d0a1ac64bd8d1578ff3da134b76dc1
MD5 55aa2f1a7acb4d29f1c2c26563ba0b93
BLAKE2b-256 f17505765a63a7477f65f2b39a8337c1d5455e3f700031dc1c2cca89baf2a27b

See more details on using hashes here.

File details

Details for the file cdk_athena_workgroup-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cdk_athena_workgroup-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 55.5 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for cdk_athena_workgroup-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4086f958280b32fdcf0748d182a157aec94dd7ad0d8d14e0f793f0e9380f94f2
MD5 6117d8458b029f6cb1fc91066e33b444
BLAKE2b-256 39edf967d3e17018993e0ebe8c8c0b72157ac67a1d247bbf959a391d855006cb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page