Class CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lambda
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty : CfnEventSourceMappingPropsMixin.IAmazonManagedKafkaEventSourceConfigProperty
Syntax (vb)
Public Class CfnEventSourceMappingPropsMixin.AmazonManagedKafkaEventSourceConfigProperty Implements CfnEventSourceMappingPropsMixin.IAmazonManagedKafkaEventSourceConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Lambda;
var amazonManagedKafkaEventSourceConfigProperty = new AmazonManagedKafkaEventSourceConfigProperty {
ConsumerGroupId = "consumerGroupId",
SchemaRegistryConfig = new SchemaRegistryConfigProperty {
AccessConfigs = new [] { new SchemaRegistryAccessConfigProperty {
Type = "type",
Uri = "uri"
} },
EventRecordFormat = "eventRecordFormat",
SchemaRegistryUri = "schemaRegistryUri",
SchemaValidationConfigs = new [] { new SchemaValidationConfigProperty {
Attribute = "attribute"
} }
}
};
Synopsis
Constructors
| AmazonManagedKafkaEventSourceConfigProperty() | Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source. |
Properties
| ConsumerGroupId | The identifier for the Kafka consumer group to join. |
| SchemaRegistryConfig | Specific configuration settings for a Kafka schema registry. |
Constructors
AmazonManagedKafkaEventSourceConfigProperty()
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
public AmazonManagedKafkaEventSourceConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.Lambda;
var amazonManagedKafkaEventSourceConfigProperty = new AmazonManagedKafkaEventSourceConfigProperty {
ConsumerGroupId = "consumerGroupId",
SchemaRegistryConfig = new SchemaRegistryConfigProperty {
AccessConfigs = new [] { new SchemaRegistryAccessConfigProperty {
Type = "type",
Uri = "uri"
} },
EventRecordFormat = "eventRecordFormat",
SchemaRegistryUri = "schemaRegistryUri",
SchemaValidationConfigs = new [] { new SchemaValidationConfigProperty {
Attribute = "attribute"
} }
}
};
Properties
ConsumerGroupId
The identifier for the Kafka consumer group to join.
public string? ConsumerGroupId { get; set; }
Property Value
Remarks
The consumer group ID must be unique among all your Kafka event sources. After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see Customizable consumer group ID .
SchemaRegistryConfig
Specific configuration settings for a Kafka schema registry.
public object? SchemaRegistryConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnEventSourceMappingPropsMixin.ISchemaRegistryConfigProperty