com.pulumi.aws.iot.kotlin.outputs.TopicRuleDestinationVpcConfiguration.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.iot.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property roleArn The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
* @property securityGroups The security groups of the VPC destination.
* @property subnetIds The subnet IDs of the VPC destination.
* @property vpcId The ID of the VPC.
*/
public data class TopicRuleDestinationVpcConfiguration(
public val roleArn: String,
public val securityGroups: List? = null,
public val subnetIds: List,
public val vpcId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.iot.outputs.TopicRuleDestinationVpcConfiguration): TopicRuleDestinationVpcConfiguration = TopicRuleDestinationVpcConfiguration(
roleArn = javaType.roleArn(),
securityGroups = javaType.securityGroups().map({ args0 -> args0 }),
subnetIds = javaType.subnetIds().map({ args0 -> args0 }),
vpcId = javaType.vpcId(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy