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

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.cloudfront.getKeyGroup

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 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
    The identifier for the key group.
    Id string
    The identifier for the key group.
    id String
    The identifier for the key group.
    id string
    The identifier for the key group.
    id str
    The identifier for the key group.
    id String
    The identifier for the key group.

    getKeyGroup Result

    The following output properties are available:

    Id string
    The identifier for the key group.
    KeyGroupConfig Pulumi.AwsNative.CloudFront.Outputs.KeyGroupConfig
    The key group configuration.
    LastModifiedTime string
    The date and time when the key group was last modified.
    Id string
    The identifier for the key group.
    KeyGroupConfig KeyGroupConfig
    The key group configuration.
    LastModifiedTime string
    The date and time when the key group was last modified.
    id String
    The identifier for the key group.
    keyGroupConfig KeyGroupConfig
    The key group configuration.
    lastModifiedTime String
    The date and time when the key group was last modified.
    id string
    The identifier for the key group.
    keyGroupConfig KeyGroupConfig
    The key group configuration.
    lastModifiedTime string
    The date and time when the key group was last modified.
    id str
    The identifier for the key group.
    key_group_config KeyGroupConfig
    The key group configuration.
    last_modified_time str
    The date and time when the key group was last modified.
    id String
    The identifier for the key group.
    keyGroupConfig Property Map
    The key group configuration.
    lastModifiedTime String
    The date and time when the key group was last modified.

    Supporting Types

    KeyGroupConfig

    Items List<string>
    A list of the identifiers of the public keys in the key group.
    Name string
    A name to identify the key group.
    Comment string
    A comment to describe the key group. The comment cannot be longer than 128 characters.
    Items []string
    A list of the identifiers of the public keys in the key group.
    Name string
    A name to identify the key group.
    Comment string
    A comment to describe the key group. The comment cannot be longer than 128 characters.
    items List<String>
    A list of the identifiers of the public keys in the key group.
    name String
    A name to identify the key group.
    comment String
    A comment to describe the key group. The comment cannot be longer than 128 characters.
    items string[]
    A list of the identifiers of the public keys in the key group.
    name string
    A name to identify the key group.
    comment string
    A comment to describe the key group. The comment cannot be longer than 128 characters.
    items Sequence[str]
    A list of the identifiers of the public keys in the key group.
    name str
    A name to identify the key group.
    comment str
    A comment to describe the key group. The comment cannot be longer than 128 characters.
    items List<String>
    A list of the identifiers of the public keys in the key group.
    name String
    A name to identify the key group.
    comment String
    A comment to describe the key group. The comment cannot be longer than 128 characters.

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi