get Vpc Peering Connections
suspend fun getVpcPeeringConnections(argument: GetVpcPeeringConnectionsPlainArgs): GetVpcPeeringConnectionsResult
Use this data source to get IDs of Amazon VPC peering connections To get more details on each connection, use the data resource aws.ec2.VpcPeeringConnection Note: To use this data source in a count, the resources should exist before trying to access the data source.
Return
A collection of values returned by getVpcPeeringConnections.
Parameters
argument
A collection of arguments for invoking getVpcPeeringConnections.
suspend fun getVpcPeeringConnections(filters: List<GetVpcPeeringConnectionsFilter>? = null, tags: Map<String, String>? = null): GetVpcPeeringConnectionsResult
Return
A collection of values returned by getVpcPeeringConnections.
See also
Parameters
filters
Custom filter block as described below.
tags
Mapping of tags, each pair of which must exactly match a pair on the desired VPC Peering Connection.
suspend fun getVpcPeeringConnections(argument: suspend GetVpcPeeringConnectionsPlainArgsBuilder.() -> Unit): GetVpcPeeringConnectionsResult
Return
A collection of values returned by getVpcPeeringConnections.
See also
Parameters
argument
Builder for com.pulumi.aws.ec2.kotlin.inputs.GetVpcPeeringConnectionsPlainArgs.