com.pulumi.gcp.pubsub.kotlin.outputs.GetTopicIngestionDataSourceSettingAwsKinese.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.pubsub.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property awsRoleArn AWS role ARN to be used for Federated Identity authentication with
* Kinesis. Check the Pub/Sub docs for how to set up this role and the
* required permissions that need to be attached to it.
* @property consumerArn The Kinesis consumer ARN to used for ingestion in
* Enhanced Fan-Out mode. The consumer must be already
* created and ready to be used.
* @property gcpServiceAccount The GCP service account to be used for Federated Identity authentication
* with Kinesis (via a 'AssumeRoleWithWebIdentity' call for the provided
* role). The 'awsRoleArn' must be set up with 'accounts.google.com:sub'
* equals to this service account number.
* @property streamArn The Kinesis stream ARN to ingest data from.
*/
public data class GetTopicIngestionDataSourceSettingAwsKinese(
public val awsRoleArn: String,
public val consumerArn: String,
public val gcpServiceAccount: String,
public val streamArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.pubsub.outputs.GetTopicIngestionDataSourceSettingAwsKinese): GetTopicIngestionDataSourceSettingAwsKinese = GetTopicIngestionDataSourceSettingAwsKinese(
awsRoleArn = javaType.awsRoleArn(),
consumerArn = javaType.consumerArn(),
gcpServiceAccount = javaType.gcpServiceAccount(),
streamArn = javaType.streamArn(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy