Interface CfnWorkGroup.WorkGroupConfigurationUpdatesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroup.WorkGroupConfigurationUpdatesProperty.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.*;
WorkGroupConfigurationUpdatesProperty workGroupConfigurationUpdatesProperty = WorkGroupConfigurationUpdatesProperty.builder()
.additionalConfiguration("additionalConfiguration")
.bytesScannedCutoffPerQuery(123)
.customerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationProperty.builder()
.kmsKey("kmsKey")
.build())
.enforceWorkGroupConfiguration(false)
.engineVersion(EngineVersionProperty.builder()
.effectiveEngineVersion("effectiveEngineVersion")
.selectedEngineVersion("selectedEngineVersion")
.build())
.executionRole("executionRole")
.managedQueryResultsConfiguration(ManagedQueryResultsConfigurationProperty.builder()
.enabled(false)
.encryptionConfiguration(ManagedStorageEncryptionConfigurationProperty.builder()
.kmsKey("kmsKey")
.build())
.build())
.publishCloudWatchMetricsEnabled(false)
.removeBytesScannedCutoffPerQuery(false)
.removeCustomerContentEncryptionConfiguration(false)
.requesterPaysEnabled(false)
.resultConfigurationUpdates(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())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkGroup.WorkGroupConfigurationUpdatesPropertystatic final classAn implementation forCfnWorkGroup.WorkGroupConfigurationUpdatesProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAdditional Configuration that are passed to Athena Spark Calculations running in this workgroup.default NumberThe upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.default ObjectIndicates the KMS key for encrypting notebook content.default ObjectIf set to "true", the settings for the workgroup override client-side settings.default ObjectThe Athena engine version for running queries.default StringExecution Role ARN required to run Athena Spark Calculations.default ObjectThe configuration for the managed query results and encryption option.default ObjectIndicates that the Amazon CloudWatch metrics are enabled for the workgroup.default ObjectIndicates that the data usage control limit per query is removed.default ObjectReturns union: eitherBooleanorIResolvabledefault ObjectIf set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries.default ObjectThe result configuration information about the queries in this workgroup that will be updated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdditionalConfiguration
Additional Configuration that are passed to Athena Spark Calculations running in this workgroup.- See Also:
-
getBytesScannedCutoffPerQuery
The upper data usage limit (cutoff) for the amount of bytes a single query in a workgroup is allowed to scan.- See Also:
-
getCustomerContentEncryptionConfiguration
Indicates the KMS key for encrypting notebook content.Returns union: either
IResolvableorCfnWorkGroup.CustomerContentEncryptionConfigurationProperty- See Also:
-
getEnforceWorkGroupConfiguration
If set to "true", the settings for the workgroup override client-side settings.If set to "false", client-side settings are used
Returns union: either
BooleanorIResolvable- See Also:
-
getEngineVersion
The Athena engine version for running queries.Returns union: either
IResolvableorCfnWorkGroup.EngineVersionProperty- See Also:
-
getExecutionRole
Execution Role ARN required to run Athena Spark Calculations.- See Also:
-
getManagedQueryResultsConfiguration
The configuration for the managed query results and encryption option.ResultConfiguration and ManagedQueryResultsConfiguration cannot be set at the same time
Returns union: either
IResolvableorCfnWorkGroup.ManagedQueryResultsConfigurationProperty- See Also:
-
getPublishCloudWatchMetricsEnabled
Indicates that the Amazon CloudWatch metrics are enabled for the workgroup.Returns union: either
BooleanorIResolvable- See Also:
-
getRemoveBytesScannedCutoffPerQuery
Indicates that the data usage control limit per query is removed.Returns union: either
BooleanorIResolvable- See Also:
-
getRemoveCustomerContentEncryptionConfiguration
Returns union: eitherBooleanorIResolvable- See Also:
-
getRequesterPaysEnabled
If set to true, allows members assigned to a workgroup to reference Amazon S3 Requester Pays buckets in queries.If set to false, workgroup members cannot query data from Requester Pays buckets, and queries that retrieve data from Requester Pays buckets cause an error.
Returns union: either
BooleanorIResolvable- See Also:
-
getResultConfigurationUpdates
The result configuration information about the queries in this workgroup that will be updated.Includes the updated results location and an updated option for encrypting query results.
Returns union: either
IResolvableorCfnWorkGroup.ResultConfigurationUpdatesProperty- See Also:
-
builder
-