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 Stringdefault 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 Objectdefault 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.Returns union: either
IResolvableorCfnWorkGroup.AclConfigurationProperty- See Also:
-
getEncryptionConfiguration
The encryption configuration for the query results.Returns union: either
IResolvableorCfnWorkGroup.EncryptionConfigurationProperty- See Also:
-
getExpectedBucketOwner
The AWS account ID that you expect to be the owner of the Amazon S3 bucket specified by . If set, Athena uses the value forExpectedBucketOwnerwhen 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. See 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
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 .Returns union: either
BooleanorIResolvable- 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 .
Returns union: either
BooleanorIResolvable- See Also:
-
getRemoveExpectedBucketOwner
If set to "true", removes the AWS account ID previously specified for . If set to "false" or not set, and a value is present in theExpectedBucketOwnerinResultConfigurationUpdates(the client-side setting), theExpectedBucketOwnerin the workgroup'sResultConfigurationis updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .Returns union: either
BooleanorIResolvable- 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 .
Returns union: either
BooleanorIResolvable- See Also:
-
builder
-