RouterInputGrants

class aws_cdk.aws_mediaconnect_alpha.RouterInputGrants(*args: Any, **kwargs)

Bases: object

(experimental) Collection of grant methods for a IRouterInputRef.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_mediaconnect_alpha as mediaconnect_alpha
from aws_cdk.interfaces import aws_mediaconnect as interfaces_mediaconnect

# router_input_ref: interfaces_mediaconnect.IRouterInputRef

router_input_grants = mediaconnect_alpha.RouterInputGrants.from_router_input(router_input_ref)

Methods

actions(grantee, actions, *, resource_arns=None)

(experimental) Grant the given identity custom permissions.

Parameters:
  • grantee (IGrantable)

  • actions (Sequence[str])

  • resource_arns (Optional[Sequence[str]]) – The ARNs of the resources to grant permissions on. Default: - The ARN of the resource associated with the grant is used.

Stability:

experimental

Return type:

Grant

restart(grantee)

(experimental) Grant permissions to restart this router input.

Parameters:

grantee (IGrantable)

Stability:

experimental

Return type:

Grant

start(grantee)

(experimental) Grant permissions to start this router input.

Parameters:

grantee (IGrantable)

Stability:

experimental

Return type:

Grant

stop(grantee)

(experimental) Grant permissions to stop this router input.

Parameters:

grantee (IGrantable)

Stability:

experimental

Return type:

Grant

Static Methods

classmethod from_router_input(resource)

(experimental) Creates grants for RouterInputGrants.

Parameters:

resource (IRouterInputRef)

Stability:

experimental

Return type:

RouterInputGrants