interface CfnHookVersionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.CloudFormation.CfnHookVersionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awscloudformation#CfnHookVersionMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnHookVersionMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_cloudformation.CfnHookVersionMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_cloudformation » CfnHookVersionMixinProps |
Properties for CfnHookVersionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudformation as cloudformation } from '@aws-cdk/cfn-property-mixins';
const cfnHookVersionMixinProps: cloudformation.CfnHookVersionMixinProps = {
executionRoleArn: 'executionRoleArn',
loggingConfig: {
logGroupName: 'logGroupName',
logRoleArn: 'logRoleArn',
},
schemaHandlerPackage: 'schemaHandlerPackage',
typeName: 'typeName',
};
Properties
| Name | Type | Description |
|---|---|---|
| execution | string | The Amazon Resource Name (ARN) of the task execution role that grants the Hook permission. |
| logging | IResolvable | Logging | Contains logging configuration information for an extension. |
| schema | string | A URL to the Amazon S3 bucket for the Hook project package that contains the necessary files for the Hook you want to register. |
| type | string | The unique name for your Hook. |
executionRoleArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the task execution role that grants the Hook permission.
loggingConfig?
Type:
IResolvable | Logging
(optional)
Contains logging configuration information for an extension.
schemaHandlerPackage?
Type:
string
(optional)
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 .
To register the Hook, you must have
s3:GetObjectpermissions to access the S3 objects.
typeName?
Type:
string
(optional)
The unique name for your Hook.
Specifies a three-part namespace for your Hook, with a recommended pattern of Organization::Service::Hook .
The following organization namespaces are reserved and can't be used in your Hook type names:
AlexaAMZNAmazonASKAWSCustomDev

.NET
Go
Java
Python
TypeScript