Class LaunchTemplateRequireImdsv2Aspect
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.ec2.LaunchTemplateRequireImdsv2Aspect
- All Implemented Interfaces:
IAspect
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2025-01-15T21:09:18.236Z")
@Stability(Stable)
public class LaunchTemplateRequireImdsv2Aspect
extends software.amazon.jsii.JsiiObject
implements IAspect
Aspect that applies IMDS configuration on EC2 Launch Template constructs.
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.*; LaunchTemplateRequireImdsv2Aspect launchTemplateRequireImdsv2Aspect = LaunchTemplateRequireImdsv2Aspect.Builder.create() .suppressWarnings(false) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forLaunchTemplateRequireImdsv2Aspect
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.IAspect
IAspect.Jsii$Default, IAspect.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
LaunchTemplateRequireImdsv2Aspect
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
LaunchTemplateRequireImdsv2Aspect
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
LaunchTemplateRequireImdsv2Aspect
protected LaunchTemplateRequireImdsv2Aspect(software.amazon.jsii.JsiiObjectRef objRef) -
LaunchTemplateRequireImdsv2Aspect
protected LaunchTemplateRequireImdsv2Aspect(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
LaunchTemplateRequireImdsv2Aspect
@Stability(Stable) public LaunchTemplateRequireImdsv2Aspect(@Nullable LaunchTemplateRequireImdsv2AspectProps props) - Parameters:
props
-
-
LaunchTemplateRequireImdsv2Aspect
@Stability(Stable) public LaunchTemplateRequireImdsv2Aspect()
-
-
Method Details
-
visit
@Stability(Stable) public void visit(@NotNull software.constructs.IConstruct node) All aspects can visit an IConstruct. -
warn
@Stability(Stable) protected void warn(@NotNull software.constructs.IConstruct node, @NotNull String message) Adds a warning annotation to a node, unlesssuppressWarnings
is true.- Parameters:
node
- The scope to add the warning to. This parameter is required.message
- The warning message. This parameter is required.
-
getSuppressWarnings
-