Show / Hide Table of Contents

Class InstanceRequireImdsv2AspectProps

Properties for InstanceRequireImdsv2Aspect.

Inheritance
object
InstanceRequireImdsv2AspectProps
Implements
IInstanceRequireImdsv2AspectProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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 InstanceRequireImdsv2Aspect.

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

Implements

IInstanceRequireImdsv2AspectProps
Back to top Generated by DocFX