@Stability(value=Stable) public static final class InstanceRequireImdsv2AspectProps.Builder extends Object implements software.amazon.jsii.Builder<InstanceRequireImdsv2AspectProps>
InstanceRequireImdsv2AspectProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
InstanceRequireImdsv2AspectProps |
build()
Builds the configured instance.
|
InstanceRequireImdsv2AspectProps.Builder |
suppressLaunchTemplateWarning(Boolean suppressLaunchTemplateWarning)
Sets the value of
InstanceRequireImdsv2AspectProps.getSuppressLaunchTemplateWarning() |
InstanceRequireImdsv2AspectProps.Builder |
suppressWarnings(Boolean suppressWarnings)
Sets the value of
InstanceRequireImdsv2AspectProps.getSuppressWarnings() |
@Stability(value=Stable) public InstanceRequireImdsv2AspectProps.Builder suppressLaunchTemplateWarning(Boolean suppressLaunchTemplateWarning)
InstanceRequireImdsv2AspectProps.getSuppressLaunchTemplateWarning()suppressLaunchTemplateWarning - 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.this@Stability(value=Stable) public InstanceRequireImdsv2AspectProps.Builder suppressWarnings(Boolean suppressWarnings)
InstanceRequireImdsv2AspectProps.getSuppressWarnings()suppressWarnings - Whether warning annotations from this Aspect should be suppressed or not.this@Stability(value=Stable) public InstanceRequireImdsv2AspectProps build()
build in interface software.amazon.jsii.Builder<InstanceRequireImdsv2AspectProps>InstanceRequireImdsv2AspectPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.