CfnHookTypeConfigProps
- class aws_cdk.CfnHookTypeConfigProps(*, configuration, configuration_alias=None, type_arn=None, type_name=None)
Bases:
objectProperties for defining a
CfnHookTypeConfig.- Parameters:
configuration (
str) – Specifies the activated Hook type configuration, in this AWS account and AWS Region . You must specify eitherTypeNameandConfigurationorTypeArnandConfiguration.configuration_alias (
Optional[str]) – An alias by which to refer to this configuration data. Defaults todefaultalias. Hook types currently support default configuration alias. Default: - “default”type_arn (
Optional[str]) – The Amazon Resource Number (ARN) for the Hook to setConfigurationfor. You must specify eitherTypeNameandConfigurationorTypeArnandConfiguration.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 eitherTypeNameandConfigurationorTypeArnandConfiguration.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk cfn_hook_type_config_props = cdk.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
TypeNameandConfigurationorTypeArnandConfiguration.
- configuration_alias
An alias by which to refer to this configuration data.
Defaults to
defaultalias. Hook types currently support default configuration alias.
- type_arn
The Amazon Resource Number (ARN) for the Hook to set
Configurationfor.You must specify either
TypeNameandConfigurationorTypeArnandConfiguration.
- 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
TypeNameandConfigurationorTypeArnandConfiguration.