VirtualNodeGrants Facade
Collection of grant methods for a IVirtualNodeRef.
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 virtualNodeRef: interfaces_appmesh.IVirtualNodeRef;
const virtualNodeGrants = appmesh.VirtualNodeGrants.fromVirtualNode(virtualNodeRef);
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.
fromVirtualNode(resource: IVirtualNodeRef): VirtualNodeGrants // chainable@staticmethod def from_virtual_node(resource: IVirtualNodeRef) -> VirtualNodeGrantspublic static VirtualNodeGrants fromVirtualNode(IVirtualNodeRef resource)public static VirtualNodeGrants FromVirtualNode(IVirtualNodeRef resource)func FromVirtualNode(Resource IVirtualNodeRef) VirtualNodeGrantsstatic#Creates grants for VirtualNodeGrants.
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 streamAggregatedResources permissions.