Class CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lambda.CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty>
- Enclosing interface:
CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessConfigs(List<? extends Object> accessConfigs) accessConfigs(IResolvable accessConfigs) build()Builds the configured instance.eventRecordFormat(String eventRecordFormat) schemaRegistryUri(String schemaRegistryUri) schemaValidationConfigs(List<? extends Object> schemaValidationConfigs) schemaValidationConfigs(IResolvable schemaValidationConfigs)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessConfigs
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder accessConfigs(IResolvable accessConfigs) - Parameters:
accessConfigs- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.- Returns:
this
-
accessConfigs
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder accessConfigs(List<? extends Object> accessConfigs) - Parameters:
accessConfigs- An array of access configuration objects that tell Lambda how to authenticate with your schema registry.- Returns:
this
-
eventRecordFormat
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder eventRecordFormat(String eventRecordFormat) Sets the value ofCfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.getEventRecordFormat()- Parameters:
eventRecordFormat- The record format that Lambda delivers to your function after schema validation.- Choose
JSONto have Lambda deliver the record to your function as a standard JSON object. - Choose
SOURCEto have Lambda deliver the record to your function in its original source format. Lambda removes all schema metadata, such as the schema ID, before sending the record to your function.
- Choose
- Returns:
this
-
schemaRegistryUri
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder schemaRegistryUri(String schemaRegistryUri) Sets the value ofCfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.getSchemaRegistryUri()- Parameters:
schemaRegistryUri- The URI for your schema registry. The correct URI format depends on the type of schema registry you're using.- For AWS Glue schema registries, use the ARN of the registry.
- For Confluent schema registries, use the URL of the registry.
- Returns:
this
-
schemaValidationConfigs
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder schemaValidationConfigs(IResolvable schemaValidationConfigs) Sets the value ofCfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.getSchemaValidationConfigs()- Parameters:
schemaValidationConfigs- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.- Returns:
this
-
schemaValidationConfigs
@Stability(Stable) public CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.Builder schemaValidationConfigs(List<? extends Object> schemaValidationConfigs) Sets the value ofCfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty.getSchemaValidationConfigs()- Parameters:
schemaValidationConfigs- An array of schema validation configuration objects, which tell Lambda the message attributes you want to validate and filter using your schema registry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty>- Returns:
- a new instance of
CfnEventSourceMappingPropsMixin.SchemaRegistryConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-