Interface IKeyGroup

All Superinterfaces:
software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IKeyGroupRef, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IKeyGroup.Jsii$Default
All Known Implementing Classes:
IKeyGroup.Jsii$Proxy, KeyGroup

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-13T16:10:00.576Z") @Stability(Stable) public interface IKeyGroup extends software.amazon.jsii.JsiiSerializable, IResource, IKeyGroupRef
Represents a Key Group.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Internal default implementation for IKeyGroup.
    static final class 
    A proxy class which represents a concrete javascript instance of this type.
  • Method Summary

    Modifier and Type
    Method
    Description
    The environment this resource belongs to.
    The ID of the key group.
    software.constructs.Node
    The tree node.

    Methods inherited from interface software.amazon.awscdk.interfaces.cloudfront.IKeyGroupRef

    getKeyGroupRef

    Methods inherited from interface software.amazon.awscdk.IResource

    applyRemovalPolicy, getStack

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getKeyGroupId

      @Stability(Stable) @NotNull String getKeyGroupId()
      The ID of the key group.
    • getNode

      @Stability(Stable) @NotNull software.constructs.Node getNode()
      The tree node.
      Specified by:
      getNode in interface software.constructs.IConstruct
    • getEnv

      @Stability(Stable) @NotNull ResourceEnvironment getEnv()
      The environment this resource belongs to.

      For resources that are created and managed in a Stack (those created by creating new class instances like new Role(), new Bucket(), etc.), this is always the same as the environment of the stack they belong to.

      For referenced resources (those obtained from referencing methods like Role.fromRoleArn(), Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.

      Specified by:
      getEnv in interface IEnvironmentAware