Interface CfnWorkGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:11.522Z")
@Stability(Stable)
public interface CfnWorkGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
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.*; CfnWorkGroupProps cfnWorkGroupProps = CfnWorkGroupProps.builder() .name("name") // the properties below are optional .description("description") .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) .engineVersion(EngineVersionProperty.builder() .effectiveEngineVersion("effectiveEngineVersion") .selectedEngineVersion("selectedEngineVersion") .build()) .executionRole("executionRole") .publishCloudWatchMetricsEnabled(false) .requesterPaysEnabled(false) .resultConfiguration(ResultConfigurationProperty.builder() .aclConfiguration(AclConfigurationProperty.builder() .s3AclOption("s3AclOption") .build()) .encryptionConfiguration(EncryptionConfigurationProperty.builder() .encryptionOption("encryptionOption") // the properties below are optional .kmsKey("kmsKey") .build()) .expectedBucketOwner("expectedBucketOwner") .outputLocation("outputLocation") .build()) .build()) .workGroupConfigurationUpdates(WorkGroupConfigurationUpdatesProperty.builder() .additionalConfiguration("additionalConfiguration") .bytesScannedCutoffPerQuery(123) .customerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationProperty.builder() .kmsKey("kmsKey") .build()) .enforceWorkGroupConfiguration(false) .engineVersion(EngineVersionProperty.builder() .effectiveEngineVersion("effectiveEngineVersion") .selectedEngineVersion("selectedEngineVersion") .build()) .executionRole("executionRole") .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()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWorkGroupProps
static final class
An implementation forCfnWorkGroupProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkGroupProps.Builder
builder()
default String
The workgroup description.getName()
The workgroup name.default Object
The option to delete a workgroup and its contents even if the workgroup contains any named queries.default String
getState()
The state of the workgroup: ENABLED or DISABLED.getTags()
The tags (key-value pairs) to associate with this resource.default Object
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.default Object
Deprecated.this property has been deprecatedMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The workgroup name.- See Also:
-
getDescription
The workgroup description.- See Also:
-
getRecursiveDeleteOption
The option to delete a workgroup and its contents even if the workgroup contains any named queries.The default is false.
- 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
EnforceWorkGroupConfiguration
option determines whether workgroup settings override client-side query settings.- 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.- See Also:
-
builder
- Returns:
- a
CfnWorkGroupProps.Builder
ofCfnWorkGroupProps
-