PermitProperty Struct
The grant definition: which actions on which resources, optionally constrained by time conditions.
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
actionsIResolvable | CfnSupportPermit.ActionSetPropertyactionstyping.Union[IResolvable, ActionSetProperty]actionsIResolvableActionsIResolvableActionsinterface{}required#The set of actions a support permit grants.
Exactly one of AllActions or Actions must be provided.
conditionsoptionalIResolvable | IResolvable | CfnSupportPermit.ConditionProperty[]conditionsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ConditionProperty]]]conditionsoptionalIResolvableConditionsoptionalIResolvableConditionsoptionalinterface{}#Optional time-bound conditions (at most two).
resourcesIResolvable | CfnSupportPermit.ResourceSetPropertyresourcestyping.Union[IResolvable, ResourceSetProperty]resourcesIResolvableResourcesIResolvableResourcesinterface{}required#The set of resources a support permit applies to.
Exactly one of AllResourcesInRegion or Resources must be provided.