@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.997Z") @Stability(value=Stable) public interface CfnHookVersionProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnHookVersionProps.Builder
A builder for
CfnHookVersionProps |
static class |
CfnHookVersionProps.Jsii$Proxy
An implementation for
CfnHookVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnHookVersionProps.Builder |
builder() |
default String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the task execution role that grants the hook permission.
|
default Object |
getLoggingConfig()
Contains logging configuration information for an extension.
|
String |
getSchemaHandlerPackage()
A URL to the Amazon S3 bucket containing the hook project package that contains the necessary files for the hook you want to register.
|
String |
getTypeName()
The unique name for your hook.
|
@Stability(value=Stable) @NotNull String getSchemaHandlerPackage()
For information on generating a schema handler package for the resource you want to register, see submit in the CloudFormation CLI User Guide for Extension Development .
The user registering the resource must be able to access the package in the S3 bucket. That's, the user must have GetObject permissions for the schema handler package. For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .
@Stability(value=Stable) @NotNull String getTypeName()
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
@Stability(value=Stable) @Nullable default String getExecutionRoleArn()
@Stability(value=Stable) @Nullable default Object getLoggingConfig()
@Stability(value=Stable) static CfnHookVersionProps.Builder builder()
CfnHookVersionProps.Builder of CfnHookVersionPropsCopyright © 2022. All rights reserved.