Class VirtualNodeGrants

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.appmesh.VirtualNodeGrants
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)", date="2026-04-02T21:55:04.550Z") @Stability(Stable) public class VirtualNodeGrants extends software.amazon.jsii.JsiiObject
Collection of grant methods for a IVirtualNodeRef.

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.appmesh.*;
 import software.amazon.awscdk.interfaces.appmesh.*;
 IVirtualNodeRef virtualNodeRef;
 VirtualNodeGrants virtualNodeGrants = VirtualNodeGrants.fromVirtualNode(virtualNodeRef);
 
  • Constructor Details

    • VirtualNodeGrants

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

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

    • fromVirtualNode

      @Stability(Stable) @NotNull public static VirtualNodeGrants fromVirtualNode(@NotNull IVirtualNodeRef resource)
      Creates grants for VirtualNodeGrants.

      Parameters:
      resource - This parameter is required.
    • actions

      @Stability(Stable) @NotNull public Grant actions(@NotNull IGrantable grantee, @NotNull List<String> actions, @Nullable PermissionsOptions options)
      Grant the given identity custom permissions.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
      options -
    • actions

      @Stability(Stable) @NotNull public Grant actions(@NotNull IGrantable grantee, @NotNull List<String> actions)
      Grant the given identity custom permissions.

      Parameters:
      grantee - This parameter is required.
      actions - This parameter is required.
    • streamAggregatedResources

      @Stability(Stable) @NotNull public Grant streamAggregatedResources(@NotNull IGrantable grantee)
      Grants streamAggregatedResources permissions.

      Parameters:
      grantee - This parameter is required.
    • getResource

      @Stability(Stable) @NotNull protected IVirtualNodeRef getResource()