interface PermitProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SupportAuthZ.CfnSupportPermitPropsMixin.PermitProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssupportauthz#CfnSupportPermitPropsMixin_PermitProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.supportauthz.CfnSupportPermitPropsMixin.PermitProperty |
Python | aws_cdk.cfn_property_mixins.aws_supportauthz.CfnSupportPermitPropsMixin.PermitProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_supportauthz » CfnSupportPermitPropsMixin » 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/cfn-property-mixins';
declare const allActions: any;
declare const allResourcesInRegion: any;
const permitProperty: supportauthz.CfnSupportPermitPropsMixin.PermitProperty = {
actions: {
actions: ['actions'],
allActions: allActions,
},
conditions: [{
allowAfter: 'allowAfter',
allowBefore: 'allowBefore',
}],
resources: {
allResourcesInRegion: allResourcesInRegion,
resources: ['resources'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| actions? | IResolvable | Action | The set of actions a support permit grants. |
| conditions? | IResolvable | (IResolvable | Condition)[] | Optional time-bound conditions (at most two). |
| resources? | IResolvable | Resource | The set of resources a support permit applies to. |
actions?
Type:
IResolvable | Action
(optional)
The set of actions a support permit grants.
Exactly one of AllActions or Actions must be provided.
conditions?
Type:
IResolvable | (IResolvable | Condition)[]
(optional)
Optional time-bound conditions (at most two).
resources?
Type:
IResolvable | Resource
(optional)
The set of resources a support permit applies to.
Exactly one of AllResourcesInRegion or Resources must be provided.

.NET
Go
Java
Python
TypeScript