Documentation ¶
Index ¶
- type Database
- func (*Database) ElementType() reflect.Type
- func (i *Database) ToDatabaseOutput() DatabaseOutput
- func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (i *Database) ToDatabasePtrOutput() DatabasePtrOutput
- func (i *Database) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseEncryptionConfiguration
- type DatabaseEncryptionConfigurationArgs
- func (DatabaseEncryptionConfigurationArgs) ElementType() reflect.Type
- func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationOutput() DatabaseEncryptionConfigurationOutput
- func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationOutput
- func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput
- func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationPtrOutput
- type DatabaseEncryptionConfigurationInput
- type DatabaseEncryptionConfigurationOutput
- func (DatabaseEncryptionConfigurationOutput) ElementType() reflect.Type
- func (o DatabaseEncryptionConfigurationOutput) EncryptionOption() pulumi.StringOutput
- func (o DatabaseEncryptionConfigurationOutput) KmsKey() pulumi.StringPtrOutput
- func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationOutput() DatabaseEncryptionConfigurationOutput
- func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationOutput
- func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput
- func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationPtrOutput
- type DatabaseEncryptionConfigurationPtrInput
- type DatabaseEncryptionConfigurationPtrOutput
- func (o DatabaseEncryptionConfigurationPtrOutput) Elem() DatabaseEncryptionConfigurationOutput
- func (DatabaseEncryptionConfigurationPtrOutput) ElementType() reflect.Type
- func (o DatabaseEncryptionConfigurationPtrOutput) EncryptionOption() pulumi.StringPtrOutput
- func (o DatabaseEncryptionConfigurationPtrOutput) KmsKey() pulumi.StringPtrOutput
- func (o DatabaseEncryptionConfigurationPtrOutput) ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput
- func (o DatabaseEncryptionConfigurationPtrOutput) ToDatabaseEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationPtrOutput
- type DatabaseInput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- func (DatabaseOutput) ElementType() reflect.Type
- func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
- func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (o DatabaseOutput) ToDatabasePtrOutput() DatabasePtrOutput
- func (o DatabaseOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
- type DatabasePtrInput
- type DatabasePtrOutput
- type DatabaseState
- type NamedQuery
- func (*NamedQuery) ElementType() reflect.Type
- func (i *NamedQuery) ToNamedQueryOutput() NamedQueryOutput
- func (i *NamedQuery) ToNamedQueryOutputWithContext(ctx context.Context) NamedQueryOutput
- func (i *NamedQuery) ToNamedQueryPtrOutput() NamedQueryPtrOutput
- func (i *NamedQuery) ToNamedQueryPtrOutputWithContext(ctx context.Context) NamedQueryPtrOutput
- type NamedQueryArgs
- type NamedQueryArray
- type NamedQueryArrayInput
- type NamedQueryArrayOutput
- func (NamedQueryArrayOutput) ElementType() reflect.Type
- func (o NamedQueryArrayOutput) Index(i pulumi.IntInput) NamedQueryOutput
- func (o NamedQueryArrayOutput) ToNamedQueryArrayOutput() NamedQueryArrayOutput
- func (o NamedQueryArrayOutput) ToNamedQueryArrayOutputWithContext(ctx context.Context) NamedQueryArrayOutput
- type NamedQueryInput
- type NamedQueryMap
- type NamedQueryMapInput
- type NamedQueryMapOutput
- func (NamedQueryMapOutput) ElementType() reflect.Type
- func (o NamedQueryMapOutput) MapIndex(k pulumi.StringInput) NamedQueryOutput
- func (o NamedQueryMapOutput) ToNamedQueryMapOutput() NamedQueryMapOutput
- func (o NamedQueryMapOutput) ToNamedQueryMapOutputWithContext(ctx context.Context) NamedQueryMapOutput
- type NamedQueryOutput
- func (NamedQueryOutput) ElementType() reflect.Type
- func (o NamedQueryOutput) ToNamedQueryOutput() NamedQueryOutput
- func (o NamedQueryOutput) ToNamedQueryOutputWithContext(ctx context.Context) NamedQueryOutput
- func (o NamedQueryOutput) ToNamedQueryPtrOutput() NamedQueryPtrOutput
- func (o NamedQueryOutput) ToNamedQueryPtrOutputWithContext(ctx context.Context) NamedQueryPtrOutput
- type NamedQueryPtrInput
- type NamedQueryPtrOutput
- type NamedQueryState
- type Workgroup
- func (*Workgroup) ElementType() reflect.Type
- func (i *Workgroup) ToWorkgroupOutput() WorkgroupOutput
- func (i *Workgroup) ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput
- func (i *Workgroup) ToWorkgroupPtrOutput() WorkgroupPtrOutput
- func (i *Workgroup) ToWorkgroupPtrOutputWithContext(ctx context.Context) WorkgroupPtrOutput
- type WorkgroupArgs
- type WorkgroupArray
- type WorkgroupArrayInput
- type WorkgroupArrayOutput
- func (WorkgroupArrayOutput) ElementType() reflect.Type
- func (o WorkgroupArrayOutput) Index(i pulumi.IntInput) WorkgroupOutput
- func (o WorkgroupArrayOutput) ToWorkgroupArrayOutput() WorkgroupArrayOutput
- func (o WorkgroupArrayOutput) ToWorkgroupArrayOutputWithContext(ctx context.Context) WorkgroupArrayOutput
- type WorkgroupConfiguration
- type WorkgroupConfigurationArgs
- func (WorkgroupConfigurationArgs) ElementType() reflect.Type
- func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationOutput() WorkgroupConfigurationOutput
- func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationOutput
- func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput
- func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationPtrOutput
- type WorkgroupConfigurationInput
- type WorkgroupConfigurationOutput
- func (o WorkgroupConfigurationOutput) BytesScannedCutoffPerQuery() pulumi.IntPtrOutput
- func (WorkgroupConfigurationOutput) ElementType() reflect.Type
- func (o WorkgroupConfigurationOutput) EnforceWorkgroupConfiguration() pulumi.BoolPtrOutput
- func (o WorkgroupConfigurationOutput) PublishCloudwatchMetricsEnabled() pulumi.BoolPtrOutput
- func (o WorkgroupConfigurationOutput) RequesterPaysEnabled() pulumi.BoolPtrOutput
- func (o WorkgroupConfigurationOutput) ResultConfiguration() WorkgroupConfigurationResultConfigurationPtrOutput
- func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationOutput() WorkgroupConfigurationOutput
- func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationOutput
- func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput
- func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationPtrOutput
- type WorkgroupConfigurationPtrInput
- type WorkgroupConfigurationPtrOutput
- func (o WorkgroupConfigurationPtrOutput) BytesScannedCutoffPerQuery() pulumi.IntPtrOutput
- func (o WorkgroupConfigurationPtrOutput) Elem() WorkgroupConfigurationOutput
- func (WorkgroupConfigurationPtrOutput) ElementType() reflect.Type
- func (o WorkgroupConfigurationPtrOutput) EnforceWorkgroupConfiguration() pulumi.BoolPtrOutput
- func (o WorkgroupConfigurationPtrOutput) PublishCloudwatchMetricsEnabled() pulumi.BoolPtrOutput
- func (o WorkgroupConfigurationPtrOutput) RequesterPaysEnabled() pulumi.BoolPtrOutput
- func (o WorkgroupConfigurationPtrOutput) ResultConfiguration() WorkgroupConfigurationResultConfigurationPtrOutput
- func (o WorkgroupConfigurationPtrOutput) ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput
- func (o WorkgroupConfigurationPtrOutput) ToWorkgroupConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationPtrOutput
- type WorkgroupConfigurationResultConfiguration
- type WorkgroupConfigurationResultConfigurationArgs
- func (WorkgroupConfigurationResultConfigurationArgs) ElementType() reflect.Type
- func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationOutput() WorkgroupConfigurationResultConfigurationOutput
- func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationOutput
- func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput
- func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationPtrOutput
- type WorkgroupConfigurationResultConfigurationEncryptionConfiguration
- type WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs
- func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ElementType() reflect.Type
- func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
- func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
- func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- type WorkgroupConfigurationResultConfigurationEncryptionConfigurationInput
- type WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
- func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ElementType() reflect.Type
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) EncryptionOption() pulumi.StringPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- type WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput
- type WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) Elem() WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
- func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ElementType() reflect.Type
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) EncryptionOption() pulumi.StringPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- type WorkgroupConfigurationResultConfigurationInput
- type WorkgroupConfigurationResultConfigurationOutput
- func (WorkgroupConfigurationResultConfigurationOutput) ElementType() reflect.Type
- func (o WorkgroupConfigurationResultConfigurationOutput) EncryptionConfiguration() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationOutput) OutputLocation() pulumi.StringPtrOutput
- func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationOutput() WorkgroupConfigurationResultConfigurationOutput
- func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationOutput
- func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationPtrOutput
- type WorkgroupConfigurationResultConfigurationPtrInput
- type WorkgroupConfigurationResultConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationPtrOutput) Elem() WorkgroupConfigurationResultConfigurationOutput
- func (WorkgroupConfigurationResultConfigurationPtrOutput) ElementType() reflect.Type
- func (o WorkgroupConfigurationResultConfigurationPtrOutput) EncryptionConfiguration() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationPtrOutput) OutputLocation() pulumi.StringPtrOutput
- func (o WorkgroupConfigurationResultConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput
- func (o WorkgroupConfigurationResultConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationPtrOutput
- type WorkgroupInput
- type WorkgroupMap
- type WorkgroupMapInput
- type WorkgroupMapOutput
- type WorkgroupOutput
- func (WorkgroupOutput) ElementType() reflect.Type
- func (o WorkgroupOutput) ToWorkgroupOutput() WorkgroupOutput
- func (o WorkgroupOutput) ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput
- func (o WorkgroupOutput) ToWorkgroupPtrOutput() WorkgroupPtrOutput
- func (o WorkgroupOutput) ToWorkgroupPtrOutputWithContext(ctx context.Context) WorkgroupPtrOutput
- type WorkgroupPtrInput
- type WorkgroupPtrOutput
- type WorkgroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct { pulumi.CustomResourceState // Name of s3 bucket to save the results of the query execution. Bucket pulumi.StringOutput `pulumi:"bucket"` // The encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. An `encryptionConfiguration` block is documented below. EncryptionConfiguration DatabaseEncryptionConfigurationPtrOutput `pulumi:"encryptionConfiguration"` // 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 pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // Name of the database to create. Name pulumi.StringOutput `pulumi:"name"` }
Provides an Athena database.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/athena" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { hogeBucket, err := s3.NewBucket(ctx, "hogeBucket", nil) if err != nil { return err } _, err = athena.NewDatabase(ctx, "hogeDatabase", &athena.DatabaseArgs{ Name: pulumi.String("database_name"), Bucket: hogeBucket.Bucket, }) if err != nil { return err } return nil }) }
```
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) ElementType ¶
func (*Database) ToDatabaseOutput ¶
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (*Database) ToDatabasePtrOutput ¶
func (i *Database) ToDatabasePtrOutput() DatabasePtrOutput
func (*Database) ToDatabasePtrOutputWithContext ¶
func (i *Database) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabaseArgs ¶
type DatabaseArgs struct { // Name of s3 bucket to save the results of the query execution. Bucket pulumi.StringInput // The encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. An `encryptionConfiguration` block is documented below. EncryptionConfiguration DatabaseEncryptionConfigurationPtrInput // 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 pulumi.BoolPtrInput // Name of the database to create. Name pulumi.StringPtrInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseArray ¶
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶
type DatabaseArrayInput interface { pulumi.Input ToDatabaseArrayOutput() DatabaseArrayOutput ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput }
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:
DatabaseArray{ DatabaseArgs{...} }
type DatabaseArrayOutput ¶
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseEncryptionConfigurationArgs ¶
type DatabaseEncryptionConfigurationArgs struct { // The type of key; one of `SSE_S3`, `SSE_KMS`, `CSE_KMS` EncryptionOption pulumi.StringInput `pulumi:"encryptionOption"` // The KMS key ARN or ID; required for key types `SSE_KMS` and `CSE_KMS`. KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` }
func (DatabaseEncryptionConfigurationArgs) ElementType ¶
func (DatabaseEncryptionConfigurationArgs) ElementType() reflect.Type
func (DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationOutput ¶
func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationOutput() DatabaseEncryptionConfigurationOutput
func (DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationOutputWithContext ¶
func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationOutput
func (DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationPtrOutput ¶
func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput
func (DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationPtrOutputWithContext ¶
func (i DatabaseEncryptionConfigurationArgs) ToDatabaseEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationPtrOutput
type DatabaseEncryptionConfigurationInput ¶
type DatabaseEncryptionConfigurationInput interface { pulumi.Input ToDatabaseEncryptionConfigurationOutput() DatabaseEncryptionConfigurationOutput ToDatabaseEncryptionConfigurationOutputWithContext(context.Context) DatabaseEncryptionConfigurationOutput }
DatabaseEncryptionConfigurationInput is an input type that accepts DatabaseEncryptionConfigurationArgs and DatabaseEncryptionConfigurationOutput values. You can construct a concrete instance of `DatabaseEncryptionConfigurationInput` via:
DatabaseEncryptionConfigurationArgs{...}
type DatabaseEncryptionConfigurationOutput ¶
type DatabaseEncryptionConfigurationOutput struct{ *pulumi.OutputState }
func (DatabaseEncryptionConfigurationOutput) ElementType ¶
func (DatabaseEncryptionConfigurationOutput) ElementType() reflect.Type
func (DatabaseEncryptionConfigurationOutput) EncryptionOption ¶
func (o DatabaseEncryptionConfigurationOutput) EncryptionOption() pulumi.StringOutput
The type of key; one of `SSE_S3`, `SSE_KMS`, `CSE_KMS`
func (DatabaseEncryptionConfigurationOutput) KmsKey ¶
func (o DatabaseEncryptionConfigurationOutput) KmsKey() pulumi.StringPtrOutput
The KMS key ARN or ID; required for key types `SSE_KMS` and `CSE_KMS`.
func (DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationOutput ¶
func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationOutput() DatabaseEncryptionConfigurationOutput
func (DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationOutputWithContext ¶
func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationOutput
func (DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationPtrOutput ¶
func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput
func (DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationPtrOutputWithContext ¶
func (o DatabaseEncryptionConfigurationOutput) ToDatabaseEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationPtrOutput
type DatabaseEncryptionConfigurationPtrInput ¶
type DatabaseEncryptionConfigurationPtrInput interface { pulumi.Input ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput ToDatabaseEncryptionConfigurationPtrOutputWithContext(context.Context) DatabaseEncryptionConfigurationPtrOutput }
DatabaseEncryptionConfigurationPtrInput is an input type that accepts DatabaseEncryptionConfigurationArgs, DatabaseEncryptionConfigurationPtr and DatabaseEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseEncryptionConfigurationPtrInput` via:
DatabaseEncryptionConfigurationArgs{...} or: nil
func DatabaseEncryptionConfigurationPtr ¶
func DatabaseEncryptionConfigurationPtr(v *DatabaseEncryptionConfigurationArgs) DatabaseEncryptionConfigurationPtrInput
type DatabaseEncryptionConfigurationPtrOutput ¶
type DatabaseEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }
func (DatabaseEncryptionConfigurationPtrOutput) ElementType ¶
func (DatabaseEncryptionConfigurationPtrOutput) ElementType() reflect.Type
func (DatabaseEncryptionConfigurationPtrOutput) EncryptionOption ¶
func (o DatabaseEncryptionConfigurationPtrOutput) EncryptionOption() pulumi.StringPtrOutput
The type of key; one of `SSE_S3`, `SSE_KMS`, `CSE_KMS`
func (DatabaseEncryptionConfigurationPtrOutput) KmsKey ¶
func (o DatabaseEncryptionConfigurationPtrOutput) KmsKey() pulumi.StringPtrOutput
The KMS key ARN or ID; required for key types `SSE_KMS` and `CSE_KMS`.
func (DatabaseEncryptionConfigurationPtrOutput) ToDatabaseEncryptionConfigurationPtrOutput ¶
func (o DatabaseEncryptionConfigurationPtrOutput) ToDatabaseEncryptionConfigurationPtrOutput() DatabaseEncryptionConfigurationPtrOutput
func (DatabaseEncryptionConfigurationPtrOutput) ToDatabaseEncryptionConfigurationPtrOutputWithContext ¶
func (o DatabaseEncryptionConfigurationPtrOutput) ToDatabaseEncryptionConfigurationPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigurationPtrOutput
type DatabaseInput ¶
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseMap ¶
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶
type DatabaseMapInput interface { pulumi.Input ToDatabaseMapOutput() DatabaseMapOutput ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput }
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:
DatabaseMap{ "key": DatabaseArgs{...} }
type DatabaseMapOutput ¶
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶
type DatabaseOutput struct{ *pulumi.OutputState }
func (DatabaseOutput) ElementType ¶
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) ToDatabaseOutput ¶
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (DatabaseOutput) ToDatabasePtrOutput ¶
func (o DatabaseOutput) ToDatabasePtrOutput() DatabasePtrOutput
func (DatabaseOutput) ToDatabasePtrOutputWithContext ¶
func (o DatabaseOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabasePtrInput ¶
type DatabasePtrInput interface { pulumi.Input ToDatabasePtrOutput() DatabasePtrOutput ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput }
type DatabasePtrOutput ¶
type DatabasePtrOutput struct{ *pulumi.OutputState }
func (DatabasePtrOutput) Elem ¶ added in v4.15.0
func (o DatabasePtrOutput) Elem() DatabaseOutput
func (DatabasePtrOutput) ElementType ¶
func (DatabasePtrOutput) ElementType() reflect.Type
func (DatabasePtrOutput) ToDatabasePtrOutput ¶
func (o DatabasePtrOutput) ToDatabasePtrOutput() DatabasePtrOutput
func (DatabasePtrOutput) ToDatabasePtrOutputWithContext ¶
func (o DatabasePtrOutput) ToDatabasePtrOutputWithContext(ctx context.Context) DatabasePtrOutput
type DatabaseState ¶
type DatabaseState struct { // Name of s3 bucket to save the results of the query execution. Bucket pulumi.StringPtrInput // The encryption key block AWS Athena uses to decrypt the data in S3, such as an AWS Key Management Service (AWS KMS) key. An `encryptionConfiguration` block is documented below. EncryptionConfiguration DatabaseEncryptionConfigurationPtrInput // 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 pulumi.BoolPtrInput // Name of the database to create. Name pulumi.StringPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type NamedQuery ¶
type NamedQuery struct { pulumi.CustomResourceState // The database to which the query belongs. Database pulumi.StringOutput `pulumi:"database"` // A brief explanation of the query. Maximum length of 1024. Description pulumi.StringPtrOutput `pulumi:"description"` // The plain language name for the query. Maximum length of 128. Name pulumi.StringOutput `pulumi:"name"` // The text of the query itself. In other words, all query statements. Maximum length of 262144. Query pulumi.StringOutput `pulumi:"query"` // The workgroup to which the query belongs. Defaults to `primary` Workgroup pulumi.StringPtrOutput `pulumi:"workgroup"` }
Provides an Athena Named Query resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/athena" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/kms" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { hogeBucket, err := s3.NewBucket(ctx, "hogeBucket", nil) if err != nil { return err } testKey, err := kms.NewKey(ctx, "testKey", &kms.KeyArgs{ DeletionWindowInDays: pulumi.Int(7), Description: pulumi.String("Athena KMS Key"), }) if err != nil { return err } testWorkgroup, err := athena.NewWorkgroup(ctx, "testWorkgroup", &athena.WorkgroupArgs{ Configuration: &athena.WorkgroupConfigurationArgs{ ResultConfiguration: &athena.WorkgroupConfigurationResultConfigurationArgs{ EncryptionConfiguration: &athena.WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs{ EncryptionOption: pulumi.String("SSE_KMS"), KmsKeyArn: testKey.Arn, }, }, }, }) if err != nil { return err } hogeDatabase, err := athena.NewDatabase(ctx, "hogeDatabase", &athena.DatabaseArgs{ Name: pulumi.String("users"), Bucket: hogeBucket.ID(), }) if err != nil { return err } _, err = athena.NewNamedQuery(ctx, "foo", &athena.NamedQueryArgs{ Workgroup: testWorkgroup.ID(), Database: hogeDatabase.Name, Query: hogeDatabase.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("%v%v%v", "SELECT * FROM ", name, " limit 10;"), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
Athena Named Query can be imported using the query ID, e.g.
```sh
$ pulumi import aws:athena/namedQuery:NamedQuery example 0123456789
```
func GetNamedQuery ¶
func GetNamedQuery(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamedQueryState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*NamedQuery, error)
NewNamedQuery registers a new resource with the given unique name, arguments, and options.
func (*NamedQuery) ElementType ¶
func (*NamedQuery) ElementType() reflect.Type
func (*NamedQuery) ToNamedQueryOutput ¶
func (i *NamedQuery) ToNamedQueryOutput() NamedQueryOutput
func (*NamedQuery) ToNamedQueryOutputWithContext ¶
func (i *NamedQuery) ToNamedQueryOutputWithContext(ctx context.Context) NamedQueryOutput
func (*NamedQuery) ToNamedQueryPtrOutput ¶
func (i *NamedQuery) ToNamedQueryPtrOutput() NamedQueryPtrOutput
func (*NamedQuery) ToNamedQueryPtrOutputWithContext ¶
func (i *NamedQuery) ToNamedQueryPtrOutputWithContext(ctx context.Context) NamedQueryPtrOutput
type NamedQueryArgs ¶
type NamedQueryArgs struct { // The database to which the query belongs. Database pulumi.StringInput // A brief explanation of the query. Maximum length of 1024. Description pulumi.StringPtrInput // The plain language name for the query. Maximum length of 128. Name pulumi.StringPtrInput // The text of the query itself. In other words, all query statements. Maximum length of 262144. Query pulumi.StringInput // The workgroup to which the query belongs. Defaults to `primary` Workgroup pulumi.StringPtrInput }
The set of arguments for constructing a NamedQuery resource.
func (NamedQueryArgs) ElementType ¶
func (NamedQueryArgs) ElementType() reflect.Type
type NamedQueryArray ¶
type NamedQueryArray []NamedQueryInput
func (NamedQueryArray) ElementType ¶
func (NamedQueryArray) ElementType() reflect.Type
func (NamedQueryArray) ToNamedQueryArrayOutput ¶
func (i NamedQueryArray) ToNamedQueryArrayOutput() NamedQueryArrayOutput
func (NamedQueryArray) ToNamedQueryArrayOutputWithContext ¶
func (i NamedQueryArray) ToNamedQueryArrayOutputWithContext(ctx context.Context) NamedQueryArrayOutput
type NamedQueryArrayInput ¶
type NamedQueryArrayInput interface { pulumi.Input ToNamedQueryArrayOutput() NamedQueryArrayOutput ToNamedQueryArrayOutputWithContext(context.Context) NamedQueryArrayOutput }
NamedQueryArrayInput is an input type that accepts NamedQueryArray and NamedQueryArrayOutput values. You can construct a concrete instance of `NamedQueryArrayInput` via:
NamedQueryArray{ NamedQueryArgs{...} }
type NamedQueryArrayOutput ¶
type NamedQueryArrayOutput struct{ *pulumi.OutputState }
func (NamedQueryArrayOutput) ElementType ¶
func (NamedQueryArrayOutput) ElementType() reflect.Type
func (NamedQueryArrayOutput) Index ¶
func (o NamedQueryArrayOutput) Index(i pulumi.IntInput) NamedQueryOutput
func (NamedQueryArrayOutput) ToNamedQueryArrayOutput ¶
func (o NamedQueryArrayOutput) ToNamedQueryArrayOutput() NamedQueryArrayOutput
func (NamedQueryArrayOutput) ToNamedQueryArrayOutputWithContext ¶
func (o NamedQueryArrayOutput) ToNamedQueryArrayOutputWithContext(ctx context.Context) NamedQueryArrayOutput
type NamedQueryInput ¶
type NamedQueryInput interface { pulumi.Input ToNamedQueryOutput() NamedQueryOutput ToNamedQueryOutputWithContext(ctx context.Context) NamedQueryOutput }
type NamedQueryMap ¶
type NamedQueryMap map[string]NamedQueryInput
func (NamedQueryMap) ElementType ¶
func (NamedQueryMap) ElementType() reflect.Type
func (NamedQueryMap) ToNamedQueryMapOutput ¶
func (i NamedQueryMap) ToNamedQueryMapOutput() NamedQueryMapOutput
func (NamedQueryMap) ToNamedQueryMapOutputWithContext ¶
func (i NamedQueryMap) ToNamedQueryMapOutputWithContext(ctx context.Context) NamedQueryMapOutput
type NamedQueryMapInput ¶
type NamedQueryMapInput interface { pulumi.Input ToNamedQueryMapOutput() NamedQueryMapOutput ToNamedQueryMapOutputWithContext(context.Context) NamedQueryMapOutput }
NamedQueryMapInput is an input type that accepts NamedQueryMap and NamedQueryMapOutput values. You can construct a concrete instance of `NamedQueryMapInput` via:
NamedQueryMap{ "key": NamedQueryArgs{...} }
type NamedQueryMapOutput ¶
type NamedQueryMapOutput struct{ *pulumi.OutputState }
func (NamedQueryMapOutput) ElementType ¶
func (NamedQueryMapOutput) ElementType() reflect.Type
func (NamedQueryMapOutput) MapIndex ¶
func (o NamedQueryMapOutput) MapIndex(k pulumi.StringInput) NamedQueryOutput
func (NamedQueryMapOutput) ToNamedQueryMapOutput ¶
func (o NamedQueryMapOutput) ToNamedQueryMapOutput() NamedQueryMapOutput
func (NamedQueryMapOutput) ToNamedQueryMapOutputWithContext ¶
func (o NamedQueryMapOutput) ToNamedQueryMapOutputWithContext(ctx context.Context) NamedQueryMapOutput
type NamedQueryOutput ¶
type NamedQueryOutput struct{ *pulumi.OutputState }
func (NamedQueryOutput) ElementType ¶
func (NamedQueryOutput) ElementType() reflect.Type
func (NamedQueryOutput) ToNamedQueryOutput ¶
func (o NamedQueryOutput) ToNamedQueryOutput() NamedQueryOutput
func (NamedQueryOutput) ToNamedQueryOutputWithContext ¶
func (o NamedQueryOutput) ToNamedQueryOutputWithContext(ctx context.Context) NamedQueryOutput
func (NamedQueryOutput) ToNamedQueryPtrOutput ¶
func (o NamedQueryOutput) ToNamedQueryPtrOutput() NamedQueryPtrOutput
func (NamedQueryOutput) ToNamedQueryPtrOutputWithContext ¶
func (o NamedQueryOutput) ToNamedQueryPtrOutputWithContext(ctx context.Context) NamedQueryPtrOutput
type NamedQueryPtrInput ¶
type NamedQueryPtrInput interface { pulumi.Input ToNamedQueryPtrOutput() NamedQueryPtrOutput ToNamedQueryPtrOutputWithContext(ctx context.Context) NamedQueryPtrOutput }
type NamedQueryPtrOutput ¶
type NamedQueryPtrOutput struct{ *pulumi.OutputState }
func (NamedQueryPtrOutput) Elem ¶ added in v4.15.0
func (o NamedQueryPtrOutput) Elem() NamedQueryOutput
func (NamedQueryPtrOutput) ElementType ¶
func (NamedQueryPtrOutput) ElementType() reflect.Type
func (NamedQueryPtrOutput) ToNamedQueryPtrOutput ¶
func (o NamedQueryPtrOutput) ToNamedQueryPtrOutput() NamedQueryPtrOutput
func (NamedQueryPtrOutput) ToNamedQueryPtrOutputWithContext ¶
func (o NamedQueryPtrOutput) ToNamedQueryPtrOutputWithContext(ctx context.Context) NamedQueryPtrOutput
type NamedQueryState ¶
type NamedQueryState struct { // The database to which the query belongs. Database pulumi.StringPtrInput // A brief explanation of the query. Maximum length of 1024. Description pulumi.StringPtrInput // The plain language name for the query. Maximum length of 128. Name pulumi.StringPtrInput // The text of the query itself. In other words, all query statements. Maximum length of 262144. Query pulumi.StringPtrInput // The workgroup to which the query belongs. Defaults to `primary` Workgroup pulumi.StringPtrInput }
func (NamedQueryState) ElementType ¶
func (NamedQueryState) ElementType() reflect.Type
type Workgroup ¶
type Workgroup struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the workgroup Arn pulumi.StringOutput `pulumi:"arn"` // Configuration block with various settings for the workgroup. Documented below. Configuration WorkgroupConfigurationPtrOutput `pulumi:"configuration"` // Description of the workgroup. Description pulumi.StringPtrOutput `pulumi:"description"` // The option to delete the workgroup and its contents even if the workgroup contains any named queries. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // Name of the workgroup. Name pulumi.StringOutput `pulumi:"name"` // State of the workgroup. Valid values are `DISABLED` or `ENABLED`. Defaults to `ENABLED`. State pulumi.StringPtrOutput `pulumi:"state"` // Key-value map of resource tags for the workgroup. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an Athena Workgroup.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/athena" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := athena.NewWorkgroup(ctx, "example", &athena.WorkgroupArgs{ Configuration: &athena.WorkgroupConfigurationArgs{ EnforceWorkgroupConfiguration: pulumi.Bool(true), PublishCloudwatchMetricsEnabled: pulumi.Bool(true), ResultConfiguration: &athena.WorkgroupConfigurationResultConfigurationArgs{ OutputLocation: pulumi.String(fmt.Sprintf("%v%v%v", "s3://", aws_s3_bucket.Example.Bucket, "/output/")), EncryptionConfiguration: &athena.WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs{ EncryptionOption: pulumi.String("SSE_KMS"), KmsKeyArn: pulumi.Any(aws_kms_key.Example.Arn), }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Athena Workgroups can be imported using their name, e.g.
```sh
$ pulumi import aws:athena/workgroup:Workgroup example example
```
func GetWorkgroup ¶
func GetWorkgroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkgroupState, opts ...pulumi.ResourceOption) (*Workgroup, error)
GetWorkgroup gets an existing Workgroup 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 NewWorkgroup ¶
func NewWorkgroup(ctx *pulumi.Context, name string, args *WorkgroupArgs, opts ...pulumi.ResourceOption) (*Workgroup, error)
NewWorkgroup registers a new resource with the given unique name, arguments, and options.
func (*Workgroup) ElementType ¶
func (*Workgroup) ToWorkgroupOutput ¶
func (i *Workgroup) ToWorkgroupOutput() WorkgroupOutput
func (*Workgroup) ToWorkgroupOutputWithContext ¶
func (i *Workgroup) ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput
func (*Workgroup) ToWorkgroupPtrOutput ¶
func (i *Workgroup) ToWorkgroupPtrOutput() WorkgroupPtrOutput
func (*Workgroup) ToWorkgroupPtrOutputWithContext ¶
func (i *Workgroup) ToWorkgroupPtrOutputWithContext(ctx context.Context) WorkgroupPtrOutput
type WorkgroupArgs ¶
type WorkgroupArgs struct { // Configuration block with various settings for the workgroup. Documented below. Configuration WorkgroupConfigurationPtrInput // Description of the workgroup. Description pulumi.StringPtrInput // The option to delete the workgroup and its contents even if the workgroup contains any named queries. ForceDestroy pulumi.BoolPtrInput // Name of the workgroup. Name pulumi.StringPtrInput // State of the workgroup. Valid values are `DISABLED` or `ENABLED`. Defaults to `ENABLED`. State pulumi.StringPtrInput // Key-value map of resource tags for the workgroup. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
The set of arguments for constructing a Workgroup resource.
func (WorkgroupArgs) ElementType ¶
func (WorkgroupArgs) ElementType() reflect.Type
type WorkgroupArray ¶
type WorkgroupArray []WorkgroupInput
func (WorkgroupArray) ElementType ¶
func (WorkgroupArray) ElementType() reflect.Type
func (WorkgroupArray) ToWorkgroupArrayOutput ¶
func (i WorkgroupArray) ToWorkgroupArrayOutput() WorkgroupArrayOutput
func (WorkgroupArray) ToWorkgroupArrayOutputWithContext ¶
func (i WorkgroupArray) ToWorkgroupArrayOutputWithContext(ctx context.Context) WorkgroupArrayOutput
type WorkgroupArrayInput ¶
type WorkgroupArrayInput interface { pulumi.Input ToWorkgroupArrayOutput() WorkgroupArrayOutput ToWorkgroupArrayOutputWithContext(context.Context) WorkgroupArrayOutput }
WorkgroupArrayInput is an input type that accepts WorkgroupArray and WorkgroupArrayOutput values. You can construct a concrete instance of `WorkgroupArrayInput` via:
WorkgroupArray{ WorkgroupArgs{...} }
type WorkgroupArrayOutput ¶
type WorkgroupArrayOutput struct{ *pulumi.OutputState }
func (WorkgroupArrayOutput) ElementType ¶
func (WorkgroupArrayOutput) ElementType() reflect.Type
func (WorkgroupArrayOutput) Index ¶
func (o WorkgroupArrayOutput) Index(i pulumi.IntInput) WorkgroupOutput
func (WorkgroupArrayOutput) ToWorkgroupArrayOutput ¶
func (o WorkgroupArrayOutput) ToWorkgroupArrayOutput() WorkgroupArrayOutput
func (WorkgroupArrayOutput) ToWorkgroupArrayOutputWithContext ¶
func (o WorkgroupArrayOutput) ToWorkgroupArrayOutputWithContext(ctx context.Context) WorkgroupArrayOutput
type WorkgroupConfiguration ¶
type WorkgroupConfiguration struct { // Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least `10485760`. BytesScannedCutoffPerQuery *int `pulumi:"bytesScannedCutoffPerQuery"` // Boolean whether the settings for the workgroup override client-side settings. For more information, see [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html). Defaults to `true`. EnforceWorkgroupConfiguration *bool `pulumi:"enforceWorkgroupConfiguration"` // Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to `true`. PublishCloudwatchMetricsEnabled *bool `pulumi:"publishCloudwatchMetricsEnabled"` // If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see [Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) in the Amazon Simple Storage Service Developer Guide. RequesterPaysEnabled *bool `pulumi:"requesterPaysEnabled"` // Configuration block with result settings. Documented below. ResultConfiguration *WorkgroupConfigurationResultConfiguration `pulumi:"resultConfiguration"` }
type WorkgroupConfigurationArgs ¶
type WorkgroupConfigurationArgs struct { // Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least `10485760`. BytesScannedCutoffPerQuery pulumi.IntPtrInput `pulumi:"bytesScannedCutoffPerQuery"` // Boolean whether the settings for the workgroup override client-side settings. For more information, see [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html). Defaults to `true`. EnforceWorkgroupConfiguration pulumi.BoolPtrInput `pulumi:"enforceWorkgroupConfiguration"` // Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to `true`. PublishCloudwatchMetricsEnabled pulumi.BoolPtrInput `pulumi:"publishCloudwatchMetricsEnabled"` // If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see [Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) in the Amazon Simple Storage Service Developer Guide. RequesterPaysEnabled pulumi.BoolPtrInput `pulumi:"requesterPaysEnabled"` // Configuration block with result settings. Documented below. ResultConfiguration WorkgroupConfigurationResultConfigurationPtrInput `pulumi:"resultConfiguration"` }
func (WorkgroupConfigurationArgs) ElementType ¶
func (WorkgroupConfigurationArgs) ElementType() reflect.Type
func (WorkgroupConfigurationArgs) ToWorkgroupConfigurationOutput ¶
func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationOutput() WorkgroupConfigurationOutput
func (WorkgroupConfigurationArgs) ToWorkgroupConfigurationOutputWithContext ¶
func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationOutput
func (WorkgroupConfigurationArgs) ToWorkgroupConfigurationPtrOutput ¶
func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput
func (WorkgroupConfigurationArgs) ToWorkgroupConfigurationPtrOutputWithContext ¶
func (i WorkgroupConfigurationArgs) ToWorkgroupConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationPtrOutput
type WorkgroupConfigurationInput ¶
type WorkgroupConfigurationInput interface { pulumi.Input ToWorkgroupConfigurationOutput() WorkgroupConfigurationOutput ToWorkgroupConfigurationOutputWithContext(context.Context) WorkgroupConfigurationOutput }
WorkgroupConfigurationInput is an input type that accepts WorkgroupConfigurationArgs and WorkgroupConfigurationOutput values. You can construct a concrete instance of `WorkgroupConfigurationInput` via:
WorkgroupConfigurationArgs{...}
type WorkgroupConfigurationOutput ¶
type WorkgroupConfigurationOutput struct{ *pulumi.OutputState }
func (WorkgroupConfigurationOutput) BytesScannedCutoffPerQuery ¶
func (o WorkgroupConfigurationOutput) BytesScannedCutoffPerQuery() pulumi.IntPtrOutput
Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least `10485760`.
func (WorkgroupConfigurationOutput) ElementType ¶
func (WorkgroupConfigurationOutput) ElementType() reflect.Type
func (WorkgroupConfigurationOutput) EnforceWorkgroupConfiguration ¶
func (o WorkgroupConfigurationOutput) EnforceWorkgroupConfiguration() pulumi.BoolPtrOutput
Boolean whether the settings for the workgroup override client-side settings. For more information, see [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html). Defaults to `true`.
func (WorkgroupConfigurationOutput) PublishCloudwatchMetricsEnabled ¶
func (o WorkgroupConfigurationOutput) PublishCloudwatchMetricsEnabled() pulumi.BoolPtrOutput
Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to `true`.
func (WorkgroupConfigurationOutput) RequesterPaysEnabled ¶ added in v4.16.0
func (o WorkgroupConfigurationOutput) RequesterPaysEnabled() pulumi.BoolPtrOutput
If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see [Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) in the Amazon Simple Storage Service Developer Guide.
func (WorkgroupConfigurationOutput) ResultConfiguration ¶
func (o WorkgroupConfigurationOutput) ResultConfiguration() WorkgroupConfigurationResultConfigurationPtrOutput
Configuration block with result settings. Documented below.
func (WorkgroupConfigurationOutput) ToWorkgroupConfigurationOutput ¶
func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationOutput() WorkgroupConfigurationOutput
func (WorkgroupConfigurationOutput) ToWorkgroupConfigurationOutputWithContext ¶
func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationOutput
func (WorkgroupConfigurationOutput) ToWorkgroupConfigurationPtrOutput ¶
func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput
func (WorkgroupConfigurationOutput) ToWorkgroupConfigurationPtrOutputWithContext ¶
func (o WorkgroupConfigurationOutput) ToWorkgroupConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationPtrOutput
type WorkgroupConfigurationPtrInput ¶
type WorkgroupConfigurationPtrInput interface { pulumi.Input ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput ToWorkgroupConfigurationPtrOutputWithContext(context.Context) WorkgroupConfigurationPtrOutput }
WorkgroupConfigurationPtrInput is an input type that accepts WorkgroupConfigurationArgs, WorkgroupConfigurationPtr and WorkgroupConfigurationPtrOutput values. You can construct a concrete instance of `WorkgroupConfigurationPtrInput` via:
WorkgroupConfigurationArgs{...} or: nil
func WorkgroupConfigurationPtr ¶
func WorkgroupConfigurationPtr(v *WorkgroupConfigurationArgs) WorkgroupConfigurationPtrInput
type WorkgroupConfigurationPtrOutput ¶
type WorkgroupConfigurationPtrOutput struct{ *pulumi.OutputState }
func (WorkgroupConfigurationPtrOutput) BytesScannedCutoffPerQuery ¶
func (o WorkgroupConfigurationPtrOutput) BytesScannedCutoffPerQuery() pulumi.IntPtrOutput
Integer for the upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. Must be at least `10485760`.
func (WorkgroupConfigurationPtrOutput) Elem ¶
func (o WorkgroupConfigurationPtrOutput) Elem() WorkgroupConfigurationOutput
func (WorkgroupConfigurationPtrOutput) ElementType ¶
func (WorkgroupConfigurationPtrOutput) ElementType() reflect.Type
func (WorkgroupConfigurationPtrOutput) EnforceWorkgroupConfiguration ¶
func (o WorkgroupConfigurationPtrOutput) EnforceWorkgroupConfiguration() pulumi.BoolPtrOutput
Boolean whether the settings for the workgroup override client-side settings. For more information, see [Workgroup Settings Override Client-Side Settings](https://docs.aws.amazon.com/athena/latest/ug/workgroups-settings-override.html). Defaults to `true`.
func (WorkgroupConfigurationPtrOutput) PublishCloudwatchMetricsEnabled ¶
func (o WorkgroupConfigurationPtrOutput) PublishCloudwatchMetricsEnabled() pulumi.BoolPtrOutput
Boolean whether Amazon CloudWatch metrics are enabled for the workgroup. Defaults to `true`.
func (WorkgroupConfigurationPtrOutput) RequesterPaysEnabled ¶ added in v4.16.0
func (o WorkgroupConfigurationPtrOutput) RequesterPaysEnabled() pulumi.BoolPtrOutput
If set to true , allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set to false , workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default is false . For more information about Requester Pays buckets, see [Requester Pays Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) in the Amazon Simple Storage Service Developer Guide.
func (WorkgroupConfigurationPtrOutput) ResultConfiguration ¶
func (o WorkgroupConfigurationPtrOutput) ResultConfiguration() WorkgroupConfigurationResultConfigurationPtrOutput
Configuration block with result settings. Documented below.
func (WorkgroupConfigurationPtrOutput) ToWorkgroupConfigurationPtrOutput ¶
func (o WorkgroupConfigurationPtrOutput) ToWorkgroupConfigurationPtrOutput() WorkgroupConfigurationPtrOutput
func (WorkgroupConfigurationPtrOutput) ToWorkgroupConfigurationPtrOutputWithContext ¶
func (o WorkgroupConfigurationPtrOutput) ToWorkgroupConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationPtrOutput
type WorkgroupConfigurationResultConfiguration ¶
type WorkgroupConfigurationResultConfiguration struct { // Configuration block with encryption settings. Documented below. EncryptionConfiguration *WorkgroupConfigurationResultConfigurationEncryptionConfiguration `pulumi:"encryptionConfiguration"` // The location in Amazon S3 where your query results are stored, such as `s3://path/to/query/bucket/`. For more information, see [Queries and Query Result Files](https://docs.aws.amazon.com/athena/latest/ug/querying.html). OutputLocation *string `pulumi:"outputLocation"` }
type WorkgroupConfigurationResultConfigurationArgs ¶
type WorkgroupConfigurationResultConfigurationArgs struct { // Configuration block with encryption settings. Documented below. EncryptionConfiguration WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput `pulumi:"encryptionConfiguration"` // The location in Amazon S3 where your query results are stored, such as `s3://path/to/query/bucket/`. For more information, see [Queries and Query Result Files](https://docs.aws.amazon.com/athena/latest/ug/querying.html). OutputLocation pulumi.StringPtrInput `pulumi:"outputLocation"` }
func (WorkgroupConfigurationResultConfigurationArgs) ElementType ¶
func (WorkgroupConfigurationResultConfigurationArgs) ElementType() reflect.Type
func (WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationOutput ¶
func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationOutput() WorkgroupConfigurationResultConfigurationOutput
func (WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationOutputWithContext ¶
func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationOutput
func (WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationPtrOutput ¶
func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput
func (WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext ¶
func (i WorkgroupConfigurationResultConfigurationArgs) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationPtrOutput
type WorkgroupConfigurationResultConfigurationEncryptionConfiguration ¶
type WorkgroupConfigurationResultConfigurationEncryptionConfiguration struct { // Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup. EncryptionOption *string `pulumi:"encryptionOption"` // For `SSE_KMS` and `CSE_KMS`, this is the KMS key Amazon Resource Name (ARN). KmsKeyArn *string `pulumi:"kmsKeyArn"` }
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs ¶
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs struct { // Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup. EncryptionOption pulumi.StringPtrInput `pulumi:"encryptionOption"` // For `SSE_KMS` and `CSE_KMS`, this is the KMS key Amazon Resource Name (ARN). KmsKeyArn pulumi.StringPtrInput `pulumi:"kmsKeyArn"` }
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ElementType ¶
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ElementType() reflect.Type
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput ¶
func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext ¶
func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput ¶
func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext ¶
func (i WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationInput ¶
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationInput interface { pulumi.Input ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext(context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput }
WorkgroupConfigurationResultConfigurationEncryptionConfigurationInput is an input type that accepts WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs and WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput values. You can construct a concrete instance of `WorkgroupConfigurationResultConfigurationEncryptionConfigurationInput` via:
WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs{...}
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput ¶
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput struct{ *pulumi.OutputState }
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ElementType ¶
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ElementType() reflect.Type
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) EncryptionOption ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) EncryptionOption() pulumi.StringPtrOutput
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) KmsKeyArn ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) KmsKeyArn() pulumi.StringPtrOutput
For `SSE_KMS` and `CSE_KMS`, this is the KMS key Amazon Resource Name (ARN).
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput ¶
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput interface { pulumi.Input ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput }
WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput is an input type that accepts WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs, WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtr and WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput values. You can construct a concrete instance of `WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput` via:
WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs{...} or: nil
func WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtr ¶
func WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtr(v *WorkgroupConfigurationResultConfigurationEncryptionConfigurationArgs) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrInput
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput ¶
type WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput struct{ *pulumi.OutputState }
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ElementType ¶
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ElementType() reflect.Type
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) EncryptionOption ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) EncryptionOption() pulumi.StringPtrOutput
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (`SSE_S3`), server-side encryption with KMS-managed keys (`SSE_KMS`), or client-side encryption with KMS-managed keys (`CSE_KMS`) is used. If a query runs in a workgroup and the workgroup overrides client-side settings, then the workgroup's setting for encryption is used. It specifies whether query results must be encrypted, for all queries that run in this workgroup.
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) KmsKeyArn ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) KmsKeyArn() pulumi.StringPtrOutput
For `SSE_KMS` and `CSE_KMS`, this is the KMS key Amazon Resource Name (ARN).
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
func (WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext ¶
func (o WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
type WorkgroupConfigurationResultConfigurationInput ¶
type WorkgroupConfigurationResultConfigurationInput interface { pulumi.Input ToWorkgroupConfigurationResultConfigurationOutput() WorkgroupConfigurationResultConfigurationOutput ToWorkgroupConfigurationResultConfigurationOutputWithContext(context.Context) WorkgroupConfigurationResultConfigurationOutput }
WorkgroupConfigurationResultConfigurationInput is an input type that accepts WorkgroupConfigurationResultConfigurationArgs and WorkgroupConfigurationResultConfigurationOutput values. You can construct a concrete instance of `WorkgroupConfigurationResultConfigurationInput` via:
WorkgroupConfigurationResultConfigurationArgs{...}
type WorkgroupConfigurationResultConfigurationOutput ¶
type WorkgroupConfigurationResultConfigurationOutput struct{ *pulumi.OutputState }
func (WorkgroupConfigurationResultConfigurationOutput) ElementType ¶
func (WorkgroupConfigurationResultConfigurationOutput) ElementType() reflect.Type
func (WorkgroupConfigurationResultConfigurationOutput) EncryptionConfiguration ¶
func (o WorkgroupConfigurationResultConfigurationOutput) EncryptionConfiguration() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
Configuration block with encryption settings. Documented below.
func (WorkgroupConfigurationResultConfigurationOutput) OutputLocation ¶
func (o WorkgroupConfigurationResultConfigurationOutput) OutputLocation() pulumi.StringPtrOutput
The location in Amazon S3 where your query results are stored, such as `s3://path/to/query/bucket/`. For more information, see [Queries and Query Result Files](https://docs.aws.amazon.com/athena/latest/ug/querying.html).
func (WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationOutput ¶
func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationOutput() WorkgroupConfigurationResultConfigurationOutput
func (WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationOutputWithContext ¶
func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationOutput
func (WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationPtrOutput ¶
func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput
func (WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext ¶
func (o WorkgroupConfigurationResultConfigurationOutput) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationPtrOutput
type WorkgroupConfigurationResultConfigurationPtrInput ¶
type WorkgroupConfigurationResultConfigurationPtrInput interface { pulumi.Input ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(context.Context) WorkgroupConfigurationResultConfigurationPtrOutput }
WorkgroupConfigurationResultConfigurationPtrInput is an input type that accepts WorkgroupConfigurationResultConfigurationArgs, WorkgroupConfigurationResultConfigurationPtr and WorkgroupConfigurationResultConfigurationPtrOutput values. You can construct a concrete instance of `WorkgroupConfigurationResultConfigurationPtrInput` via:
WorkgroupConfigurationResultConfigurationArgs{...} or: nil
func WorkgroupConfigurationResultConfigurationPtr ¶
func WorkgroupConfigurationResultConfigurationPtr(v *WorkgroupConfigurationResultConfigurationArgs) WorkgroupConfigurationResultConfigurationPtrInput
type WorkgroupConfigurationResultConfigurationPtrOutput ¶
type WorkgroupConfigurationResultConfigurationPtrOutput struct{ *pulumi.OutputState }
func (WorkgroupConfigurationResultConfigurationPtrOutput) ElementType ¶
func (WorkgroupConfigurationResultConfigurationPtrOutput) ElementType() reflect.Type
func (WorkgroupConfigurationResultConfigurationPtrOutput) EncryptionConfiguration ¶
func (o WorkgroupConfigurationResultConfigurationPtrOutput) EncryptionConfiguration() WorkgroupConfigurationResultConfigurationEncryptionConfigurationPtrOutput
Configuration block with encryption settings. Documented below.
func (WorkgroupConfigurationResultConfigurationPtrOutput) OutputLocation ¶
func (o WorkgroupConfigurationResultConfigurationPtrOutput) OutputLocation() pulumi.StringPtrOutput
The location in Amazon S3 where your query results are stored, such as `s3://path/to/query/bucket/`. For more information, see [Queries and Query Result Files](https://docs.aws.amazon.com/athena/latest/ug/querying.html).
func (WorkgroupConfigurationResultConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationPtrOutput ¶
func (o WorkgroupConfigurationResultConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationPtrOutput() WorkgroupConfigurationResultConfigurationPtrOutput
func (WorkgroupConfigurationResultConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext ¶
func (o WorkgroupConfigurationResultConfigurationPtrOutput) ToWorkgroupConfigurationResultConfigurationPtrOutputWithContext(ctx context.Context) WorkgroupConfigurationResultConfigurationPtrOutput
type WorkgroupInput ¶
type WorkgroupInput interface { pulumi.Input ToWorkgroupOutput() WorkgroupOutput ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput }
type WorkgroupMap ¶
type WorkgroupMap map[string]WorkgroupInput
func (WorkgroupMap) ElementType ¶
func (WorkgroupMap) ElementType() reflect.Type
func (WorkgroupMap) ToWorkgroupMapOutput ¶
func (i WorkgroupMap) ToWorkgroupMapOutput() WorkgroupMapOutput
func (WorkgroupMap) ToWorkgroupMapOutputWithContext ¶
func (i WorkgroupMap) ToWorkgroupMapOutputWithContext(ctx context.Context) WorkgroupMapOutput
type WorkgroupMapInput ¶
type WorkgroupMapInput interface { pulumi.Input ToWorkgroupMapOutput() WorkgroupMapOutput ToWorkgroupMapOutputWithContext(context.Context) WorkgroupMapOutput }
WorkgroupMapInput is an input type that accepts WorkgroupMap and WorkgroupMapOutput values. You can construct a concrete instance of `WorkgroupMapInput` via:
WorkgroupMap{ "key": WorkgroupArgs{...} }
type WorkgroupMapOutput ¶
type WorkgroupMapOutput struct{ *pulumi.OutputState }
func (WorkgroupMapOutput) ElementType ¶
func (WorkgroupMapOutput) ElementType() reflect.Type
func (WorkgroupMapOutput) MapIndex ¶
func (o WorkgroupMapOutput) MapIndex(k pulumi.StringInput) WorkgroupOutput
func (WorkgroupMapOutput) ToWorkgroupMapOutput ¶
func (o WorkgroupMapOutput) ToWorkgroupMapOutput() WorkgroupMapOutput
func (WorkgroupMapOutput) ToWorkgroupMapOutputWithContext ¶
func (o WorkgroupMapOutput) ToWorkgroupMapOutputWithContext(ctx context.Context) WorkgroupMapOutput
type WorkgroupOutput ¶
type WorkgroupOutput struct{ *pulumi.OutputState }
func (WorkgroupOutput) ElementType ¶
func (WorkgroupOutput) ElementType() reflect.Type
func (WorkgroupOutput) ToWorkgroupOutput ¶
func (o WorkgroupOutput) ToWorkgroupOutput() WorkgroupOutput
func (WorkgroupOutput) ToWorkgroupOutputWithContext ¶
func (o WorkgroupOutput) ToWorkgroupOutputWithContext(ctx context.Context) WorkgroupOutput
func (WorkgroupOutput) ToWorkgroupPtrOutput ¶
func (o WorkgroupOutput) ToWorkgroupPtrOutput() WorkgroupPtrOutput
func (WorkgroupOutput) ToWorkgroupPtrOutputWithContext ¶
func (o WorkgroupOutput) ToWorkgroupPtrOutputWithContext(ctx context.Context) WorkgroupPtrOutput
type WorkgroupPtrInput ¶
type WorkgroupPtrInput interface { pulumi.Input ToWorkgroupPtrOutput() WorkgroupPtrOutput ToWorkgroupPtrOutputWithContext(ctx context.Context) WorkgroupPtrOutput }
type WorkgroupPtrOutput ¶
type WorkgroupPtrOutput struct{ *pulumi.OutputState }
func (WorkgroupPtrOutput) Elem ¶ added in v4.15.0
func (o WorkgroupPtrOutput) Elem() WorkgroupOutput
func (WorkgroupPtrOutput) ElementType ¶
func (WorkgroupPtrOutput) ElementType() reflect.Type
func (WorkgroupPtrOutput) ToWorkgroupPtrOutput ¶
func (o WorkgroupPtrOutput) ToWorkgroupPtrOutput() WorkgroupPtrOutput
func (WorkgroupPtrOutput) ToWorkgroupPtrOutputWithContext ¶
func (o WorkgroupPtrOutput) ToWorkgroupPtrOutputWithContext(ctx context.Context) WorkgroupPtrOutput
type WorkgroupState ¶
type WorkgroupState struct { // Amazon Resource Name (ARN) of the workgroup Arn pulumi.StringPtrInput // Configuration block with various settings for the workgroup. Documented below. Configuration WorkgroupConfigurationPtrInput // Description of the workgroup. Description pulumi.StringPtrInput // The option to delete the workgroup and its contents even if the workgroup contains any named queries. ForceDestroy pulumi.BoolPtrInput // Name of the workgroup. Name pulumi.StringPtrInput // State of the workgroup. Valid values are `DISABLED` or `ENABLED`. Defaults to `ENABLED`. State pulumi.StringPtrInput // Key-value map of resource tags for the workgroup. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (WorkgroupState) ElementType ¶
func (WorkgroupState) ElementType() reflect.Type