Interface CfnWorkGroup.ResultConfigurationUpdatesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroup.ResultConfigurationUpdatesProperty.Jsii$Proxy
- Enclosing class:
CfnWorkGroup
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.athena.*; ResultConfigurationUpdatesProperty resultConfigurationUpdatesProperty = ResultConfigurationUpdatesProperty.builder() .aclConfiguration(AclConfigurationProperty.builder() .s3AclOption("s3AclOption") .build()) .encryptionConfiguration(EncryptionConfigurationProperty.builder() .encryptionOption("encryptionOption") // the properties below are optional .kmsKey("kmsKey") .build()) .expectedBucketOwner("expectedBucketOwner") .outputLocation("outputLocation") .removeAclConfiguration(false) .removeEncryptionConfiguration(false) .removeExpectedBucketOwner(false) .removeOutputLocation(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWorkGroup.ResultConfigurationUpdatesProperty
static final class
An implementation forCfnWorkGroup.ResultConfigurationUpdatesProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The ACL configuration for the query results.default Object
The encryption configuration for the query results.default String
The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified byResultConfiguration$OutputLocation
.default String
The location in Amazon S3 where your query results are stored, such ass3://path/to/query/bucket/
.default Object
If set totrue
, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null.default Object
If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null.default Object
If set to "true", removes the AWS account ID previously specified forResultConfiguration$ExpectedBucketOwner
.default Object
If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAclConfiguration
The ACL configuration for the query results.- See Also:
-
getEncryptionConfiguration
The encryption configuration for the query results.- See Also:
-
getExpectedBucketOwner
The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified byResultConfiguration$OutputLocation
.If set, Athena uses the value for
ExpectedBucketOwner
when it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwner
AWS account ID does not match the actual owner of the Amazon S3 bucket, the call fails with a permissions error.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. SeeWorkGroupConfiguration$EnforceWorkGroupConfiguration
and Workgroup Settings Override Client-Side Settings .- See Also:
-
getOutputLocation
The location in Amazon S3 where your query results are stored, such ass3://path/to/query/bucket/
.For more information, see Query Results If workgroup settings override client-side settings, then the query uses the location for the query results and the encryption configuration that are specified for the workgroup. The "workgroup settings override" is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See
EnforceWorkGroupConfiguration
.- See Also:
-
getRemoveAclConfiguration
If set totrue
, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null.If set to
false
or not set, and a value is present in theAclConfiguration
ofResultConfigurationUpdates
, theAclConfiguration
in the workgroup'sResultConfiguration
is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .- See Also:
-
getRemoveEncryptionConfiguration
If set to "true", indicates that the previously-specified encryption configuration (also known as the client-side setting) for queries in this workgroup should be ignored and set to null.If set to "false" or not set, and a value is present in the EncryptionConfiguration in ResultConfigurationUpdates (the client-side setting), the EncryptionConfiguration in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Override Client-Side Settings .
- See Also:
-
getRemoveExpectedBucketOwner
If set to "true", removes the AWS account ID previously specified forResultConfiguration$ExpectedBucketOwner
.If set to "false" or not set, and a value is present in the
ExpectedBucketOwner
inResultConfigurationUpdates
(the client-side setting), theExpectedBucketOwner
in the workgroup'sResultConfiguration
is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .- See Also:
-
getRemoveOutputLocation
If set to "true", indicates that the previously-specified query results location (also known as a client-side setting) for queries in this workgroup should be ignored and set to null.If set to "false" or not set, and a value is present in the OutputLocation in ResultConfigurationUpdates (the client-side setting), the OutputLocation in the workgroup's ResultConfiguration will be updated with the new value. For more information, see Override Client-Side Settings .
- See Also:
-
builder
-