cloudshift.awscdk.dsl.services.appsync.CfnDataSourceEventBridgeConfigPropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")
package cloudshift.awscdk.dsl.services.appsync
import cloudshift.awscdk.common.CdkDslMarker
import kotlin.String
import software.amazon.awscdk.services.appsync.CfnDataSource
/**
* The data source.
*
* This can be an API destination, resource, or AWS service.
*
* 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.appsync.*;
* EventBridgeConfigProperty eventBridgeConfigProperty = EventBridgeConfigProperty.builder()
* .eventBusArn("eventBusArn")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-eventbridgeconfig.html)
*/
@CdkDslMarker
public class CfnDataSourceEventBridgeConfigPropertyDsl {
private val cdkBuilder: CfnDataSource.EventBridgeConfigProperty.Builder =
CfnDataSource.EventBridgeConfigProperty.builder()
/**
* @param eventBusArn The event bus pipeline's ARN.
* For more information about event buses, see [EventBridge event
* buses](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus.html) .
*/
public fun eventBusArn(eventBusArn: String) {
cdkBuilder.eventBusArn(eventBusArn)
}
public fun build(): CfnDataSource.EventBridgeConfigProperty = cdkBuilder.build()
}