com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceParameters.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.pipes.kotlin.outputs
import kotlin.Suppress
/**
*
* @property activeMqBrokerParameters The parameters for using an Active MQ broker as a source.
* @property dynamoDbStreamParameters The parameters for using a DynamoDB stream as a source.
* @property filterCriteria The collection of event patterns used to filter events.
* To remove a filter, specify a `FilterCriteria` object with an empty array of `Filter` objects.
* For more information, see [Events and Event Patterns](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) in the *Amazon EventBridge User Guide* .
* @property kinesisStreamParameters The parameters for using a Kinesis stream as a source.
* @property managedStreamingKafkaParameters The parameters for using an MSK stream as a source.
* @property rabbitMqBrokerParameters The parameters for using a Rabbit MQ broker as a source.
* @property selfManagedKafkaParameters The parameters for using a self-managed Apache Kafka stream as a source.
* A *self managed* cluster refers to any Apache Kafka cluster not hosted by AWS . This includes both clusters you manage yourself, as well as those hosted by a third-party provider, such as [Confluent Cloud](https://docs.aws.amazon.com/https://www.confluent.io/) , [CloudKarafka](https://docs.aws.amazon.com/https://www.cloudkarafka.com/) , or [Redpanda](https://docs.aws.amazon.com/https://redpanda.com/) . For more information, see [Apache Kafka streams as a source](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-pipes-kafka.html) in the *Amazon EventBridge User Guide* .
* @property sqsQueueParameters The parameters for using a Amazon SQS stream as a source.
*/
public data class PipeSourceParameters(
public val activeMqBrokerParameters: PipeSourceActiveMqBrokerParameters? = null,
public val dynamoDbStreamParameters: PipeSourceDynamoDbStreamParameters? = null,
public val filterCriteria: PipeFilterCriteria? = null,
public val kinesisStreamParameters: PipeSourceKinesisStreamParameters? = null,
public val managedStreamingKafkaParameters: PipeSourceManagedStreamingKafkaParameters? = null,
public val rabbitMqBrokerParameters: PipeSourceRabbitMqBrokerParameters? = null,
public val selfManagedKafkaParameters: PipeSourceSelfManagedKafkaParameters? = null,
public val sqsQueueParameters: PipeSourceSqsQueueParameters? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeSourceParameters): PipeSourceParameters = PipeSourceParameters(
activeMqBrokerParameters = javaType.activeMqBrokerParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceActiveMqBrokerParameters.Companion.toKotlin(args0)
})
}).orElse(null),
dynamoDbStreamParameters = javaType.dynamoDbStreamParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceDynamoDbStreamParameters.Companion.toKotlin(args0)
})
}).orElse(null),
filterCriteria = javaType.filterCriteria().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeFilterCriteria.Companion.toKotlin(args0)
})
}).orElse(null),
kinesisStreamParameters = javaType.kinesisStreamParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceKinesisStreamParameters.Companion.toKotlin(args0)
})
}).orElse(null),
managedStreamingKafkaParameters = javaType.managedStreamingKafkaParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceManagedStreamingKafkaParameters.Companion.toKotlin(args0)
})
}).orElse(null),
rabbitMqBrokerParameters = javaType.rabbitMqBrokerParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceRabbitMqBrokerParameters.Companion.toKotlin(args0)
})
}).orElse(null),
selfManagedKafkaParameters = javaType.selfManagedKafkaParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceSelfManagedKafkaParameters.Companion.toKotlin(args0)
})
}).orElse(null),
sqsQueueParameters = javaType.sqsQueueParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeSourceSqsQueueParameters.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}