Class ServerlessCacheGrants

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticache.alpha.ServerlessCacheGrants
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.125.0 (build fdbe357)", date="2026-01-19T12:04:05.666Z") @Stability(Experimental) public class ServerlessCacheGrants extends software.amazon.jsii.JsiiObject
(experimental) Collection of grant methods for a IServerlessCacheRef.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.elasticache.alpha.*;
 import software.amazon.awscdk.interfaces.elasticache.*;
 IServerlessCacheRef serverlessCacheRef;
 ServerlessCacheGrants serverlessCacheGrants = ServerlessCacheGrants.fromServerlessCache(serverlessCacheRef);
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    ServerlessCacheGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    ServerlessCacheGrants(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) Grant connect permissions to the cache.
    (experimental) Creates grants for ServerlessCacheGrants.
     

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • ServerlessCacheGrants

      protected ServerlessCacheGrants(software.amazon.jsii.JsiiObjectRef objRef)
    • ServerlessCacheGrants

      protected ServerlessCacheGrants(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
  • Method Details

    • fromServerlessCache

      @Stability(Experimental) @NotNull public static ServerlessCacheGrants fromServerlessCache(@NotNull IServerlessCacheRef resource)
      (experimental) Creates grants for ServerlessCacheGrants.

      Parameters:
      resource - This parameter is required.
    • connect

      @Stability(Experimental) @NotNull public Grant connect(@NotNull IGrantable grantee)
      (experimental) Grant connect permissions to the cache.

      Parameters:
      grantee - This parameter is required.
    • getResource

      @Stability(Experimental) @NotNull protected IServerlessCacheRef getResource()