# PermitProperty

The grant definition: which actions on which resources, optionally constrained by time conditions.

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

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

declare const allActions: any;
declare const allResourcesInRegion: any;
const permitProperty: supportauthz.CfnSupportPermit.PermitProperty = {
  actions: {
    actions: ['actions'],
    allActions: allActions,
  },
  resources: {
    allResourcesInRegion: allResourcesInRegion,
    resources: ['resources'],
  },

  // the properties below are optional
  conditions: [{
    allowAfter: 'allowAfter',
    allowBefore: 'allowBefore',
  }],
};
```

## Properties

- `actions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSupportPermit.ActionSetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_supportauthz.CfnSupportPermit.ActionSetProperty.html) (required) — The set of actions a support permit grants.

  Exactly one of AllActions or Actions must be provided.

- `conditions`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSupportPermit.ConditionProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_supportauthz.CfnSupportPermit.ConditionProperty.html)[] — Optional time-bound conditions (at most two).

- `resources`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnSupportPermit.ResourceSetProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_supportauthz.CfnSupportPermit.ResourceSetProperty.html) (required) — The set of resources a support permit applies to.

  Exactly one of AllResourcesInRegion or Resources must be provided.
