# LogGroupGrants

Collection of grant methods for a ILogGroupRef.

- Source: Generated code
- Type last changed: v2.244.0 · 19 Mar 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_logs as logs } from 'aws-cdk-lib';
import { aws_logs as interfaces_logs } from 'aws-cdk-lib/interfaces';

declare const logGroupRef: interfaces_logs.ILogGroupRef;
const logGroupGrants = logs.LogGroupGrants.fromLogGroup(logGroupRef);
```

## Methods

- `actions(grantee: IGrantable, actions: string[], options?: PermissionsOptions): Grant` — Grant the given identity custom permissions.

- `fromLogGroup(resource: ILogGroupRef): LogGroupGrants // chainable` (static) — Creates grants for LogGroupGrants.

- `read(grantee: IGrantable): Grant` — Give permissions to read and filter events from this log group.

- `write(grantee: IGrantable): Grant` — Give permissions to create and write to streams in this log group.
