interface CfnHookTypeConfigProps
Language | Type name |
---|---|
.NET | Amazon.CDK.CfnHookTypeConfigProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2#CfnHookTypeConfigProps |
Java | software.amazon.awscdk.CfnHookTypeConfigProps |
Python | aws_cdk.CfnHookTypeConfigProps |
TypeScript | aws-cdk-lib » CfnHookTypeConfigProps |
Properties for defining a CfnHookTypeConfig
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
const cfnHookTypeConfigProps: cdk.CfnHookTypeConfigProps = {
configuration: 'configuration',
// the properties below are optional
configurationAlias: 'configurationAlias',
typeArn: 'typeArn',
typeName: 'typeName',
};
Properties
Name | Type | Description |
---|---|---|
configuration | string | Specifies the activated hook type configuration, in this AWS account and AWS Region . |
configuration | string | Specifies the activated hook type configuration, in this AWS account and AWS Region . |
type | string | The Amazon Resource Number (ARN) for the hook to set Configuration for. |
type | string | The unique name for your hook. |
configuration
Type:
string
Specifies the activated hook type configuration, in this AWS account and AWS Region .
You must specify either TypeName
and Configuration
or TypeArn
and Configuration
.
configurationAlias?
Type:
string
(optional, default: "default")
Specifies the activated hook type configuration, in this AWS account and AWS Region .
Defaults to default
alias. Hook types currently support default configuration alias.
typeArn?
Type:
string
(optional)
The Amazon Resource Number (ARN) for the hook to set Configuration
for.
You must specify either TypeName
and Configuration
or TypeArn
and Configuration
.
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
.
You must specify either TypeName
and Configuration
or TypeArn
and Configuration
.