AspectOptions

class aws_cdk.AspectOptions(*, priority=None)

Bases: object

Options when Applying an Aspect.

Parameters:

priority (Union[int, float, None]) – The priority value to apply on an Aspect. Priority must be a non-negative integer. Aspects that have same priority value are not guaranteed to be executed in a consistent order. Default: AspectPriority.DEFAULT

ExampleMetadata:

fixture=_generated

Example:

# 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_options = cdk.AspectOptions(
    priority=123
)

Attributes

priority

The priority value to apply on an Aspect. Priority must be a non-negative integer.

Aspects that have same priority value are not guaranteed to be executed in a consistent order.

Default:

AspectPriority.DEFAULT