Class CfnSupportPermitPropsMixin

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.supportauthz.CfnSupportPermitPropsMixin
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable, software.constructs.IMixin

@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)", date="2026-09-02T11:03:34.959Z") @Stability(Stable) public class CfnSupportPermitPropsMixin extends Mixin implements software.constructs.IMixin
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.cfnpropertymixins.services.supportauthz.*;
 import software.amazon.awscdk.*;
 Object allActions;
 Object allResourcesInRegion;
 IMergeStrategy mergeStrategy;
 CfnSupportPermitPropsMixin cfnSupportPermitPropsMixin = CfnSupportPermitPropsMixin.Builder.create(CfnSupportPermitMixinProps.builder()
         .description("description")
         .name("name")
         .permit(PermitProperty.builder()
                 .actions(ActionSetProperty.builder()
                         .actions(List.of("actions"))
                         .allActions(allActions)
                         .build())
                 .conditions(List.of(ConditionProperty.builder()
                         .allowAfter("allowAfter")
                         .allowBefore("allowBefore")
                         .build()))
                 .resources(ResourceSetProperty.builder()
                         .allResourcesInRegion(allResourcesInRegion)
                         .resources(List.of("resources"))
                         .build())
                 .build())
         .signingKeyInfo(SigningKeyInfoProperty.builder()
                 .kmsKey("kmsKey")
                 .build())
         .supportCaseDisplayId("supportCaseDisplayId")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build())
 .strategy(mergeStrategy)
 .build();
 

See Also:
  • Field Details

    • CFN_PROPERTY_KEYS

      @Stability(Stable) protected static final List<String> CFN_PROPERTY_KEYS
  • Constructor Details

    • CfnSupportPermitPropsMixin

      protected CfnSupportPermitPropsMixin(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnSupportPermitPropsMixin

      protected CfnSupportPermitPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnSupportPermitPropsMixin

      @Stability(Stable) public CfnSupportPermitPropsMixin(@NotNull CfnSupportPermitMixinProps props, @Nullable CfnPropertyMixinOptions options)
      Create a mixin to apply properties to AWS::SupportAuthZ::SupportPermit.

      Parameters:
      props - L1 properties to apply. This parameter is required.
      options - Mixin options.
    • CfnSupportPermitPropsMixin

      @Stability(Stable) public CfnSupportPermitPropsMixin(@NotNull CfnSupportPermitMixinProps props)
      Create a mixin to apply properties to AWS::SupportAuthZ::SupportPermit.

      Parameters:
      props - L1 properties to apply. This parameter is required.
  • Method Details

    • applyTo

      @Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct)
      Apply the mixin properties to the construct.

      Specified by:
      applyTo in interface software.constructs.IMixin
      Specified by:
      applyTo in class Mixin
      Parameters:
      construct - This parameter is required.
    • supports

      @Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct)
      Check if this mixin supports the given construct.

      Specified by:
      supports in interface software.constructs.IMixin
      Overrides:
      supports in class Mixin
      Parameters:
      construct - This parameter is required.
    • getProps

      @Stability(Stable) @NotNull protected CfnSupportPermitMixinProps getProps()
    • getStrategy

      @Stability(Stable) @NotNull protected IMergeStrategy getStrategy()