com.pulumi.aws.kinesis.kotlin.inputs.FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.kinesis.kotlin.inputs
import com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property roleArn The ARN of the IAM role to be assumed by Firehose for calling the Amazon EC2 configuration API and for creating network interfaces. Make sure role has necessary [IAM permissions](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-es-vpc)
* @property securityGroupIds A list of security group IDs to associate with Kinesis Firehose.
* @property subnetIds A list of subnet IDs to associate with Kinesis Firehose.
* @property vpcId
*/
public data class FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgs(
public val roleArn: Output,
public val securityGroupIds: Output>,
public val subnetIds: Output>,
public val vpcId: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgs =
com.pulumi.aws.kinesis.inputs.FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgs.builder()
.roleArn(roleArn.applyValue({ args0 -> args0 }))
.securityGroupIds(securityGroupIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.subnetIds(subnetIds.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.vpcId(vpcId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgs].
*/
@PulumiTagMarker
public class FirehoseDeliveryStreamElasticsearchConfigurationVpcConfigArgsBuilder internal constructor() {
private var roleArn: Output? = null
private var securityGroupIds: Output>? = null
private var subnetIds: Output>? = null
private var vpcId: Output? = null
/**
* @param value The ARN of the IAM role to be assumed by Firehose for calling the Amazon EC2 configuration API and for creating network interfaces. Make sure role has necessary [IAM permissions](https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-es-vpc)
*/
@JvmName("afdelfpeilcvdrwy")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value A list of security group IDs to associate with Kinesis Firehose.
*/
@JvmName("vdujvhmrtiaaqqwr")
public suspend fun securityGroupIds(`value`: Output>) {
this.securityGroupIds = value
}
@JvmName("rjldksbmvxsqgswj")
public suspend fun securityGroupIds(vararg values: Output) {
this.securityGroupIds = Output.all(values.asList())
}
/**
* @param values A list of security group IDs to associate with Kinesis Firehose.
*/
@JvmName("stvlsndvtwrlwoyy")
public suspend fun securityGroupIds(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy