Interface CfnSupportPermitProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSupportPermitProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:20.537Z")
@Stability(Stable)
public interface CfnSupportPermitProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSupportPermit.
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;
CfnSupportPermitProps cfnSupportPermitProps = CfnSupportPermitProps.builder()
.name("name")
.permit(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())
.signingKeyInfo(SigningKeyInfoProperty.builder()
.kmsKey("kmsKey")
.build())
// the properties below are optional
.description("description")
.supportCaseDisplayId("supportCaseDisplayId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSupportPermitPropsstatic final classAn implementation forCfnSupportPermitProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringAn optional description of the support permit.getName()The name of the support permit.The grant definition: which actions on which resources, optionally constrained by time conditions.The signing key used by the permit.default StringThe support case display identifier associated with the permit.getTags()A list of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the support permit.- See Also:
-
getPermit
The grant definition: which actions on which resources, optionally constrained by time conditions.Returns union: either
IResolvableorCfnSupportPermit.PermitProperty- See Also:
-
getSigningKeyInfo
The signing key used by the permit.Exactly one key type must be provided.
Returns union: either
IResolvableorCfnSupportPermit.SigningKeyInfoProperty- See Also:
-
getDescription
An optional description of the support permit.- See Also:
-
getSupportCaseDisplayId
The support case display identifier associated with the permit.When provided, the permit is linked to the specified AWS Support case.
- See Also:
-
getTags
A list of key-value pairs to apply to this resource.- See Also:
-
builder
- Returns:
- a
CfnSupportPermitProps.BuilderofCfnSupportPermitProps
-