class RouterInputGrants
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.RouterInputGrants |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#RouterInputGrants |
Java | software.amazon.awscdk.services.mediaconnect.alpha.RouterInputGrants |
Python | aws_cdk.aws_mediaconnect_alpha.RouterInputGrants |
TypeScript | @aws-cdk/aws-mediaconnect-alpha ยป RouterInputGrants |
Collection of grant methods for a IRouterInputRef.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as mediaconnect_alpha from '@aws-cdk/aws-mediaconnect-alpha';
import { aws_mediaconnect as interfaces_mediaconnect } from 'aws-cdk-lib/interfaces';
declare const routerInputRef: interfaces_mediaconnect.IRouterInputRef;
const routerInputGrants = mediaconnect_alpha.RouterInputGrants.fromRouterInput(routerInputRef);
Properties
| Name | Type | Description |
|---|---|---|
| resource | IRouter |
resource
Type:
IRouter
Methods
| Name | Description |
|---|---|
| actions(grantee, actions, options?) | Grant the given identity custom permissions. |
| restart(grantee) | Grant permissions to restart this router input. |
| start(grantee) | Grant permissions to start this router input. |
| stop(grantee) | Grant permissions to stop this router input. |
| static from | Creates grants for RouterInputGrants. |
actions(grantee, actions, options?)
public actions(grantee: IGrantable, actions: string[], options?: PermissionsOptions): Grant
Parameters
- grantee
IGrantable - actions
string[] - options
PermissionsOptions
Returns
Grant the given identity custom permissions.
restart(grantee)
public restart(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grant permissions to restart this router input.
start(grantee)
public start(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grant permissions to start this router input.
stop(grantee)
public stop(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grant permissions to stop this router input.
static fromRouterInput(resource)
public static fromRouterInput(resource: IRouterInputRef): RouterInputGrants
Parameters
- resource
IRouterInput Ref
Returns
Creates grants for RouterInputGrants.

.NET
Go
Java
Python
TypeScript