Class InstanceRequireImdsv2AspectProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.InstanceRequireImdsv2AspectProps.Jsii$Proxy
All Implemented Interfaces:
InstanceRequireImdsv2AspectProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
InstanceRequireImdsv2AspectProps

@Stability(Stable) @Internal public static final class InstanceRequireImdsv2AspectProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements InstanceRequireImdsv2AspectProps
An implementation for InstanceRequireImdsv2AspectProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(InstanceRequireImdsv2AspectProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the InstanceRequireImdsv2AspectProps.Builder.
  • Method Details

    • getSuppressLaunchTemplateWarning

      public final Boolean getSuppressLaunchTemplateWarning()
      Description copied from interface: InstanceRequireImdsv2AspectProps
      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

      Specified by:
      getSuppressLaunchTemplateWarning in interface InstanceRequireImdsv2AspectProps
    • getSuppressWarnings

      public final Boolean getSuppressWarnings()
      Description copied from interface: InstanceRequireImdsv2AspectProps
      Whether warning annotations from this Aspect should be suppressed or not.

      Default: - false

      Specified by:
      getSuppressWarnings in interface InstanceRequireImdsv2AspectProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object