get Subnet Group
Provides details about a specific redshift subnet group.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.RedshiftFunctions;
import com.pulumi.aws.redshift.inputs.GetSubnetGroupArgs;
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 example = RedshiftFunctions.getSubnetGroup(GetSubnetGroupArgs.builder()
.name(aws_redshift_subnet_group.example().name())
.build());
}
}
Content copied to clipboard
Return
A collection of values returned by getSubnetGroup.
Parameters
argument
A collection of arguments for invoking getSubnetGroup.
Return
A collection of values returned by getSubnetGroup.
Parameters
name
Name of the cluster subnet group for which information is requested.
tags
Tags associated to the Subnet Group
See also
suspend fun getSubnetGroup(argument: suspend GetSubnetGroupPlainArgsBuilder.() -> Unit): GetSubnetGroupResult
Return
A collection of values returned by getSubnetGroup.
Parameters
argument
Builder for com.pulumi.aws.redshift.kotlin.inputs.GetSubnetGroupPlainArgs.