AWS Native is in preview. AWS Classic is fully supported.
aws-native.athena.getWorkGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource schema for AWS::Athena::WorkGroup
Using getWorkGroup
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getWorkGroup(args: GetWorkGroupArgs, opts?: InvokeOptions): Promise<GetWorkGroupResult>
function getWorkGroupOutput(args: GetWorkGroupOutputArgs, opts?: InvokeOptions): Output<GetWorkGroupResult>
def get_work_group(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetWorkGroupResult
def get_work_group_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetWorkGroupResult]
func LookupWorkGroup(ctx *Context, args *LookupWorkGroupArgs, opts ...InvokeOption) (*LookupWorkGroupResult, error)
func LookupWorkGroupOutput(ctx *Context, args *LookupWorkGroupOutputArgs, opts ...InvokeOption) LookupWorkGroupResultOutput
> Note: This function is named LookupWorkGroup
in the Go SDK.
public static class GetWorkGroup
{
public static Task<GetWorkGroupResult> InvokeAsync(GetWorkGroupArgs args, InvokeOptions? opts = null)
public static Output<GetWorkGroupResult> Invoke(GetWorkGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetWorkGroupResult> getWorkGroup(GetWorkGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:athena:getWorkGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The workGroup name.
- Name string
- The workGroup name.
- name String
- The workGroup name.
- name string
- The workGroup name.
- name str
- The workGroup name.
- name String
- The workGroup name.
getWorkGroup Result
The following output properties are available:
- Creation
Time string - The date and time the workgroup was created.
- Description string
- The workgroup description.
- State
Pulumi.
Aws Native. Athena. Work Group State - The state of the workgroup: ENABLED or DISABLED.
- List<Pulumi.
Aws Native. Outputs. Tag> - One or more tags, separated by commas, that you want to attach to the workgroup as you create it
- Work
Group Pulumi.Configuration Aws Native. Athena. Outputs. Work Group Configuration - The workgroup configuration
- Creation
Time string - The date and time the workgroup was created.
- Description string
- The workgroup description.
- State
Work
Group State Enum - The state of the workgroup: ENABLED or DISABLED.
- Tag
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it
- Work
Group WorkConfiguration Group Configuration - The workgroup configuration
- creation
Time String - The date and time the workgroup was created.
- description String
- The workgroup description.
- state
Work
Group State - The state of the workgroup: ENABLED or DISABLED.
- List<Tag>
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it
- work
Group WorkConfiguration Group Configuration - The workgroup configuration
- creation
Time string - The date and time the workgroup was created.
- description string
- The workgroup description.
- state
Work
Group State - The state of the workgroup: ENABLED or DISABLED.
- Tag[]
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it
- work
Group WorkConfiguration Group Configuration - The workgroup configuration
- creation_
time str - The date and time the workgroup was created.
- description str
- The workgroup description.
- state
Work
Group State - The state of the workgroup: ENABLED or DISABLED.
- Sequence[root_Tag]
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it
- work_
group_ Workconfiguration Group Configuration - The workgroup configuration
- creation
Time String - The date and time the workgroup was created.
- description String
- The workgroup description.
- state "ENABLED" | "DISABLED"
- The state of the workgroup: ENABLED or DISABLED.
- List<Property Map>
- One or more tags, separated by commas, that you want to attach to the workgroup as you create it
- work
Group Property MapConfiguration - The workgroup configuration
Supporting Types
Tag
WorkGroupAclConfiguration
- S3Acl
Option Pulumi.Aws Native. Athena. Work Group S3Acl Option - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide .
- S3Acl
Option WorkGroup S3Acl Option - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide .
- s3Acl
Option WorkGroup S3Acl Option - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide .
- s3Acl
Option WorkGroup S3Acl Option - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide .
- s3_
acl_ Workoption Group S3Acl Option - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide .
- s3Acl
Option "BUCKET_OWNER_FULL_CONTROL" - The Amazon S3 canned ACL that Athena should specify when storing query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. If a query runs in a workgroup and the workgroup overrides client-side settings, then the Amazon S3 canned ACL specified in the workgroup's settings is used for all queries that run in the workgroup. For more information about Amazon S3 canned ACLs, see Canned ACL in the Amazon S3 User Guide .
WorkGroupConfiguration
- Additional
Configuration string - Specifies a user defined JSON string that is passed to the session engine.
- Bytes
Scanned intCutoff Per Query The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined.
This property currently supports integer types. Support for long values is planned.
- Customer
Content Pulumi.Encryption Configuration Aws Native. Athena. Inputs. Work Group Customer Content Encryption Configuration - Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
- Enforce
Work boolGroup Configuration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings .
- Engine
Version Pulumi.Aws Native. Athena. Inputs. Work Group Engine Version - The engine version that all queries running on the workgroup use.
- Execution
Role string - Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
- Publish
Cloud boolWatch Metrics Enabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
- Requester
Pays boolEnabled - If set to
true
, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide . - Result
Configuration Pulumi.Aws Native. Athena. Inputs. Work Group Result Configuration - Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see Working with Query Results, Output Files, and Query History .
- Additional
Configuration string - Specifies a user defined JSON string that is passed to the session engine.
- Bytes
Scanned intCutoff Per Query The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined.
This property currently supports integer types. Support for long values is planned.
- Customer
Content WorkEncryption Configuration Group Customer Content Encryption Configuration - Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
- Enforce
Work boolGroup Configuration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings .
- Engine
Version WorkGroup Engine Version - The engine version that all queries running on the workgroup use.
- Execution
Role string - Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
- Publish
Cloud boolWatch Metrics Enabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
- Requester
Pays boolEnabled - If set to
true
, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide . - Result
Configuration WorkGroup Result Configuration - Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see Working with Query Results, Output Files, and Query History .
- additional
Configuration String - Specifies a user defined JSON string that is passed to the session engine.
- bytes
Scanned IntegerCutoff Per Query The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined.
This property currently supports integer types. Support for long values is planned.
- customer
Content WorkEncryption Configuration Group Customer Content Encryption Configuration - Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
- enforce
Work BooleanGroup Configuration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings .
- engine
Version WorkGroup Engine Version - The engine version that all queries running on the workgroup use.
- execution
Role String - Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
- publish
Cloud BooleanWatch Metrics Enabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
- requester
Pays BooleanEnabled - If set to
true
, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide . - result
Configuration WorkGroup Result Configuration - Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see Working with Query Results, Output Files, and Query History .
- additional
Configuration string - Specifies a user defined JSON string that is passed to the session engine.
- bytes
Scanned numberCutoff Per Query The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined.
This property currently supports integer types. Support for long values is planned.
- customer
Content WorkEncryption Configuration Group Customer Content Encryption Configuration - Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
- enforce
Work booleanGroup Configuration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings .
- engine
Version WorkGroup Engine Version - The engine version that all queries running on the workgroup use.
- execution
Role string - Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
- publish
Cloud booleanWatch Metrics Enabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
- requester
Pays booleanEnabled - If set to
true
, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide . - result
Configuration WorkGroup Result Configuration - Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see Working with Query Results, Output Files, and Query History .
- additional_
configuration str - Specifies a user defined JSON string that is passed to the session engine.
- bytes_
scanned_ intcutoff_ per_ query The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined.
This property currently supports integer types. Support for long values is planned.
- customer_
content_ Workencryption_ configuration Group Customer Content Encryption Configuration - Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
- enforce_
work_ boolgroup_ configuration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings .
- engine_
version WorkGroup Engine Version - The engine version that all queries running on the workgroup use.
- execution_
role str - Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
- publish_
cloud_ boolwatch_ metrics_ enabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
- requester_
pays_ boolenabled - If set to
true
, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide . - result_
configuration WorkGroup Result Configuration - Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see Working with Query Results, Output Files, and Query History .
- additional
Configuration String - Specifies a user defined JSON string that is passed to the session engine.
- bytes
Scanned NumberCutoff Per Query The upper limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan. No default is defined.
This property currently supports integer types. Support for long values is planned.
- customer
Content Property MapEncryption Configuration - Specifies the KMS key that is used to encrypt the user's data stores in Athena. This setting does not apply to Athena SQL workgroups.
- enforce
Work BooleanGroup Configuration - If set to "true", the settings for the workgroup override client-side settings. If set to "false", client-side settings are used. For more information, see Workgroup Settings Override Client-Side Settings .
- engine
Version Property Map - The engine version that all queries running on the workgroup use.
- execution
Role String - Role used to access user resources in an Athena for Apache Spark session. This property applies only to Spark-enabled workgroups in Athena.
- publish
Cloud BooleanWatch Metrics Enabled - Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.
- requester
Pays BooleanEnabled - If set to
true
, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries. If set tofalse
, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error. The default isfalse
. For more information about Requester Pays buckets, see Requester Pays Buckets in the Amazon Simple Storage Service Developer Guide . - result
Configuration Property Map - Specifies the location in Amazon S3 where query results are stored and the encryption option, if any, used for query results. For more information, see Working with Query Results, Output Files, and Query History .
WorkGroupCustomerContentEncryptionConfiguration
- Kms
Key string - The customer managed KMS key that is used to encrypt the user's data stores in Athena.
- Kms
Key string - The customer managed KMS key that is used to encrypt the user's data stores in Athena.
- kms
Key String - The customer managed KMS key that is used to encrypt the user's data stores in Athena.
- kms
Key string - The customer managed KMS key that is used to encrypt the user's data stores in Athena.
- kms_
key str - The customer managed KMS key that is used to encrypt the user's data stores in Athena.
- kms
Key String - The customer managed KMS key that is used to encrypt the user's data stores in Athena.
WorkGroupEncryptionConfiguration
- Encryption
Option Pulumi.Aws Native. Athena. Work Group Encryption Option 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.
- Kms
Key string - For
SSE_KMS
andCSE_KMS
, this is the KMS key ARN or ID.
- Encryption
Option WorkGroup Encryption Option 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.
- Kms
Key string - For
SSE_KMS
andCSE_KMS
, this is the KMS key ARN or ID.
- encryption
Option WorkGroup Encryption Option 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.
- kms
Key String - For
SSE_KMS
andCSE_KMS
, this is the KMS key ARN or ID.
- encryption
Option WorkGroup Encryption Option 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.
- kms
Key string - For
SSE_KMS
andCSE_KMS
, this is the KMS key ARN or ID.
- encryption_
option WorkGroup Encryption Option 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.
- kms_
key str - For
SSE_KMS
andCSE_KMS
, this is the KMS key ARN or ID.
- encryption
Option "SSE_S3" | "SSE_KMS" | "CSE_KMS" 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.
- kms
Key String - For
SSE_KMS
andCSE_KMS
, this is the KMS key ARN or ID.
WorkGroupEncryptionOption
WorkGroupEngineVersion
- Effective
Engine stringVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a
CreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored. - Selected
Engine stringVersion - The engine version requested by the user. Possible values are determined by the output of
ListEngineVersions
, including AUTO. The default is AUTO.
- Effective
Engine stringVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a
CreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored. - Selected
Engine stringVersion - The engine version requested by the user. Possible values are determined by the output of
ListEngineVersions
, including AUTO. The default is AUTO.
- effective
Engine StringVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a
CreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored. - selected
Engine StringVersion - The engine version requested by the user. Possible values are determined by the output of
ListEngineVersions
, including AUTO. The default is AUTO.
- effective
Engine stringVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a
CreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored. - selected
Engine stringVersion - The engine version requested by the user. Possible values are determined by the output of
ListEngineVersions
, including AUTO. The default is AUTO.
- effective_
engine_ strversion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a
CreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored. - selected_
engine_ strversion - The engine version requested by the user. Possible values are determined by the output of
ListEngineVersions
, including AUTO. The default is AUTO.
- effective
Engine StringVersion - Read only. The engine version on which the query runs. If the user requests a valid engine version other than Auto, the effective engine version is the same as the engine version that the user requested. If the user requests Auto, the effective engine version is chosen by Athena. When a request to update the engine version is made by a
CreateWorkGroup
orUpdateWorkGroup
operation, theEffectiveEngineVersion
field is ignored. - selected
Engine StringVersion - The engine version requested by the user. Possible values are determined by the output of
ListEngineVersions
, including AUTO. The default is AUTO.
WorkGroupResultConfiguration
- Acl
Configuration Pulumi.Aws Native. Athena. Inputs. Work Group Acl Configuration - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
. - Encryption
Configuration Pulumi.Aws Native. Athena. Inputs. Work Group Encryption Configuration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS
orCSE_KMS
) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings . - Expected
Bucket stringOwner The account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration:OutputLocation
. If set, Athena uses the value forExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner
setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
.- Output
Location string - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see Working with Query Results, Output Files, and Query History andEnforceWorkGroupConfiguration
.
- Acl
Configuration WorkGroup Acl Configuration - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
. - Encryption
Configuration WorkGroup Encryption Configuration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS
orCSE_KMS
) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings . - Expected
Bucket stringOwner The account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration:OutputLocation
. If set, Athena uses the value forExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner
setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
.- Output
Location string - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see Working with Query Results, Output Files, and Query History andEnforceWorkGroupConfiguration
.
- acl
Configuration WorkGroup Acl Configuration - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
. - encryption
Configuration WorkGroup Encryption Configuration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS
orCSE_KMS
) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings . - expected
Bucket StringOwner The account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration:OutputLocation
. If set, Athena uses the value forExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner
setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
.- output
Location String - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see Working with Query Results, Output Files, and Query History andEnforceWorkGroupConfiguration
.
- acl
Configuration WorkGroup Acl Configuration - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
. - encryption
Configuration WorkGroup Encryption Configuration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS
orCSE_KMS
) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings . - expected
Bucket stringOwner The account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration:OutputLocation
. If set, Athena uses the value forExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner
setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
.- output
Location string - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see Working with Query Results, Output Files, and Query History andEnforceWorkGroupConfiguration
.
- acl_
configuration WorkGroup Acl Configuration - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
. - encryption_
configuration WorkGroup Encryption Configuration - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS
orCSE_KMS
) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings . - expected_
bucket_ strowner The account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration:OutputLocation
. If set, Athena uses the value forExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner
setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
.- output_
location str - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see Working with Query Results, Output Files, and Query History andEnforceWorkGroupConfiguration
.
- acl
Configuration Property Map - Indicates that an Amazon S3 canned ACL should be set to control ownership of stored query results. Currently the only supported canned ACL is
BUCKET_OWNER_FULL_CONTROL
. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the ACL configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
. - encryption
Configuration Property Map - If query results are encrypted in Amazon S3, indicates the encryption option used (for example,
SSE_KMS
orCSE_KMS
) and key information. This is a client-side setting. If workgroup settings override client-side settings, then the query uses the encryption configuration that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings . - expected
Bucket StringOwner The account ID that you expect to be the owner of the Amazon S3 bucket specified by
ResultConfiguration:OutputLocation
. If set, Athena uses the value forExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.This is a client-side setting. If workgroup settings override client-side settings, then the query uses the
ExpectedBucketOwner
setting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeEnforceWorkGroupConfiguration
.- output
Location String - The location in Amazon S3 where your query results are stored, such as
s3://path/to/query/bucket/
. To run a query, you must specify the query results location using either a client-side setting for individual queries or a location specified by the workgroup. If workgroup settings override client-side settings, then the query uses the location specified for the workgroup. If no query location is set, Athena issues an error. For more information, see Working with Query Results, Output Files, and Query History andEnforceWorkGroupConfiguration
.
WorkGroupS3AclOption
WorkGroupState
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.