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 classA builder forCfnWorkGroup.ResultConfigurationUpdatesPropertystatic final classAn implementation forCfnWorkGroup.ResultConfigurationUpdatesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe ACL configuration for the query results.default ObjectThe encryption configuration for the query results.default StringThe AWS account ID that you expect to be the owner of the Amazon S3 bucket specified byResultConfiguration$OutputLocation.default StringThe location in Amazon S3 where your query results are stored, such ass3://path/to/query/bucket/.default ObjectIf set totrue, indicates that the previously-specified ACL configuration for queries in this workgroup should be ignored and set to null.default ObjectIf 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 ObjectIf set to "true", removes the AWS account ID previously specified forResultConfiguration$ExpectedBucketOwner.default ObjectIf 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
ExpectedBucketOwnerwhen it makes Amazon S3 calls to your specified output location. If theExpectedBucketOwnerAWS 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
ExpectedBucketOwnersetting that is specified for the workgroup, and also uses the location for storing query results specified in the workgroup. SeeWorkGroupConfiguration$EnforceWorkGroupConfigurationand 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
falseor not set, and a value is present in theAclConfigurationofResultConfigurationUpdates, theAclConfigurationin the workgroup'sResultConfigurationis 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
ExpectedBucketOwnerinResultConfigurationUpdates(the client-side setting), theExpectedBucketOwnerin the workgroup'sResultConfigurationis 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
-