CDK Construct for creating Athena WorkGroups
Project description
CDK Athena WorkGroup
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for cdk-athena-workgroup-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5c0d2ea6ad9fd7025dc39bd89ad59d551d0a1ac64bd8d1578ff3da134b76dc1 |
|
MD5 | 55aa2f1a7acb4d29f1c2c26563ba0b93 |
|
BLAKE2b-256 | f17505765a63a7477f65f2b39a8337c1d5455e3f700031dc1c2cca89baf2a27b |
Close
Hashes for cdk_athena_workgroup-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4086f958280b32fdcf0748d182a157aec94dd7ad0d8d14e0f793f0e9380f94f2 |
|
MD5 | 6117d8458b029f6cb1fc91066e33b444 |
|
BLAKE2b-256 | 39edf967d3e17018993e0ebe8c8c0b72157ac67a1d247bbf959a391d855006cb |