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

cloudshift.awscdk.dsl.services.appflow.CfnFlowCustomConnectorSourcePropertiesPropertyDsl.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.appflow

import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import kotlin.collections.Map
import software.amazon.awscdk.IResolvable
import software.amazon.awscdk.services.appflow.CfnFlow

/**
 * The properties that are applied when the custom connector is being used as a source.
 *
 * 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.appflow.*;
 * CustomConnectorSourcePropertiesProperty customConnectorSourcePropertiesProperty =
 * CustomConnectorSourcePropertiesProperty.builder()
 * .entityName("entityName")
 * // the properties below are optional
 * .customProperties(Map.of(
 * "customPropertiesKey", "customProperties"))
 * .dataTransferApi(DataTransferApiProperty.builder()
 * .name("name")
 * .type("type")
 * .build())
 * .build();
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-customconnectorsourceproperties.html)
 */
@CdkDslMarker
public class CfnFlowCustomConnectorSourcePropertiesPropertyDsl {
  private val cdkBuilder: CfnFlow.CustomConnectorSourcePropertiesProperty.Builder =
      CfnFlow.CustomConnectorSourcePropertiesProperty.builder()

  /**
   * @param customProperties Custom properties that are required to use the custom connector as a
   * source.
   */
  public fun customProperties(customProperties: Map) {
    cdkBuilder.customProperties(customProperties)
  }

  /**
   * @param customProperties Custom properties that are required to use the custom connector as a
   * source.
   */
  public fun customProperties(customProperties: IResolvable) {
    cdkBuilder.customProperties(customProperties)
  }

  /**
   * @param dataTransferApi the value to be set.
   */
  public fun dataTransferApi(dataTransferApi: IResolvable) {
    cdkBuilder.dataTransferApi(dataTransferApi)
  }

  /**
   * @param dataTransferApi the value to be set.
   */
  public fun dataTransferApi(dataTransferApi: CfnFlow.DataTransferApiProperty) {
    cdkBuilder.dataTransferApi(dataTransferApi)
  }

  /**
   * @param entityName The entity specified in the custom connector as a source in the flow. 
   */
  public fun entityName(entityName: String) {
    cdkBuilder.entityName(entityName)
  }

  public fun build(): CfnFlow.CustomConnectorSourcePropertiesProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy