VirtualGatewayGrants

class aws_cdk.aws_appmesh.VirtualGatewayGrants(*args: Any, **kwargs)

Bases: object

Collection of grant methods for a IVirtualGatewayRef.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_appmesh as appmesh
from aws_cdk.interfaces import aws_appmesh as interfaces_aws_appmesh

# virtual_gateway_ref: interfaces_aws_appmesh.IVirtualGatewayRef

virtual_gateway_grants = appmesh.VirtualGatewayGrants.from_virtual_gateway(virtual_gateway_ref)

Methods

stream_aggregated_resources(grantee)

Grants the given entity appmesh:StreamAggregatedResources.

Parameters:

grantee (IGrantable)

Return type:

Grant

Static Methods

classmethod from_virtual_gateway(resource)

Creates grants for VirtualGatewayGrants.

Parameters:

resource (IVirtualGatewayRef)

Return type:

VirtualGatewayGrants