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

cloudshift.awscdk.dsl.services.redshiftserverless.CfnWorkgroupConfigParameterPropertyDsl.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.redshiftserverless

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.redshiftserverless.CfnWorkgroup

/**
 * A array of parameters to set for more control over a serverless database.
 *
 * 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.redshiftserverless.*;
 * ConfigParameterProperty configParameterProperty = ConfigParameterProperty.builder()
 * .parameterKey("parameterKey")
 * .parameterValue("parameterValue")
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-redshiftserverless-workgroup-configparameter.html)
 */
@CdkDslMarker
public class CfnWorkgroupConfigParameterPropertyDsl {
  private val cdkBuilder: CfnWorkgroup.ConfigParameterProperty.Builder =
      CfnWorkgroup.ConfigParameterProperty.builder()

  /**
   * @param parameterKey The key of the parameter.
   * The options are `datestyle` , `enable_user_activity_logging` , `query_group` , `search_path` ,
   * and `max_query_execution_time` .
   */
  public fun parameterKey(parameterKey: String) {
    cdkBuilder.parameterKey(parameterKey)
  }

  /**
   * @param parameterValue The value of the parameter to set.
   */
  public fun parameterValue(parameterValue: String) {
    cdkBuilder.parameterValue(parameterValue)
  }

  public fun build(): CfnWorkgroup.ConfigParameterProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy