Class InstanceRequireImdsv2AspectProps
Properties for InstanceRequireImdsv2Aspect
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InstanceRequireImdsv2AspectProps : Object, IInstanceRequireImdsv2AspectProps
Syntax (vb)
Public Class InstanceRequireImdsv2AspectProps
Inherits Object
Implements IInstanceRequireImdsv2AspectProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var instanceRequireImdsv2AspectProps = new InstanceRequireImdsv2AspectProps {
SuppressLaunchTemplateWarning = false,
SuppressWarnings = false
};
Synopsis
Constructors
InstanceRequireImdsv2AspectProps() |
Properties
SuppressLaunchTemplateWarning | Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not. |
SuppressWarnings | Whether warning annotations from this Aspect should be suppressed or not. |
Constructors
InstanceRequireImdsv2AspectProps()
public InstanceRequireImdsv2AspectProps()
Properties
SuppressLaunchTemplateWarning
Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not.
public Nullable<bool> SuppressLaunchTemplateWarning { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
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
SuppressWarnings
Whether warning annotations from this Aspect should be suppressed or not.
public Nullable<bool> SuppressWarnings { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - false