All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloudshift.awscdk.dsl.services.athena.CfnWorkGroupCustomerContentEncryptionConfigurationPropertyDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.athena

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.athena.CfnWorkGroup

/**
 * Specifies the KMS key that is used to encrypt the user's data stores in Athena.
 *
 * This setting does not apply to Athena SQL workgroups.
 *
 * 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.*;
 * CustomerContentEncryptionConfigurationProperty customerContentEncryptionConfigurationProperty =
 * CustomerContentEncryptionConfigurationProperty.builder()
 * .kmsKey("kmsKey")
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-athena-workgroup-customercontentencryptionconfiguration.html)
 */
@CdkDslMarker
public class CfnWorkGroupCustomerContentEncryptionConfigurationPropertyDsl {
  private val cdkBuilder: CfnWorkGroup.CustomerContentEncryptionConfigurationProperty.Builder =
      CfnWorkGroup.CustomerContentEncryptionConfigurationProperty.builder()

  /**
   * @param kmsKey The KMS key that is used to encrypt the user's data stores in Athena. 
   */
  public fun kmsKey(kmsKey: String) {
    cdkBuilder.kmsKey(kmsKey)
  }

  public fun build(): CfnWorkGroup.CustomerContentEncryptionConfigurationProperty =
      cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy