1. Packages
  2. AWS Native
  3. API Docs
  4. cloudfront
  5. getKeyGroup

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.cloudfront.getKeyGroup

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

    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
    
    fn::invoke:
      function: aws-native:cloudfront:getKeyGroup
      arguments:
        # 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

    KeyGroupConfig

    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

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi