1. Packages
  2. AWS
  3. API Docs
  4. memorydb
  5. getParameterGroup
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.memorydb.getParameterGroup

Explore with Pulumi AI

Provides information about a MemoryDB Parameter Group.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.memorydb.getParameterGroup({
    name: "my-parameter-group",
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.memorydb.get_parameter_group(name="my-parameter-group")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := memorydb.LookupParameterGroup(ctx, &memorydb.LookupParameterGroupArgs{
			Name: "my-parameter-group",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.MemoryDb.GetParameterGroup.Invoke(new()
    {
        Name = "my-parameter-group",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.memorydb.MemorydbFunctions;
import com.pulumi.aws.memorydb.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 example = MemorydbFunctions.getParameterGroup(GetParameterGroupArgs.builder()
            .name("my-parameter-group")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:memorydb:getParameterGroup
      arguments:
        name: my-parameter-group
Copy

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>
Copy
def get_parameter_group(name: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        opts: Optional[InvokeOptions] = None) -> GetParameterGroupResult
def get_parameter_group_output(name: Optional[pulumi.Input[str]] = None,
                        tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetParameterGroupResult]
Copy
func LookupParameterGroup(ctx *Context, args *LookupParameterGroupArgs, opts ...InvokeOption) (*LookupParameterGroupResult, error)
func LookupParameterGroupOutput(ctx *Context, args *LookupParameterGroupOutputArgs, opts ...InvokeOption) LookupParameterGroupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetParameterGroupResult> getParameterGroup(GetParameterGroupArgs args, InvokeOptions options)
public static Output<GetParameterGroupResult> getParameterGroup(GetParameterGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:memorydb/getParameterGroup:getParameterGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Name of the parameter group.
Tags Dictionary<string, string>
Map of tags assigned to the parameter group.
Name This property is required. string
Name of the parameter group.
Tags map[string]string
Map of tags assigned to the parameter group.
name This property is required. String
Name of the parameter group.
tags Map<String,String>
Map of tags assigned to the parameter group.
name This property is required. string
Name of the parameter group.
tags {[key: string]: string}
Map of tags assigned to the parameter group.
name This property is required. str
Name of the parameter group.
tags Mapping[str, str]
Map of tags assigned to the parameter group.
name This property is required. String
Name of the parameter group.
tags Map<String>
Map of tags assigned to the parameter group.

getParameterGroup Result

The following output properties are available:

Arn string
ARN of the parameter group.
Description string
Description of the parameter group.
Family string
Engine version that the parameter group can be used with.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the parameter.
Parameters List<GetParameterGroupParameter>
Set of user-defined MemoryDB parameters applied by the parameter group.
Tags Dictionary<string, string>
Map of tags assigned to the parameter group.
Arn string
ARN of the parameter group.
Description string
Description of the parameter group.
Family string
Engine version that the parameter group can be used with.
Id string
The provider-assigned unique ID for this managed resource.
Name string
Name of the parameter.
Parameters []GetParameterGroupParameter
Set of user-defined MemoryDB parameters applied by the parameter group.
Tags map[string]string
Map of tags assigned to the parameter group.
arn String
ARN of the parameter group.
description String
Description of the parameter group.
family String
Engine version that the parameter group can be used with.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the parameter.
parameters List<GetParameterGroupParameter>
Set of user-defined MemoryDB parameters applied by the parameter group.
tags Map<String,String>
Map of tags assigned to the parameter group.
arn string
ARN of the parameter group.
description string
Description of the parameter group.
family string
Engine version that the parameter group can be used with.
id string
The provider-assigned unique ID for this managed resource.
name string
Name of the parameter.
parameters GetParameterGroupParameter[]
Set of user-defined MemoryDB parameters applied by the parameter group.
tags {[key: string]: string}
Map of tags assigned to the parameter group.
arn str
ARN of the parameter group.
description str
Description of the parameter group.
family str
Engine version that the parameter group can be used with.
id str
The provider-assigned unique ID for this managed resource.
name str
Name of the parameter.
parameters Sequence[GetParameterGroupParameter]
Set of user-defined MemoryDB parameters applied by the parameter group.
tags Mapping[str, str]
Map of tags assigned to the parameter group.
arn String
ARN of the parameter group.
description String
Description of the parameter group.
family String
Engine version that the parameter group can be used with.
id String
The provider-assigned unique ID for this managed resource.
name String
Name of the parameter.
parameters List<Property Map>
Set of user-defined MemoryDB parameters applied by the parameter group.
tags Map<String>
Map of tags assigned to the parameter group.

Supporting Types

GetParameterGroupParameter

Name This property is required. string
Name of the parameter group.
Value This property is required. string
Value of the parameter.
Name This property is required. string
Name of the parameter group.
Value This property is required. string
Value of the parameter.
name This property is required. String
Name of the parameter group.
value This property is required. String
Value of the parameter.
name This property is required. string
Name of the parameter group.
value This property is required. string
Value of the parameter.
name This property is required. str
Name of the parameter group.
value This property is required. str
Value of the parameter.
name This property is required. String
Name of the parameter group.
value This property is required. String
Value of the parameter.

Package Details

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