public static final class CfnHookVersionProps.Builder
extends java.lang.Object
CfnHookVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnHookVersionProps |
build()
Builds the configured instance.
|
CfnHookVersionProps.Builder |
executionRoleArn(java.lang.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(java.lang.String schemaHandlerPackage)
Sets the value of
CfnHookVersionProps.getSchemaHandlerPackage() |
CfnHookVersionProps.Builder |
typeName(java.lang.String typeName)
Sets the value of
CfnHookVersionProps.getTypeName() |
public CfnHookVersionProps.Builder schemaHandlerPackage(java.lang.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
public CfnHookVersionProps.Builder typeName(java.lang.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:
Alexa
AMZN
Amazon
ASK
AWS
Custom
Dev
this
public CfnHookVersionProps.Builder executionRoleArn(java.lang.String executionRoleArn)
CfnHookVersionProps.getExecutionRoleArn()
executionRoleArn
- The Amazon Resource Name (ARN) of the task execution role that grants the hook permission.this
public CfnHookVersionProps.Builder loggingConfig(CfnHookVersion.LoggingConfigProperty loggingConfig)
CfnHookVersionProps.getLoggingConfig()
loggingConfig
- Contains logging configuration information for an extension.this
public CfnHookVersionProps.Builder loggingConfig(IResolvable loggingConfig)
CfnHookVersionProps.getLoggingConfig()
loggingConfig
- Contains logging configuration information for an extension.this
public CfnHookVersionProps build()
CfnHookVersionProps
java.lang.NullPointerException
- if any required attribute was not provided