1. Packages
  2. AWS Classic
  3. API Docs
  4. rds
  5. getParameterGroup

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.rds.getParameterGroup

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    Information about a database parameter group.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const test = aws.rds.getParameterGroup({
        name: "default.postgres15",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    test = aws.rds.get_parameter_group(name="default.postgres15")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/rds"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds.LookupParameterGroup(ctx, &rds.LookupParameterGroupArgs{
    			Name: "default.postgres15",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Aws.Rds.GetParameterGroup.Invoke(new()
        {
            Name = "default.postgres15",
        });
    
    });
    
    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.GetParameterGroupArgs;
    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 test = RdsFunctions.getParameterGroup(GetParameterGroupArgs.builder()
                .name("default.postgres15")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          Function: aws:rds:getParameterGroup
          Arguments:
            name: default.postgres15
    

    Using getParameterGroup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getParameterGroup(args: GetParameterGroupArgs, opts?: InvokeOptions): Promise<GetParameterGroupResult>
    function getParameterGroupOutput(args: GetParameterGroupOutputArgs, opts?: InvokeOptions): Output<GetParameterGroupResult>
    def get_parameter_group(name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetParameterGroupResult
    def get_parameter_group_output(name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetParameterGroupResult]
    func LookupParameterGroup(ctx *Context, args *LookupParameterGroupArgs, opts ...InvokeOption) (*LookupParameterGroupResult, error)
    func LookupParameterGroupOutput(ctx *Context, args *LookupParameterGroupOutputArgs, opts ...InvokeOption) LookupParameterGroupResultOutput

    > Note: This function is named LookupParameterGroup in the Go SDK.

    public static class GetParameterGroup 
    {
        public static Task<GetParameterGroupResult> InvokeAsync(GetParameterGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetParameterGroupResult> Invoke(GetParameterGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetParameterGroupResult> getParameterGroup(GetParameterGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws:rds/getParameterGroup:getParameterGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    DB parameter group name.
    Name string
    DB parameter group name.
    name String
    DB parameter group name.
    name string
    DB parameter group name.
    name str
    DB parameter group name.
    name String
    DB parameter group name.

    getParameterGroup Result

    The following output properties are available:

    Arn string
    ARN of the parameter group.
    Description string
    Description of the parameter group.
    Family string
    Family of the parameter group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Arn string
    ARN of the parameter group.
    Description string
    Description of the parameter group.
    Family string
    Family of the parameter group.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    arn String
    ARN of the parameter group.
    description String
    Description of the parameter group.
    family String
    Family of the parameter group.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    arn string
    ARN of the parameter group.
    description string
    Description of the parameter group.
    family string
    Family of the parameter group.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    arn str
    ARN of the parameter group.
    description str
    Description of the parameter group.
    family str
    Family of the parameter group.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    arn String
    ARN of the parameter group.
    description String
    Description of the parameter group.
    family String
    Family of the parameter group.
    id String
    The provider-assigned unique ID for this managed resource.
    name String

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi