interface PermitProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SupportAuthZ.CfnSupportPermit.PermitProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssupportauthz#CfnSupportPermit_PermitProperty |
Java | software.amazon.awscdk.services.supportauthz.CfnSupportPermit.PermitProperty |
Python | aws_cdk.aws_supportauthz.CfnSupportPermit.PermitProperty |
TypeScript | aws-cdk-lib » aws_supportauthz » CfnSupportPermit » PermitProperty |
The grant definition: which actions on which resources, optionally constrained by time conditions.
Example
// 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
| Name | Type | Description |
|---|---|---|
| actions | IResolvable | Action | The set of actions a support permit grants. |
| resources | IResolvable | Resource | The set of resources a support permit applies to. |
| conditions? | IResolvable | (IResolvable | Condition)[] | Optional time-bound conditions (at most two). |
actions
Type:
IResolvable | Action
The set of actions a support permit grants.
Exactly one of AllActions or Actions must be provided.
resources
Type:
IResolvable | Resource
The set of resources a support permit applies to.
Exactly one of AllResourcesInRegion or Resources must be provided.
conditions?
Type:
IResolvable | (IResolvable | Condition)[]
(optional)
Optional time-bound conditions (at most two).

.NET
Go
Java
Python
TypeScript