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

cloudshift.awscdk.dsl.services.elasticloadbalancingv2.AddNetworkActionPropsDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@file:Suppress("RedundantVisibilityModifier","RedundantUnitReturnType","RemoveRedundantQualifierName","unused","UnusedImport","ClassName","REDUNDANT_PROJECTION","DEPRECATION")

package cloudshift.awscdk.dsl.services.elasticloadbalancingv2

import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.elasticloadbalancingv2.AddNetworkActionProps
import software.amazon.awscdk.services.elasticloadbalancingv2.NetworkListenerAction

/**
 * Properties for adding a new action to a listener.
 *
 * Example:
 *
 * ```
 * // The code below shows an example of how to instantiate this type.
 * // The values are placeholders you should change.
 * import software.amazon.awscdk.services.elasticloadbalancingv2.*;
 * NetworkListenerAction networkListenerAction;
 * AddNetworkActionProps addNetworkActionProps = AddNetworkActionProps.builder()
 * .action(networkListenerAction)
 * .build();
 * ```
 */
@CdkDslMarker
public class AddNetworkActionPropsDsl {
  private val cdkBuilder: AddNetworkActionProps.Builder = AddNetworkActionProps.builder()

  /**
   * @param action Action to perform. 
   */
  public fun action(action: NetworkListenerAction) {
    cdkBuilder.action(action)
  }

  public fun build(): AddNetworkActionProps = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy