software.amazon.awscdk.services.autoscaling.api.ILifecycleHook 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;
/**
* A basic lifecycle hook object.
*/
@javax.annotation.Generated(value = "jsii-pacmak/0.10.3 (build 6bbf743)", date = "2019-04-24T21:03:25.699Z")
public interface ILifecycleHook extends software.amazon.jsii.JsiiSerializable {
/**
* The role for the lifecycle hook to execute.
*/
software.amazon.awscdk.services.iam.IRole getRole();
/**
* 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.ILifecycleHook {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
super(mode);
}
/**
* The role for the lifecycle hook to execute.
*/
@Override
public software.amazon.awscdk.services.iam.IRole getRole() {
return this.jsiiGet("role", software.amazon.awscdk.services.iam.IRole.class);
}
}
}