- class aws_cdk.aws_ec2.InitCommandWaitDuration
Represents a duration to wait after a command has finished, in case of a reboot (Windows only).
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_ec2 as ec2 init_command_wait_duration = ec2.InitCommandWaitDuration.forever()
- classmethod forever()
cfn-init will exit and resume only after a reboot.
- Return type: