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
@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
.
-