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).
- ExampleMetadata
fixture=_generated
Example:
# 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()
Static Methods
-
classmethod
forever
()¶ cfn-init will exit and resume only after a reboot.
- Return type
-
classmethod
none
()¶ Do not wait for this command.
- Return type