![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.outputs.NetworkInsightsAnalysisAnalysisRouteTableRoute.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property destinationCidr The destination IPv4 address, in CIDR notation.
* @property destinationPrefixListId The prefix of the AWS service.
* @property egressOnlyInternetGatewayId The ID of an egress-only internet gateway.
* @property gatewayId The ID of the gateway, such as an internet gateway or virtual private gateway.
* @property instanceId The ID of the instance, such as a NAT instance.
* @property natGatewayId The ID of a NAT gateway.
* @property networkInterfaceId The ID of a network interface.
* @property origin Describes how the route was created. The following are the possible values:
* - CreateRouteTable - The route was automatically created when the route table was created.
* - CreateRoute - The route was manually added to the route table.
* - EnableVgwRoutePropagation - The route was propagated by route propagation.
* @property state The state. The following are the possible values:
* - active
* - blackhole
* @property transitGatewayId The ID of a transit gateway.
* @property vpcPeeringConnectionId The ID of a VPC peering connection.
*/
public data class NetworkInsightsAnalysisAnalysisRouteTableRoute(
public val destinationCidr: String? = null,
public val destinationPrefixListId: String? = null,
public val egressOnlyInternetGatewayId: String? = null,
public val gatewayId: String? = null,
public val instanceId: String? = null,
public val natGatewayId: String? = null,
public val networkInterfaceId: String? = null,
public val origin: String? = null,
public val state: String? = null,
public val transitGatewayId: String? = null,
public val vpcPeeringConnectionId: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.NetworkInsightsAnalysisAnalysisRouteTableRoute): NetworkInsightsAnalysisAnalysisRouteTableRoute =
NetworkInsightsAnalysisAnalysisRouteTableRoute(
destinationCidr = javaType.destinationCidr().map({ args0 -> args0 }).orElse(null),
destinationPrefixListId = javaType.destinationPrefixListId().map({ args0 -> args0 }).orElse(null),
egressOnlyInternetGatewayId = javaType.egressOnlyInternetGatewayId().map({ args0 ->
args0
}).orElse(null),
gatewayId = javaType.gatewayId().map({ args0 -> args0 }).orElse(null),
instanceId = javaType.instanceId().map({ args0 -> args0 }).orElse(null),
natGatewayId = javaType.natGatewayId().map({ args0 -> args0 }).orElse(null),
networkInterfaceId = javaType.networkInterfaceId().map({ args0 -> args0 }).orElse(null),
origin = javaType.origin().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
transitGatewayId = javaType.transitGatewayId().map({ args0 -> args0 }).orElse(null),
vpcPeeringConnectionId = javaType.vpcPeeringConnectionId().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy