Interface InstanceRequireImdsv2AspectProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
InstanceRequireImdsv2AspectProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-07-12T19:34:00.936Z") @Stability(Stable) public interface InstanceRequireImdsv2AspectProps extends software.amazon.jsii.JsiiSerializable
Properties for InstanceRequireImdsv2Aspect.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 InstanceRequireImdsv2AspectProps instanceRequireImdsv2AspectProps = InstanceRequireImdsv2AspectProps.builder()
         .suppressLaunchTemplateWarning(false)
         .suppressWarnings(false)
         .build();
 
  • Method Details

    • getSuppressLaunchTemplateWarning

      @Stability(Stable) @Nullable default Boolean getSuppressLaunchTemplateWarning()
      Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not.

      You can set this to true if LaunchTemplateImdsAspect is being used alongside this Aspect to suppress false-positive warnings because any Launch Templates associated with Instances will still be covered.

      Default: - false

    • getSuppressWarnings

      @Stability(Stable) @Nullable default Boolean getSuppressWarnings()
      Whether warning annotations from this Aspect should be suppressed or not.

      Default: - false

    • builder

      @Stability(Stable) static InstanceRequireImdsv2AspectProps.Builder builder()
      Returns:
      a InstanceRequireImdsv2AspectProps.Builder of InstanceRequireImdsv2AspectProps