Interface SignalsOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:45.413Z") @Stability(Stable) public interface SignalsOptions extends
Customization options for Signal handling.


 Vpc vpc;
 InstanceType instanceType;
 IMachineImage machineImage;
 AutoScalingGroup.Builder.create(this, "ASG")
         // ...
         .init(CloudFormationInit.fromElements(InitFile.fromString("/etc/my_instance", "This got written during instance startup")))
  • Method Details

    • getMinSuccessPercentage

      @Stability(Stable) @Nullable default Number getMinSuccessPercentage()
      The percentage of signals that need to be successful.

      If this number is less than 100, a percentage of signals may be failure signals while still succeeding the creation or update in CloudFormation.

      Default: 100

    • getTimeout

      @Stability(Stable) @Nullable default Duration getTimeout()
      How long to wait for the signals to be sent.

      This should reflect how long it takes your instances to start up (including instance start time and instance initialization time).

      Default: Duration.minutes(5)

    • builder

      @Stability(Stable) static SignalsOptions.Builder builder()
      a SignalsOptions.Builder of SignalsOptions