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 either TypeName and Configuration or TypeARN and Configuration .

  • configuration_alias (Optional[str]) – 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 (Optional[str]) – The Amazon Resource Number (ARN) for the hook to set Configuration for. You must specify either TypeName and Configuration or TypeARN and Configuration .

  • type_name (Optional[str]) – 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 and Configuration or TypeARN and Configuration .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html

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.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 and Configuration or TypeARN and Configuration .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configuration

Return type

str

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.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-configurationalias

Return type

Optional[str]

type_arn

The Amazon Resource Number (ARN) for the hook to set Configuration for.

You must specify either TypeName and Configuration or TypeARN and Configuration .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typearn

Return type

Optional[str]

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 and Configuration or TypeARN and Configuration .

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-hooktypeconfig.html#cfn-cloudformation-hooktypeconfig-typename

Return type

Optional[str]