Class CfnHookTypeConfig.Builder
java.lang.Object
software.amazon.awscdk.services.cloudformation.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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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.- Parameters:
configurationAlias
- Specifies the activated hook type configuration, in this AWS account and AWS Region . This parameter is required.- Returns:
this
-
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
-
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
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHookTypeConfig>
- Returns:
- a newly built instance of
CfnHookTypeConfig
.
-