@Stability(value=Stable) public static final class InstanceRequireImdsv2Aspect.Builder extends Object implements software.amazon.jsii.Builder<InstanceRequireImdsv2Aspect>
InstanceRequireImdsv2Aspect.| Modifier and Type | Method and Description |
|---|---|
InstanceRequireImdsv2Aspect |
build() |
static InstanceRequireImdsv2Aspect.Builder |
create() |
InstanceRequireImdsv2Aspect.Builder |
suppressLaunchTemplateWarning(Boolean suppressLaunchTemplateWarning)
Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not.
|
InstanceRequireImdsv2Aspect.Builder |
suppressWarnings(Boolean suppressWarnings)
Whether warning annotations from this Aspect should be suppressed or not.
|
@Stability(value=Stable) public static InstanceRequireImdsv2Aspect.Builder create()
InstanceRequireImdsv2Aspect.Builder.@Stability(value=Stable) public InstanceRequireImdsv2Aspect.Builder suppressLaunchTemplateWarning(Boolean suppressLaunchTemplateWarning)
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
suppressLaunchTemplateWarning - Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not. This parameter is required.this@Stability(value=Stable) public InstanceRequireImdsv2Aspect.Builder suppressWarnings(Boolean suppressWarnings)
Default: - false
suppressWarnings - Whether warning annotations from this Aspect should be suppressed or not. This parameter is required.this@Stability(value=Stable) public InstanceRequireImdsv2Aspect build()
build in interface software.amazon.jsii.Builder<InstanceRequireImdsv2Aspect>Copyright © 2022. All rights reserved.