Skip to content
v2.274.0

AspectPriority Class ​

Default Priority values for Aspects.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const aspectPriority = new cdk.AspectPriority();
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk as cdk

aspect_priority = cdk.AspectPriority()
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;

AspectPriority aspectPriority = new AspectPriority();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var aspectPriority = new AspectPriority();
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import cdk "github.com/aws/aws-cdk-go/awscdk"

aspectPriority := cdk.NewAspectPriority()

Initializer ​

ts
new AspectPriority()
python
AspectPriority()
java
new AspectPriority()
csharp
new AspectPriority()
go
NewAspectPriority()

Properties ​

DEFAULTnumberdefaultint | floatDEFAULTNumberDEFAULTdoubleDEFAULT*float64requiredstatic#
Default priority for Aspects that are applied without a priority.
MUTATINGnumbermutatingint | floatMUTATINGNumberMUTATINGdoubleMUTATING*float64requiredstatic#
Suggested priority for Aspects that mutate the construct tree.
READONLYnumberreadonlyint | floatREADONLYNumberREADONLYdoubleREADONLY*float64requiredstatic#
Suggested priority for Aspects that only read the construct tree.