AutoScalingGroupRequireImdsv2Aspect

class aws_cdk.aws_autoscaling.AutoScalingGroupRequireImdsv2Aspect

Bases: object

Aspect that makes IMDSv2 required on instances deployed by AutoScalingGroups.

Example:

aspect = autoscaling.AutoScalingGroupRequireImdsv2Aspect()

Aspects.of(self).add(aspect)

Methods

visit(node)

All aspects can visit an IConstruct.

Parameters

node (IConstruct) –

Return type

None