Skip to content
v2.274.0

VirtualGatewayGrants Facade ​

Collection of grant methods for a IVirtualGatewayRef.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appmesh as appmesh } from 'aws-cdk-lib';
import { aws_appmesh as interfaces_appmesh } from 'aws-cdk-lib/interfaces';

declare const virtualGatewayRef: interfaces_appmesh.IVirtualGatewayRef;
const virtualGatewayGrants = appmesh.VirtualGatewayGrants.fromVirtualGateway(virtualGatewayRef);

Methods ​

actions(grantee: IGrantable, actions: string[], options?: PermissionsOptions): Grantdef actions(self, grantee: IGrantable, actions: typing.List[str], options: typing.Optional[PermissionsOptions] = None) -> Grantpublic Grant actions(IGrantable grantee, List<String> actions, PermissionsOptions options)public Grant Actions(IGrantable grantee, string[] actions, PermissionsOptions? options = null)func Actions(Grantee IGrantable, Actions *[]*string, Options PermissionsOptions) Grant#
Grant the given identity custom permissions.
fromVirtualGateway(resource: IVirtualGatewayRef): VirtualGatewayGrants // chainable@staticmethod def from_virtual_gateway(resource: IVirtualGatewayRef) -> VirtualGatewayGrantspublic static VirtualGatewayGrants fromVirtualGateway(IVirtualGatewayRef resource)public static VirtualGatewayGrants FromVirtualGateway(IVirtualGatewayRef resource)func FromVirtualGateway(Resource IVirtualGatewayRef) VirtualGatewayGrantsstatic#
Creates grants for VirtualGatewayGrants.
streamAggregatedResources(grantee: IGrantable): Grantdef stream_aggregated_resources(self, grantee: IGrantable) -> Grantpublic Grant streamAggregatedResources(IGrantable grantee)public Grant StreamAggregatedResources(IGrantable grantee)func StreamAggregatedResources(Grantee IGrantable) Grant#
Grants the given entity `appmesh:StreamAggregatedResources`.