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:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSupportPermit.PermitPropertystatic final classAn implementation forCfnSupportPermit.PermitProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActions
The set of actions a support permit grants.Exactly one of AllActions or Actions must be provided.
Returns union: either
IResolvableorCfnSupportPermit.ActionSetProperty- See Also:
-
getResources
The set of resources a support permit applies to.Exactly one of AllResourcesInRegion or Resources must be provided.
Returns union: either
IResolvableorCfnSupportPermit.ResourceSetProperty- See Also:
-
getConditions
Optional time-bound conditions (at most two).Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSupportPermit.ConditionProperty>- See Also:
-
builder
-