io.burkard.cdk.services.autoscaling.LifecycleHookTargetConfig.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.autoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LifecycleHookTargetConfig {
def apply(
createdRole: software.amazon.awscdk.services.iam.IRole,
notificationTargetArn: String
): software.amazon.awscdk.services.autoscaling.LifecycleHookTargetConfig =
(new software.amazon.awscdk.services.autoscaling.LifecycleHookTargetConfig.Builder)
.createdRole(createdRole)
.notificationTargetArn(notificationTargetArn)
.build()
}