com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetParameters.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.String
import kotlin.Suppress
/**
*
* @property batchJobParameters The parameters for using an AWS Batch job as a target.
* @property cloudWatchLogsParameters The parameters for using an CloudWatch Logs log stream as a target.
* @property ecsTaskParameters The parameters for using an Amazon ECS task as a target.
* @property eventBridgeEventBusParameters The parameters for using an EventBridge event bus as a target.
* @property httpParameters These are custom parameter to be used when the target is an API Gateway REST APIs or EventBridge ApiDestinations.
* @property inputTemplate Valid JSON text passed to the target. In this case, nothing from the event itself is passed to the target. For more information, see [The JavaScript Object Notation (JSON) Data Interchange Format](https://docs.aws.amazon.com/http://www.rfc-editor.org/rfc/rfc7159.txt) .
* To remove an input template, specify an empty string.
* @property kinesisStreamParameters The parameters for using a Kinesis stream as a target.
* @property lambdaFunctionParameters The parameters for using a Lambda function as a target.
* @property redshiftDataParameters These are custom parameters to be used when the target is a Amazon Redshift cluster to invoke the Amazon Redshift Data API BatchExecuteStatement.
* @property sageMakerPipelineParameters The parameters for using a SageMaker pipeline as a target.
* @property sqsQueueParameters The parameters for using a Amazon SQS stream as a target.
* @property stepFunctionStateMachineParameters The parameters for using a Step Functions state machine as a target.
* @property timestreamParameters The parameters for using a Timestream for LiveAnalytics table as a target.
*/
public data class PipeTargetParameters(
public val batchJobParameters: PipeTargetBatchJobParameters? = null,
public val cloudWatchLogsParameters: PipeTargetCloudWatchLogsParameters? = null,
public val ecsTaskParameters: PipeTargetEcsTaskParameters? = null,
public val eventBridgeEventBusParameters: PipeTargetEventBridgeEventBusParameters? = null,
public val httpParameters: PipeTargetHttpParameters? = null,
public val inputTemplate: String? = null,
public val kinesisStreamParameters: PipeTargetKinesisStreamParameters? = null,
public val lambdaFunctionParameters: PipeTargetLambdaFunctionParameters? = null,
public val redshiftDataParameters: PipeTargetRedshiftDataParameters? = null,
public val sageMakerPipelineParameters: PipeTargetSageMakerPipelineParameters? = null,
public val sqsQueueParameters: PipeTargetSqsQueueParameters? = null,
public val stepFunctionStateMachineParameters: PipeTargetStateMachineParameters? = null,
public val timestreamParameters: PipeTargetTimestreamParameters? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.pipes.outputs.PipeTargetParameters): PipeTargetParameters = PipeTargetParameters(
batchJobParameters = javaType.batchJobParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetBatchJobParameters.Companion.toKotlin(args0)
})
}).orElse(null),
cloudWatchLogsParameters = javaType.cloudWatchLogsParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetCloudWatchLogsParameters.Companion.toKotlin(args0)
})
}).orElse(null),
ecsTaskParameters = javaType.ecsTaskParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetEcsTaskParameters.Companion.toKotlin(args0)
})
}).orElse(null),
eventBridgeEventBusParameters = javaType.eventBridgeEventBusParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetEventBridgeEventBusParameters.Companion.toKotlin(args0)
})
}).orElse(null),
httpParameters = javaType.httpParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetHttpParameters.Companion.toKotlin(args0)
})
}).orElse(null),
inputTemplate = javaType.inputTemplate().map({ args0 -> args0 }).orElse(null),
kinesisStreamParameters = javaType.kinesisStreamParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetKinesisStreamParameters.Companion.toKotlin(args0)
})
}).orElse(null),
lambdaFunctionParameters = javaType.lambdaFunctionParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetLambdaFunctionParameters.Companion.toKotlin(args0)
})
}).orElse(null),
redshiftDataParameters = javaType.redshiftDataParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetRedshiftDataParameters.Companion.toKotlin(args0)
})
}).orElse(null),
sageMakerPipelineParameters = javaType.sageMakerPipelineParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetSageMakerPipelineParameters.Companion.toKotlin(args0)
})
}).orElse(null),
sqsQueueParameters = javaType.sqsQueueParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetSqsQueueParameters.Companion.toKotlin(args0)
})
}).orElse(null),
stepFunctionStateMachineParameters = javaType.stepFunctionStateMachineParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetStateMachineParameters.Companion.toKotlin(args0)
})
}).orElse(null),
timestreamParameters = javaType.timestreamParameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.pipes.kotlin.outputs.PipeTargetTimestreamParameters.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}