get Cluster
Provides information about an RDS cluster.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.rds.RdsFunctions;
import com.pulumi.aws.rds.inputs.GetClusterArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var clusterName = RdsFunctions.getCluster(GetClusterArgs.builder()
.clusterIdentifier("clusterName")
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getCluster.
Parameters
argument
A collection of arguments for invoking getCluster.
suspend fun getCluster(clusterIdentifier: String, tags: Map<String, String>? = null): GetClusterResult
Return
A collection of values returned by getCluster.
Parameters
cluster Identifier
Cluster identifier of the RDS cluster.
tags
A map of tags assigned to the resource.
See also
Return
A collection of values returned by getCluster.
Parameters
argument
Builder for com.pulumi.aws.rds.kotlin.inputs.GetClusterPlainArgs.