athena

package
v0.18.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

Provides an Athena database.

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DatabaseState, opts ...pulumi.ResourceOpt) (*Database, error)

GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOpt) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) Bucket

func (r *Database) Bucket() *pulumi.StringOutput

Name of s3 bucket to save the results of the query execution.

func (*Database) EncryptionConfiguration added in v0.16.1

func (r *Database) EncryptionConfiguration() *pulumi.Output

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.

func (*Database) ForceDestroy

func (r *Database) ForceDestroy() *pulumi.BoolOutput

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.

func (*Database) ID

func (r *Database) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Database) Name

func (r *Database) Name() *pulumi.StringOutput

Name of the database to create.

func (*Database) URN

func (r *Database) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type DatabaseArgs

type DatabaseArgs struct {
	// Name of s3 bucket to save the results of the query execution.
	Bucket interface{}
	// 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.
	EncryptionConfiguration interface{}
	// 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.
	ForceDestroy interface{}
	// Name of the database to create.
	Name interface{}
}

The set of arguments for constructing a Database resource.

type DatabaseState

type DatabaseState struct {
	// Name of s3 bucket to save the results of the query execution.
	Bucket interface{}
	// 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.
	EncryptionConfiguration interface{}
	// 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.
	ForceDestroy interface{}
	// Name of the database to create.
	Name interface{}
}

Input properties used for looking up and filtering Database resources.

type NamedQuery

type NamedQuery struct {
	// contains filtered or unexported fields
}

Provides an Athena Named Query resource.

func GetNamedQuery

func GetNamedQuery(ctx *pulumi.Context,
	name string, id pulumi.ID, state *NamedQueryState, opts ...pulumi.ResourceOpt) (*NamedQuery, error)

GetNamedQuery gets an existing NamedQuery resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNamedQuery

func NewNamedQuery(ctx *pulumi.Context,
	name string, args *NamedQueryArgs, opts ...pulumi.ResourceOpt) (*NamedQuery, error)

NewNamedQuery registers a new resource with the given unique name, arguments, and options.

func (*NamedQuery) Database

func (r *NamedQuery) Database() *pulumi.StringOutput

The database to which the query belongs.

func (*NamedQuery) Description

func (r *NamedQuery) Description() *pulumi.StringOutput

A brief explanation of the query. Maximum length of 1024.

func (*NamedQuery) ID

func (r *NamedQuery) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*NamedQuery) Name

func (r *NamedQuery) Name() *pulumi.StringOutput

The plain language name for the query. Maximum length of 128.

func (*NamedQuery) Query

func (r *NamedQuery) Query() *pulumi.StringOutput

The text of the query itself. In other words, all query statements. Maximum length of 262144.

func (*NamedQuery) URN

func (r *NamedQuery) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type NamedQueryArgs

type NamedQueryArgs struct {
	// The database to which the query belongs.
	Database interface{}
	// A brief explanation of the query. Maximum length of 1024.
	Description interface{}
	// The plain language name for the query. Maximum length of 128.
	Name interface{}
	// The text of the query itself. In other words, all query statements. Maximum length of 262144.
	Query interface{}
}

The set of arguments for constructing a NamedQuery resource.

type NamedQueryState

type NamedQueryState struct {
	// The database to which the query belongs.
	Database interface{}
	// A brief explanation of the query. Maximum length of 1024.
	Description interface{}
	// The plain language name for the query. Maximum length of 128.
	Name interface{}
	// The text of the query itself. In other words, all query statements. Maximum length of 262144.
	Query interface{}
}

Input properties used for looking up and filtering NamedQuery resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL