All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.autoscaling.api.ILifecycleHookTarget Maven / Gradle / Ivy

There is a newer version: 0.32.0
Show newest version
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") });
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy