Interface IAccessKey

All Superinterfaces:
IAccessKeyRef, software.constructs.IConstruct, software.constructs.IDependable, IEnvironmentAware, IResource, software.amazon.jsii.JsiiSerializable
All Known Subinterfaces:
IAccessKey.Jsii$Default
All Known Implementing Classes:
AccessKey, IAccessKey.Jsii$Proxy

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-13T16:10:07.191Z") @Stability(Stable) public interface IAccessKey extends software.amazon.jsii.JsiiSerializable, IResource, IAccessKeyRef
Represents an IAM Access Key.

See Also:
  • Method Details

    • getAccessKeyId

      @Stability(Stable) @NotNull String getAccessKeyId()
      The Access Key ID.
    • getSecretAccessKey

      @Stability(Stable) @NotNull SecretValue getSecretAccessKey()
      The Secret Access Key.
    • 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