ResultConfigurationUpdatesProperty
The information about the updates in the query results, such as output location and encryption configuration for the query results.
| Source | |
|---|---|
| Type last changed |
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as athena } from 'aws-cdk-lib';
const resultConfigurationUpdatesProperty: athena.CfnWorkGroup.ResultConfigurationUpdatesProperty = {
aclConfiguration: {
s3AclOption: 's3AclOption',
},
encryptionConfiguration: {
encryptionOption: 'encryptionOption',
// the properties below are optional
kmsKey: 'kmsKey',
},
expectedBucketOwner: 'expectedBucketOwner',
outputLocation: 'outputLocation',
removeAclConfiguration: false,
removeEncryptionConfiguration: false,
removeExpectedBucketOwner: false,
removeOutputLocation: false,
};
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_athena as athena
result_configuration_updates_property = athena.CfnWorkGroup.ResultConfigurationUpdatesProperty(
acl_configuration=athena.CfnWorkGroup.AclConfigurationProperty(
s3_acl_option="s3AclOption"
),
encryption_configuration=athena.CfnWorkGroup.EncryptionConfigurationProperty(
encryption_option="encryptionOption",
# the properties below are optional
kms_key="kmsKey"
),
expected_bucket_owner="expectedBucketOwner",
output_location="outputLocation",
remove_acl_configuration=False,
remove_encryption_configuration=False,
remove_expected_bucket_owner=False,
remove_output_location=False
)
// 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();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Athena;
var resultConfigurationUpdatesProperty = new ResultConfigurationUpdatesProperty {
AclConfiguration = new AclConfigurationProperty {
S3AclOption = "s3AclOption"
},
EncryptionConfiguration = new EncryptionConfigurationProperty {
EncryptionOption = "encryptionOption",
// the properties below are optional
KmsKey = "kmsKey"
},
ExpectedBucketOwner = "expectedBucketOwner",
OutputLocation = "outputLocation",
RemoveAclConfiguration = false,
RemoveEncryptionConfiguration = false,
RemoveExpectedBucketOwner = false,
RemoveOutputLocation = false
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
resultConfigurationUpdatesProperty := &ResultConfigurationUpdatesProperty{
AclConfiguration: &AclConfigurationProperty{
S3AclOption: jsii.String("s3AclOption"),
},
EncryptionConfiguration: &EncryptionConfigurationProperty{
EncryptionOption: jsii.String("encryptionOption"),
// the properties below are optional
KmsKey: jsii.String("kmsKey"),
},
ExpectedBucketOwner: jsii.String("expectedBucketOwner"),
OutputLocation: jsii.String("outputLocation"),
RemoveAclConfiguration: jsii.Boolean(false),
RemoveEncryptionConfiguration: jsii.Boolean(false),
RemoveExpectedBucketOwner: jsii.Boolean(false),
RemoveOutputLocation: jsii.Boolean(false),
}
Properties
aclConfigurationoptionalIResolvable | CfnWorkGroup.acl_configurationoptionaltyping.Union[IResolvable, AclConfigurationProperty]aclConfigurationoptionalIResolvableAclConfigurationoptionalIResolvableAclConfigurationoptionalinterface{} #encryptionConfigurationoptionalIResolvable | CfnWorkGroup.encryption_configurationoptionaltyping.Union[IResolvable, EncryptionConfigurationProperty]encryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalIResolvableEncryptionConfigurationoptionalinterface{} #expectedBucketOwneroptionalstringexpected_bucket_owneroptionalstrexpectedBucketOwneroptionalStringExpectedBucketOwneroptionalstringExpectedBucketOwneroptional*string #notes
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. See and Workgroup Settings Override Client-Side Settings .
outputLocationoptionalstringoutput_locationoptionalstroutputLocationoptionalStringOutputLocationoptionalstringOutputLocationoptional*string #notes
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 .
removeAclConfigurationoptionalboolean | IResolvableremove_acl_configurationoptionaltyping.Union[bool, IResolvable]removeAclConfigurationoptionalBooleanRemoveAclConfigurationoptionalboolRemoveAclConfigurationoptionalinterface{} #notes
If set to false or not set, and a value is present in the AclConfiguration of ResultConfigurationUpdates , the AclConfiguration in the workgroup's ResultConfiguration is updated with the new value. For more information, see Workgroup Settings Override Client-Side Settings .
removeEncryptionConfigurationoptionalboolean | IResolvableremove_encryption_configurationoptionaltyping.Union[bool, IResolvable]removeEncryptionConfigurationoptionalBooleanRemoveEncryptionConfigurationoptionalboolRemoveEncryptionConfigurationoptionalinterface{} #notes
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 .
removeExpectedBucketOwneroptionalboolean | IResolvableremove_expected_bucket_owneroptionaltyping.Union[bool, IResolvable]removeExpectedBucketOwneroptionalBooleanRemoveExpectedBucketOwneroptionalboolRemoveExpectedBucketOwneroptionalinterface{} #removeOutputLocationoptionalboolean | IResolvableremove_output_locationoptionaltyping.Union[bool, IResolvable]removeOutputLocationoptionalBooleanRemoveOutputLocationoptionalboolRemoveOutputLocationoptionalinterface{} #notes
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 .