@Stability(value=Stable) public static final class CfnHookVersionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnHookVersionProps>
CfnHookVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnHookVersionProps |
build()
Builds the configured instance.
|
CfnHookVersionProps.Builder |
executionRoleArn(String executionRoleArn)
Sets the value of
CfnHookVersionProps.getExecutionRoleArn() |
CfnHookVersionProps.Builder |
loggingConfig(CfnHookVersion.LoggingConfigProperty loggingConfig)
Sets the value of
CfnHookVersionProps.getLoggingConfig() |
CfnHookVersionProps.Builder |
loggingConfig(IResolvable loggingConfig)
Sets the value of
CfnHookVersionProps.getLoggingConfig() |
CfnHookVersionProps.Builder |
schemaHandlerPackage(String schemaHandlerPackage)
Sets the value of
CfnHookVersionProps.getSchemaHandlerPackage() |
CfnHookVersionProps.Builder |
typeName(String typeName)
Sets the value of
CfnHookVersionProps.getTypeName() |
@Stability(value=Stable) public CfnHookVersionProps.Builder schemaHandlerPackage(String schemaHandlerPackage)
CfnHookVersionProps.getSchemaHandlerPackage()schemaHandlerPackage - A URL to the Amazon S3 bucket containing the hook project package that contains the necessary files for the hook you want to register. This parameter is required.
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 .
this@Stability(value=Stable) public CfnHookVersionProps.Builder typeName(String typeName)
CfnHookVersionProps.getTypeName()typeName - The unique name for your hook. This parameter is required.
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
this@Stability(value=Stable) public CfnHookVersionProps.Builder executionRoleArn(String executionRoleArn)
CfnHookVersionProps.getExecutionRoleArn()executionRoleArn - The Amazon Resource Name (ARN) of the task execution role that grants the hook permission.this@Stability(value=Stable) public CfnHookVersionProps.Builder loggingConfig(IResolvable loggingConfig)
CfnHookVersionProps.getLoggingConfig()loggingConfig - Contains logging configuration information for an extension.this@Stability(value=Stable) public CfnHookVersionProps.Builder loggingConfig(CfnHookVersion.LoggingConfigProperty loggingConfig)
CfnHookVersionProps.getLoggingConfig()loggingConfig - Contains logging configuration information for an extension.this@Stability(value=Stable) public CfnHookVersionProps build()
build in interface software.amazon.jsii.Builder<CfnHookVersionProps>CfnHookVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.