Class InstanceRequireImdsv2AspectProps
Properties for InstanceRequireImdsv2Aspect.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class InstanceRequireImdsv2AspectProps : IInstanceRequireImdsv2AspectProps
Syntax (vb)
Public Class InstanceRequireImdsv2AspectProps 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 for |
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()
Properties for InstanceRequireImdsv2Aspect.
public InstanceRequireImdsv2AspectProps()
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
};
Properties
SuppressLaunchTemplateWarning
Whether warnings that would be raised when an Instance is associated with an existing Launch Template should be suppressed or not.
public bool? SuppressLaunchTemplateWarning { get; set; }
Property Value
bool?
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 bool? SuppressWarnings { get; set; }
Property Value
bool?
Remarks
Default: - false