InitCommandWaitDuration

class aws_cdk.aws_ec2.InitCommandWaitDuration

Bases: object

Represents a duration to wait after a command has finished, in case of a reboot (Windows only).

Static Methods

classmethod forever()

cfn-init will exit and resume only after a reboot.

Return type

InitCommandWaitDuration

classmethod none()

Do not wait for this command.

Return type

InitCommandWaitDuration

classmethod of(duration)

Wait for a specified duration after a command.

Parameters

duration (Duration) –

Return type

InitCommandWaitDuration