Class CfnSupportPermit
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.supportauthz.CfnSupportPermit
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,ISupportPermitRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:20.534Z")
@Stability(Stable)
public class CfnSupportPermit
extends CfnResource
implements IInspectable, ISupportPermitRef, ITaggableV2
Resource Type definition for AWS::SupportAuthZ::SupportPermit.
Represents a support permit that grants AWS support time-bounded access to one or more resources for a set of actions.
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;
CfnSupportPermit cfnSupportPermit = CfnSupportPermit.Builder.create(this, "MyCfnSupportPermit")
.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 TypeClassDescriptionstatic interfaceThe set of actions a support permit grants.static final classA fluent builder forCfnSupportPermit.static interfaceA time-bound condition controlling when the permit is active.static interfaceThe grant definition: which actions on which resources, optionally constrained by time conditions.static interfaceThe set of resources a support permit applies to.static interfaceThe signing key used by the permit.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.supportauthz.ISupportPermitRef
ISupportPermitRef.Jsii$Default, ISupportPermitRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSupportPermit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSupportPermit(software.amazon.jsii.JsiiObjectRef objRef) CfnSupportPermit(software.constructs.Construct scope, String id, CfnSupportPermitProps props) Create a newAWS::SupportAuthZ::SupportPermit. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForSupportPermit(ISupportPermitRef resource) The Amazon Resource Name (ARN) of the support permit.The time at which the support permit was created.The service-generated identifier of the support permit (the resource segment of the ARN).The current status of the support permit.Tag Manager which manages the tags for this resource.An 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.The support case display identifier associated with the permit.A reference to a SupportPermit resource.getTags()A list of key-value pairs to apply to this resource.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnSupportPermit.renderProperties(Map<String, Object> props) voidsetDescription(String value) An optional description of the support permit.voidThe name of the support permit.voidsetPermit(IResolvable value) The grant definition: which actions on which resources, optionally constrained by time conditions.voidThe grant definition: which actions on which resources, optionally constrained by time conditions.voidsetSigningKeyInfo(IResolvable value) The signing key used by the permit.voidThe signing key used by the permit.voidsetSupportCaseDisplayId(String value) The support case display identifier associated with the permit.voidA list of key-value pairs to apply to this resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSupportPermit
protected CfnSupportPermit(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSupportPermit
protected CfnSupportPermit(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSupportPermit
@Stability(Stable) public CfnSupportPermit(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSupportPermitProps props) Create a newAWS::SupportAuthZ::SupportPermit.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForSupportPermit
@Stability(Stable) @NotNull public static String arnForSupportPermit(@NotNull ISupportPermitRef resource) - Parameters:
resource- This parameter is required.
-
isCfnSupportPermit
Checks whether the given object is a CfnSupportPermit.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the support permit. -
getAttrCreatedAt
The time at which the support permit was created. -
getAttrPermitId
The service-generated identifier of the support permit (the resource segment of the ARN). -
getAttrStatus
The current status of the support permit. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getSupportPermitRef
A reference to a SupportPermit resource.- Specified by:
getSupportPermitRefin interfaceISupportPermitRef
-
getName
The name of the support permit. -
setName
The name of the support permit. -
getPermit
The grant definition: which actions on which resources, optionally constrained by time conditions.Returns union: either
IResolvableorCfnSupportPermit.PermitProperty -
setPermit
The grant definition: which actions on which resources, optionally constrained by time conditions. -
setPermit
The grant definition: which actions on which resources, optionally constrained by time conditions. -
getSigningKeyInfo
The signing key used by the permit.Returns union: either
IResolvableorCfnSupportPermit.SigningKeyInfoProperty -
setSigningKeyInfo
The signing key used by the permit. -
setSigningKeyInfo
@Stability(Stable) public void setSigningKeyInfo(@NotNull CfnSupportPermit.SigningKeyInfoProperty value) The signing key used by the permit. -
getDescription
An optional description of the support permit. -
setDescription
An optional description of the support permit. -
getSupportCaseDisplayId
The support case display identifier associated with the permit. -
setSupportCaseDisplayId
The support case display identifier associated with the permit. -
getTags
A list of key-value pairs to apply to this resource. -
setTags
A list of key-value pairs to apply to this resource.
-