Interface CfnSupportPermit.PermitProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnSupportPermit.PermitProperty.Jsii$Proxy
Enclosing class:
CfnSupportPermit

@Stability(Stable) public static interface CfnSupportPermit.PermitProperty extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.supportauthz.*;
 Object allActions;
 Object allResourcesInRegion;
 PermitProperty permitProperty = PermitProperty.builder()
         .actions(ActionSetProperty.builder()
                 .actions(List.of("actions"))
                 .allActions(allActions)
                 .build())
         .resources(ResourceSetProperty.builder()
                 .allResourcesInRegion(allResourcesInRegion)
                 .resources(List.of("resources"))
                 .build())
         // the properties below are optional
         .conditions(List.of(ConditionProperty.builder()
                 .allowAfter("allowAfter")
                 .allowBefore("allowBefore")
                 .build()))
         .build();
 

See Also: