athena¶
-
class
pulumi_aws.athena.
Database
(resource_name, opts=None, bucket=None, encryption_configuration=None, force_destroy=None, name=None, __name__=None, __opts__=None)¶ Provides an Athena database.
Parameters: - resource_name (str) – The name of the resource.
- opts (pulumi.ResourceOptions) – Options for the resource.
- bucket (pulumi.Input[str]) – Name of s3 bucket to save the results of the query execution.
- encryption_configuration (pulumi.Input[dict]) – The encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. An
encryption_configuration
block is documented below. - force_destroy (pulumi.Input[bool]) – A boolean that indicates all tables should be deleted from the database so that the database can be destroyed without error. The tables are not recoverable.
- name (pulumi.Input[str]) – Name of the database to create.
-
bucket
= None¶ Name of s3 bucket to save the results of the query execution.
-
encryption_configuration
= None¶ The encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. An
encryption_configuration
block is documented below.
-
force_destroy
= None¶ A boolean that indicates all tables should be deleted from the database so that the database can be destroyed without error. The tables are not recoverable.
-
name
= None¶ Name of the database to create.
-
translate_output_property
(prop)¶ Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
Parameters: prop (str) – A property name. Returns: A potentially transformed property name. Return type: str
-
translate_input_property
(prop)¶ Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
Parameters: prop (str) – A property name. Returns: A potentially transformed property name. Return type: str
-
class
pulumi_aws.athena.
NamedQuery
(resource_name, opts=None, database=None, description=None, name=None, query=None, __name__=None, __opts__=None)¶ Provides an Athena Named Query resource.
Parameters: - resource_name (str) – The name of the resource.
- opts (pulumi.ResourceOptions) – Options for the resource.
- database (pulumi.Input[str]) – The database to which the query belongs.
- description (pulumi.Input[str]) – A brief explanation of the query. Maximum length of 1024.
- name (pulumi.Input[str]) – The plain language name for the query. Maximum length of 128.
- query (pulumi.Input[str]) – The text of the query itself. In other words, all query statements. Maximum length of 262144.
-
database
= None¶ The database to which the query belongs.
-
description
= None¶ A brief explanation of the query. Maximum length of 1024.
-
name
= None¶ The plain language name for the query. Maximum length of 128.
-
query
= None¶ The text of the query itself. In other words, all query statements. Maximum length of 262144.
-
translate_output_property
(prop)¶ Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
Parameters: prop (str) – A property name. Returns: A potentially transformed property name. Return type: str
-
translate_input_property
(prop)¶ Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
Parameters: prop (str) – A property name. Returns: A potentially transformed property name. Return type: str