aws-native logo
AWS Native v0.54.0, Mar 21 23


Resource Type definition for AWS::CloudFront::KeyGroup

Using getKeyGroup

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 getKeyGroup(args: GetKeyGroupArgs, opts?: InvokeOptions): Promise<GetKeyGroupResult>
function getKeyGroupOutput(args: GetKeyGroupOutputArgs, opts?: InvokeOptions): Output<GetKeyGroupResult>
def get_key_group(id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetKeyGroupResult
def get_key_group_output(id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetKeyGroupResult]
func LookupKeyGroup(ctx *Context, args *LookupKeyGroupArgs, opts ...InvokeOption) (*LookupKeyGroupResult, error)
func LookupKeyGroupOutput(ctx *Context, args *LookupKeyGroupOutputArgs, opts ...InvokeOption) LookupKeyGroupResultOutput

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

public static class GetKeyGroup 
    public static Task<GetKeyGroupResult> InvokeAsync(GetKeyGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetKeyGroupResult> Invoke(GetKeyGroupInvokeArgs args, InvokeOptions? opts = null)
public static CompletableFuture<GetKeyGroupResult> getKeyGroup(GetKeyGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
  function: aws-native:cloudfront:getKeyGroup
    # arguments dictionary

The following arguments are supported:

Id string
Id string
id String
id string
id str
id String

getKeyGroup Result

The following output properties are available:

Supporting Types


Items List<string>
Name string
Comment string
Items []string
Name string
Comment string
items List<String>
name String
comment String
items string[]
name string
comment string
items Sequence[str]
name str
comment str
items List<String>
name String
comment String

Package Details

AWS Native pulumi/pulumi-aws-native