com.pulumi.aws.ec2transitgateway.kotlin.outputs.GetRouteTableRoutesRoute.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.ec2transitgateway.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property destinationCidrBlock The CIDR used for route destination matches.
* @property prefixListId The ID of the prefix list used for destination matches.
* @property state The current state of the route, can be `active`, `deleted`, `pending`, `blackhole`, `deleting`.
* @property transitGatewayRouteTableAnnouncementId The id of the transit gateway route table announcement, most of the time it is an empty string.
* @property type The type of the route, can be `propagated` or `static`.
*/
public data class GetRouteTableRoutesRoute(
public val destinationCidrBlock: String,
public val prefixListId: String,
public val state: String,
public val transitGatewayRouteTableAnnouncementId: String,
public val type: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.ec2transitgateway.outputs.GetRouteTableRoutesRoute): GetRouteTableRoutesRoute = GetRouteTableRoutesRoute(
destinationCidrBlock = javaType.destinationCidrBlock(),
prefixListId = javaType.prefixListId(),
state = javaType.state(),
transitGatewayRouteTableAnnouncementId = javaType.transitGatewayRouteTableAnnouncementId(),
type = javaType.type(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy