Class VirtualGatewayGrants

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

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

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.*;
 IVirtualGatewayRef virtualGatewayRef;
 VirtualGatewayGrants virtualGatewayGrants = VirtualGatewayGrants.fromVirtualGateway(virtualGatewayRef);
 
  • Constructor Details

    • VirtualGatewayGrants

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

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

    • fromVirtualGateway

      @Stability(Stable) @NotNull public static VirtualGatewayGrants fromVirtualGateway(@NotNull IVirtualGatewayRef resource)
      Creates grants for VirtualGatewayGrants.

      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 the given entity appmesh:StreamAggregatedResources.

      Parameters:
      grantee - This parameter is required.
    • getResource

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