Interface CfnWorkGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.785Z")
@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()) .build();
-
Nested Class Summary
Modifier 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.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The workgroup name. -
getDescription
The workgroup description. -
getRecursiveDeleteOption
The option to delete a workgroup and its contents even if the workgroup contains any named queries.The default is false.
-
getState
The state of the workgroup: ENABLED or DISABLED. -
getTags
The tags (key-value pairs) to associate with this resource. -
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. -
builder
- Returns:
- a
CfnWorkGroupProps.Builder
ofCfnWorkGroupProps
-