Class GrantableResources

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.iam.GrantableResources
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)", date="2025-11-20T23:37:22.969Z") @Stability(Stable) public class GrantableResources extends software.amazon.jsii.JsiiObject
Utility methods to check for specific types of grantable resources.

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.iam.*;
 GrantableResources grantableResources = new GrantableResources();
 
  • 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
    GrantableResources(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    GrantableResources(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Boolean
    isEncryptedResource(software.constructs.IConstruct resource)
    Whether this resource holds data that can be encrypted using a KMS key.
    static Boolean
    Whether this resource admits a resource policy.

    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

    • GrantableResources

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

      protected GrantableResources(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • GrantableResources

      @Stability(Stable) public GrantableResources()
  • Method Details

    • isEncryptedResource

      @Stability(Stable) @NotNull public static Boolean isEncryptedResource(@NotNull software.constructs.IConstruct resource)
      Whether this resource holds data that can be encrypted using a KMS key.

      Parameters:
      resource - This parameter is required.
    • isResourceWithPolicy

      @Stability(Stable) @NotNull public static Boolean isResourceWithPolicy(@NotNull IEnvironmentAware resource)
      Whether this resource admits a resource policy.

      Parameters:
      resource - This parameter is required.