getEbsVolumes

aws.ebs.getEbsVolumes provides identifying information for EBS volumes matching given criteria. This data source can be useful for getting a list of volume IDs with (for example) matching tags.

Example Usage

The following demonstrates obtaining a map of availability zone to EBS volume ID for volumes with a given tag value. No Java example available.

Return

A collection of values returned by getEbsVolumes.

Parameters

argument

A collection of arguments for invoking getEbsVolumes.


suspend fun getEbsVolumes(filters: List<GetEbsVolumesFilter>? = null, tags: Map<String, String>? = null): GetEbsVolumesResult

Return

A collection of values returned by getEbsVolumes.

Parameters

filters

Custom filter block as described below.

tags

Map of tags, each pair of which must exactly match a pair on the desired volumes. More complex filters can be expressed using one or more filter sub-blocks, which take the following arguments:

See also


Return

A collection of values returned by getEbsVolumes.

Parameters

argument

Builder for com.pulumi.aws.ebs.kotlin.inputs.GetEbsVolumesPlainArgs.

See also