Class AspectApplication

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.AspectApplication
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.109.0 (build c221850)", date="2025-03-19T18:01:27.913Z") @Stability(Stable) public class AspectApplication extends software.amazon.jsii.JsiiObject
Object respresenting an Aspect application.

Stores the Aspect, the pointer to the construct it was applied to, and the priority value of that Aspect.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.*;
 import software.constructs.*;
 IAspect aspect;
 Construct construct;
 AspectApplication aspectApplication = new AspectApplication(construct, aspect, 123);
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

    software.amazon.jsii.JsiiObject.InitializationMode
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AspectApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    AspectApplication(software.amazon.jsii.JsiiObjectRef objRef)
     
     
    AspectApplication(software.constructs.IConstruct construct, IAspect aspect, Number priority)
    Initializes AspectApplication object.
  • Method Summary

    Modifier and Type
    Method
    Description
    The Aspect that was applied.
    software.constructs.IConstruct
    The construct that the Aspect was applied to.
    Gets the priority value.
    void
    Gets the priority value.

    Methods inherited from class software.amazon.jsii.JsiiObject

    jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Constructor Details

    • AspectApplication

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

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

      @Stability(Stable) public AspectApplication(@NotNull software.constructs.IConstruct construct, @NotNull IAspect aspect, @NotNull Number priority)
      Initializes AspectApplication object.

      Parameters:
      construct - This parameter is required.
      aspect - This parameter is required.
      priority - This parameter is required.
  • Method Details

    • getAspect

      @Stability(Stable) @NotNull public IAspect getAspect()
      The Aspect that was applied.
    • getConstruct

      @Stability(Stable) @NotNull public software.constructs.IConstruct getConstruct()
      The construct that the Aspect was applied to.
    • getPriority

      @Stability(Stable) @NotNull public Number getPriority()
      Gets the priority value.

      Sets the priority value.

    • setPriority

      @Stability(Stable) public void setPriority(@NotNull Number value)
      Gets the priority value.

      Sets the priority value.