Interface CfnHookVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHookVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:32.805Z")
@Stability(Stable)
public interface CfnHookVersionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHookVersion.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.cloudformation.*;
CfnHookVersionProps cfnHookVersionProps = CfnHookVersionProps.builder()
.schemaHandlerPackage("schemaHandlerPackage")
.typeName("typeName")
// the properties below are optional
.executionRoleArn("executionRoleArn")
.loggingConfig(LoggingConfigProperty.builder()
.logGroupName("logGroupName")
.logRoleArn("logRoleArn")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHookVersionPropsstatic final classAn implementation forCfnHookVersionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnHookVersionProps.Builderbuilder()default StringThe Amazon Resource Name (ARN) of the task execution role that grants the Hook permission.default ObjectContains logging configuration information for an extension.A URL to the Amazon S3 bucket for the Hook project package that contains the necessary files for the Hook you want to register.The unique name for your Hook.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSchemaHandlerPackage
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 AWS CloudFormation Hooks User Guide .
To register the Hook, you must have
s3:GetObjectpermissions to access the S3 objects.- See Also:
-
getTypeName
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
- See Also:
-
getExecutionRoleArn
The Amazon Resource Name (ARN) of the task execution role that grants the Hook permission.- See Also:
-
getLoggingConfig
Contains logging configuration information for an extension.Returns union: either
IResolvableorCfnHookVersion.LoggingConfigProperty- See Also:
-
builder
- Returns:
- a
CfnHookVersionProps.BuilderofCfnHookVersionProps
-