Interface CfnWorkGroupMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroupMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:56.094Z")
@Stability(Stable)
public interface CfnWorkGroupMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnWorkGroupPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.athena.*;
CfnWorkGroupMixinProps cfnWorkGroupMixinProps = CfnWorkGroupMixinProps.builder()
.description("description")
.name("name")
.recursiveDeleteOption(false)
.state("state")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.workGroupConfiguration(WorkGroupConfigurationProperty.builder()
.additionalConfiguration("additionalConfiguration")
.bytesScannedCutoffPerQuery(123)
.customerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationProperty.builder()
.kmsKey("kmsKey")
.build())
.enforceWorkGroupConfiguration(false)
.engineConfiguration(EngineConfigurationProperty.builder()
.additionalConfigs(Map.of(
"additionalConfigsKey", "additionalConfigs"))
.classifications(List.of(ClassificationProperty.builder()
.name("name")
.properties(Map.of(
"propertiesKey", "properties"))
.build()))
.coordinatorDpuSize(123)
.defaultExecutorDpuSize(123)
.maxConcurrentDpus(123)
.sparkProperties(Map.of(
"sparkPropertiesKey", "sparkProperties"))
.build())
.engineVersion(EngineVersionProperty.builder()
.effectiveEngineVersion("effectiveEngineVersion")
.selectedEngineVersion("selectedEngineVersion")
.build())
.executionRole("executionRole")
.managedQueryResultsConfiguration(ManagedQueryResultsConfigurationProperty.builder()
.enabled(false)
.encryptionConfiguration(ManagedStorageEncryptionConfigurationProperty.builder()
.kmsKey("kmsKey")
.build())
.build())
.monitoringConfiguration(MonitoringConfigurationProperty.builder()
.cloudWatchLoggingConfiguration(CloudWatchLoggingConfigurationProperty.builder()
.enabled(false)
.logGroup("logGroup")
.logStreamNamePrefix("logStreamNamePrefix")
.logTypes(Map.of(
"logTypesKey", List.of("logTypes")))
.build())
.managedLoggingConfiguration(ManagedLoggingConfigurationProperty.builder()
.enabled(false)
.kmsKey("kmsKey")
.build())
.s3LoggingConfiguration(S3LoggingConfigurationProperty.builder()
.enabled(false)
.kmsKey("kmsKey")
.logLocation("logLocation")
.build())
.build())
.publishCloudWatchMetricsEnabled(false)
.requesterPaysEnabled(false)
.resultConfiguration(ResultConfigurationProperty.builder()
.aclConfiguration(AclConfigurationProperty.builder()
.s3AclOption("s3AclOption")
.build())
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.encryptionOption("encryptionOption")
.kmsKey("kmsKey")
.build())
.expectedBucketOwner("expectedBucketOwner")
.outputLocation("outputLocation")
.build())
.build())
.workGroupConfigurationUpdates(WorkGroupConfigurationUpdatesProperty.builder()
.additionalConfiguration("additionalConfiguration")
.bytesScannedCutoffPerQuery(123)
.customerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationProperty.builder()
.kmsKey("kmsKey")
.build())
.enforceWorkGroupConfiguration(false)
.engineConfiguration(EngineConfigurationProperty.builder()
.additionalConfigs(Map.of(
"additionalConfigsKey", "additionalConfigs"))
.classifications(List.of(ClassificationProperty.builder()
.name("name")
.properties(Map.of(
"propertiesKey", "properties"))
.build()))
.coordinatorDpuSize(123)
.defaultExecutorDpuSize(123)
.maxConcurrentDpus(123)
.sparkProperties(Map.of(
"sparkPropertiesKey", "sparkProperties"))
.build())
.engineVersion(EngineVersionProperty.builder()
.effectiveEngineVersion("effectiveEngineVersion")
.selectedEngineVersion("selectedEngineVersion")
.build())
.executionRole("executionRole")
.managedQueryResultsConfiguration(ManagedQueryResultsConfigurationProperty.builder()
.enabled(false)
.encryptionConfiguration(ManagedStorageEncryptionConfigurationProperty.builder()
.kmsKey("kmsKey")
.build())
.build())
.monitoringConfiguration(MonitoringConfigurationProperty.builder()
.cloudWatchLoggingConfiguration(CloudWatchLoggingConfigurationProperty.builder()
.enabled(false)
.logGroup("logGroup")
.logStreamNamePrefix("logStreamNamePrefix")
.logTypes(Map.of(
"logTypesKey", List.of("logTypes")))
.build())
.managedLoggingConfiguration(ManagedLoggingConfigurationProperty.builder()
.enabled(false)
.kmsKey("kmsKey")
.build())
.s3LoggingConfiguration(S3LoggingConfigurationProperty.builder()
.enabled(false)
.kmsKey("kmsKey")
.logLocation("logLocation")
.build())
.build())
.publishCloudWatchMetricsEnabled(false)
.removeBytesScannedCutoffPerQuery(false)
.removeCustomerContentEncryptionConfiguration(false)
.requesterPaysEnabled(false)
.resultConfigurationUpdates(ResultConfigurationUpdatesProperty.builder()
.aclConfiguration(AclConfigurationProperty.builder()
.s3AclOption("s3AclOption")
.build())
.encryptionConfiguration(EncryptionConfigurationProperty.builder()
.encryptionOption("encryptionOption")
.kmsKey("kmsKey")
.build())
.expectedBucketOwner("expectedBucketOwner")
.outputLocation("outputLocation")
.removeAclConfiguration(false)
.removeEncryptionConfiguration(false)
.removeExpectedBucketOwner(false)
.removeOutputLocation(false)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkGroupMixinPropsstatic final classAn implementation forCfnWorkGroupMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe workgroup description.default StringgetName()The workgroup name.default ObjectThe option to delete a workgroup and its contents even if the workgroup contains any named queries.default StringgetState()The state of the workgroup: ENABLED or DISABLED.getTags()The tags (key-value pairs) to associate with this resource.default ObjectThe configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.default ObjectDeprecated.this property has been deprecatedMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDescription
The workgroup description.- See Also:
-
getName
The workgroup name.- See Also:
-
getRecursiveDeleteOption
The option to delete a workgroup and its contents even if the workgroup contains any named queries.The default is false.
Returns union: either
BooleanorIResolvable- See Also:
-
getState
The state of the workgroup: ENABLED or DISABLED.- See Also:
-
getTags
The tags (key-value pairs) to associate with this resource.- See Also:
-
getWorkGroupConfiguration
The configuration of the workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether Amazon CloudWatch Metrics are enabled for the workgroup, and the limit for the amount of bytes scanned (cutoff) per query, if it is specified.The
EnforceWorkGroupConfigurationoption determines whether workgroup settings override client-side query settings.Returns union: either
IResolvableorCfnWorkGroupPropsMixin.WorkGroupConfigurationProperty- See Also:
-
getWorkGroupConfigurationUpdates
Deprecated.this property has been deprecated(deprecated) The configuration information that will be updated for this workgroup, which includes the location in Amazon S3 where query results are stored, the encryption option, if any, used for query results, whether the Amazon CloudWatch Metrics are enabled for the workgroup, whether the workgroup settings override the client-side settings, and the data usage limit for the amount of bytes scanned per query, if it is specified.Returns union: either
IResolvableorCfnWorkGroupPropsMixin.WorkGroupConfigurationUpdatesProperty- See Also:
-
builder
- Returns:
- a
CfnWorkGroupMixinProps.BuilderofCfnWorkGroupMixinProps
-