Package software.amazon.awscdk
Class CfnHookTypeConfig.Builder
java.lang.Object
software.amazon.awscdk.CfnHookTypeConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHookTypeConfig>
- Enclosing class:
CfnHookTypeConfig
@Stability(Stable)
public static final class CfnHookTypeConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHookTypeConfig>
A fluent builder for
CfnHookTypeConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
configuration
(String configuration) Specifies the activated Hook type configuration, in this AWS account and AWS Region .configurationAlias
(String configurationAlias) Specifies the activated Hook type configuration, in this AWS account and AWS Region .static CfnHookTypeConfig.Builder
The Amazon Resource Number (ARN) for the Hook to setConfiguration
for.The unique name for your Hook.
-
Method Details
-
create
@Stability(Stable) public static CfnHookTypeConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnHookTypeConfig.Builder
.
-
configuration
Specifies the activated Hook type configuration, in this AWS account and AWS Region .You must specify either
TypeName
andConfiguration
orTypeArn
andConfiguration
.- Parameters:
configuration
- Specifies the activated Hook type configuration, in this AWS account and AWS Region . This parameter is required.- Returns:
this
- See Also:
-
configurationAlias
Specifies the activated Hook type configuration, in this AWS account and AWS Region .Defaults to
default
alias. Hook types currently support default configuration alias.Default: - "default"
- Parameters:
configurationAlias
- Specifies the activated Hook type configuration, in this AWS account and AWS Region . This parameter is required.- Returns:
this
- See Also:
-
typeArn
The Amazon Resource Number (ARN) for the Hook to setConfiguration
for.You must specify either
TypeName
andConfiguration
orTypeArn
andConfiguration
.- Parameters:
typeArn
- The Amazon Resource Number (ARN) for the Hook to setConfiguration
for. This parameter is required.- Returns:
this
- See Also:
-
typeName
The unique name for your Hook.Specifies a three-part namespace for your Hook, with a recommended pattern of
Organization::Service::Hook
.You must specify either
TypeName
andConfiguration
orTypeArn
andConfiguration
.- Parameters:
typeName
- The unique name for your Hook. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHookTypeConfig>
- Returns:
- a newly built instance of
CfnHookTypeConfig
.
-