@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.460Z") @Stability(value=Stable) public interface InstanceRequireImdsv2AspectProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
InstanceRequireImdsv2AspectProps.Builder
A builder for
InstanceRequireImdsv2AspectProps |
static class |
InstanceRequireImdsv2AspectProps.Jsii$Proxy
An implementation for
InstanceRequireImdsv2AspectProps |
| Modifier and Type | Method and Description |
|---|---|
static InstanceRequireImdsv2AspectProps.Builder |
builder() |
default Boolean |
getSuppressLaunchTemplateWarning()
Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not.
|
default Boolean |
getSuppressWarnings()
Whether warning annotations from this Aspect should be suppressed or not.
|
@Stability(value=Stable) @Nullable default Boolean getSuppressLaunchTemplateWarning()
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
@Stability(value=Stable) @Nullable default Boolean getSuppressWarnings()
Default: - false
@Stability(value=Stable) static InstanceRequireImdsv2AspectProps.Builder builder()
Copyright © 2022. All rights reserved.