CfnHookTypeConfigProps
- class aws_cdk.aws_cloudformation.CfnHookTypeConfigProps(*, configuration, configuration_alias=None, type_arn=None, type_name=None)
Bases:
object
Properties for defining a
CfnHookTypeConfig
.- Parameters:
configuration (
str
) – Specifies the activated hook type configuration, in this AWS account and AWS Region . You must specify eitherTypeName
andConfiguration
orTypeArn
andConfiguration
.configuration_alias (
Optional
[str
]) – Specifies the activated hook type configuration, in this AWS account and AWS Region . Defaults todefault
alias. Hook types currently support default configuration alias. Default: - “default”type_arn (
Optional
[str
]) – The Amazon Resource Number (ARN) for the hook to setConfiguration
for. You must specify eitherTypeName
andConfiguration
orTypeArn
andConfiguration
.type_name (
Optional
[str
]) – The unique name for your hook. Specifies a three-part namespace for your hook, with a recommended pattern ofOrganization::Service::Hook
. You must specify eitherTypeName
andConfiguration
orTypeArn
andConfiguration
.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_cloudformation as cloudformation cfn_hook_type_config_props = cloudformation.CfnHookTypeConfigProps( configuration="configuration", # the properties below are optional configuration_alias="configurationAlias", type_arn="typeArn", type_name="typeName" )
Attributes
- configuration
Specifies the activated hook type configuration, in this AWS account and AWS Region .
You must specify either
TypeName
andConfiguration
orTypeArn
andConfiguration
.
- configuration_alias
Specifies the activated hook type configuration, in this AWS account and AWS Region .
Defaults to
default
alias. Hook types currently support default configuration alias.
- type_arn
The Amazon Resource Number (ARN) for the hook to set
Configuration
for.You must specify either
TypeName
andConfiguration
orTypeArn
andConfiguration
.
- type_name
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
.