Package software.amazon.awscdk
Class CfnHook.Builder
java.lang.Object
software.amazon.awscdk.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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnHook.Builder
properties
(Map<String, ? extends Object> properties) The properties of the hook.The type of the hook (for example, "AWS::CodeDeploy::BlueGreen").
-
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
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
The properties of the hook.Default: - no properties
- Parameters:
properties
- The properties of the hook. This parameter is required.- Returns:
this
-
build
-