Class CfnHook.Builder

java.lang.Object
software.amazon.awscdk.core.CfnHook.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHook>
Enclosing class:
CfnHook

@Stability(Stable) public static final class CfnHook.Builder extends Object implements software.amazon.jsii.Builder<CfnHook>
A fluent builder for CfnHook.
  • Method Details

    • create

      @Stability(Stable) public static CfnHook.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of CfnHook.Builder.
    • type

      @Stability(Stable) public CfnHook.Builder type(String type)
      The type of the hook (for example, "AWS::CodeDeploy::BlueGreen").

      Parameters:
      type - The type of the hook (for example, "AWS::CodeDeploy::BlueGreen"). This parameter is required.
      Returns:
      this
    • properties

      @Stability(Stable) public CfnHook.Builder properties(Map<String,? extends Object> properties)
      The properties of the hook.

      Default: - no properties

      Parameters:
      properties - The properties of the hook. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnHook build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnHook>
      Returns:
      a newly built instance of CfnHook.