class VirtualGatewayGrants
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.AppMesh.VirtualGatewayGrants |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#VirtualGatewayGrants |
Java | software.amazon.awscdk.services.appmesh.VirtualGatewayGrants |
Python | aws_cdk.aws_appmesh.VirtualGatewayGrants |
TypeScript | aws-cdk-lib » aws_appmesh » VirtualGatewayGrants |
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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
import { aws_appmesh as interfaces_aws_appmesh } from 'aws-cdk-lib/interfaces';
declare const virtualGatewayRef: interfaces_aws_appmesh.IVirtualGatewayRef;
const virtualGatewayGrants = appmesh.VirtualGatewayGrants.fromVirtualGateway(virtualGatewayRef);
Properties
| Name | Type | Description |
|---|---|---|
| resource | IVirtual |
resource
Type:
IVirtual
Methods
| Name | Description |
|---|---|
| stream | Grants the given entity appmesh:StreamAggregatedResources. |
| static from | Creates grants for VirtualGatewayGrants. |
streamAggregatedResources(grantee)
public streamAggregatedResources(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grants the given entity appmesh:StreamAggregatedResources.
static fromVirtualGateway(resource)
public static fromVirtualGateway(resource: IVirtualGatewayRef): VirtualGatewayGrants
Parameters
- resource
IVirtualGateway Ref
Returns
Creates grants for VirtualGatewayGrants.

.NET
Go
Java
Python
TypeScript