software.amazon.awscdk.services.autoscaling.api.ILifecycleHookTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of autoscaling-api Show documentation
Show all versions of autoscaling-api Show documentation
API package for @aws-cdk/aws-autoscaling
package software.amazon.awscdk.services.autoscaling.api;
/**
* Interface for autoscaling lifecycle hook targets.
*/
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:52:13.952Z")
public interface ILifecycleHookTarget extends software.amazon.jsii.JsiiSerializable {
/**
* Called when this object is used as the target of a lifecycle hook.
*/
software.amazon.awscdk.services.autoscaling.api.LifecycleHookTargetProps asLifecycleHookTarget(final software.amazon.awscdk.services.autoscaling.api.ILifecycleHook lifecycleHook);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
final static class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.autoscaling.api.ILifecycleHookTarget {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
/**
* Called when this object is used as the target of a lifecycle hook.
*/
@Override
public software.amazon.awscdk.services.autoscaling.api.LifecycleHookTargetProps asLifecycleHookTarget(final software.amazon.awscdk.services.autoscaling.api.ILifecycleHook lifecycleHook) {
return this.jsiiCall("asLifecycleHookTarget", software.amazon.awscdk.services.autoscaling.api.LifecycleHookTargetProps.class, new Object[] { java.util.Objects.requireNonNull(lifecycleHook, "lifecycleHook is required") });
}
}
}