LaunchTemplateRequireImdsv2AspectProps

class aws_cdk.aws_ec2.LaunchTemplateRequireImdsv2AspectProps(*, suppress_warnings=None)

Bases: object

Properties for LaunchTemplateRequireImdsv2Aspect.

Parameters

suppress_warnings (Optional[bool]) – Whether warning annotations from this Aspect should be suppressed or not. Default: - false

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

launch_template_require_imdsv2_aspect_props = ec2.LaunchTemplateRequireImdsv2AspectProps(
    suppress_warnings=False
)

Attributes

suppress_warnings

Whether warning annotations from this Aspect should be suppressed or not.

Default
  • false

Return type

Optional[bool]