CfnHookVersionMixinProps
- class aws_cdk.mixins_preview.aws_cloudformation.mixins.CfnHookVersionMixinProps(*, execution_role_arn=None, logging_config=None, schema_handler_package=None, type_name=None)
Bases:
objectProperties for CfnHookVersionPropsMixin.
- Parameters:
execution_role_arn (
Optional[str]) – The Amazon Resource Name (ARN) of the task execution role that grants the Hook permission.logging_config (
Union[IResolvable,LoggingConfigProperty,Dict[str,Any],None]) – Contains logging configuration information for an extension.schema_handler_package (
Optional[str]) – A URL to the Amazon S3 bucket for the Hook project package that contains the necessary files for the Hook you want to register. For information on generating a schema handler package, see Modeling custom CloudFormation Hooks in the CloudFormation Hooks User Guide . .. epigraph:: To register the Hook, you must haves3:GetObjectpermissions to access the S3 objects.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. .. epigraph:: The following organization namespaces are reserved and can’t be used in your Hook type names: -Alexa-AMZN-Amazon-ASK-AWS-Custom-Dev
- 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.mixins_preview.aws_cloudformation import mixins as cloudformation_mixins cfn_hook_version_mixin_props = cloudformation_mixins.CfnHookVersionMixinProps( execution_role_arn="executionRoleArn", logging_config=cloudformation_mixins.CfnHookVersionPropsMixin.LoggingConfigProperty( log_group_name="logGroupName", log_role_arn="logRoleArn" ), schema_handler_package="schemaHandlerPackage", type_name="typeName" )
Attributes
- execution_role_arn
The Amazon Resource Name (ARN) of the task execution role that grants the Hook permission.
- logging_config
Contains logging configuration information for an extension.
- schema_handler_package
A URL to the Amazon S3 bucket for the Hook project package that contains the necessary files for the Hook you want to register.
For information on generating a schema handler package, see Modeling custom CloudFormation Hooks in the CloudFormation Hooks User Guide . .. epigraph:
To register the Hook, you must have ``s3:GetObject`` permissions to access the S3 objects.
- type_name
The unique name for your Hook.
Specifies a three-part namespace for your Hook, with a recommended pattern of
Organization::Service::Hook. .. epigraph:The following organization namespaces are reserved and can't be used in your Hook type names: - ``Alexa`` - ``AMZN`` - ``Amazon`` - ``ASK`` - ``AWS`` - ``Custom`` - ``Dev``