Package com.pulumi.aws.lambda.inputs
Class EventSourceMappingState.Builder
- java.lang.Object
-
- com.pulumi.aws.lambda.inputs.EventSourceMappingState.Builder
-
- Enclosing class:
- EventSourceMappingState
public static final class EventSourceMappingState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EventSourceMappingState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EventSourceMappingState defaults)
-
-
Method Detail
-
amazonManagedKafkaEventSourceConfig
public EventSourceMappingState.Builder amazonManagedKafkaEventSourceConfig(@Nullable com.pulumi.core.Output<EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs> amazonManagedKafkaEventSourceConfig)
- Parameters:
amazonManagedKafkaEventSourceConfig- Additional configuration block for Amazon Managed Kafka sources. Incompatible with `selfManagedEventSource` and `selfManagedKafkaEventSourceConfig`. See below.- Returns:
- builder
-
amazonManagedKafkaEventSourceConfig
public EventSourceMappingState.Builder amazonManagedKafkaEventSourceConfig(EventSourceMappingAmazonManagedKafkaEventSourceConfigArgs amazonManagedKafkaEventSourceConfig)
- Parameters:
amazonManagedKafkaEventSourceConfig- Additional configuration block for Amazon Managed Kafka sources. Incompatible with `selfManagedEventSource` and `selfManagedKafkaEventSourceConfig`. See below.- Returns:
- builder
-
arn
public EventSourceMappingState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- Event source mapping ARN.- Returns:
- builder
-
arn
public EventSourceMappingState.Builder arn(java.lang.String arn)
- Parameters:
arn- Event source mapping ARN.- Returns:
- builder
-
batchSize
public EventSourceMappingState.Builder batchSize(@Nullable com.pulumi.core.Output<java.lang.Integer> batchSize)
- Parameters:
batchSize- Largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.- Returns:
- builder
-
batchSize
public EventSourceMappingState.Builder batchSize(java.lang.Integer batchSize)
- Parameters:
batchSize- Largest number of records that Lambda will retrieve from your event source at the time of invocation. Defaults to `100` for DynamoDB, Kinesis, MQ and MSK, `10` for SQS.- Returns:
- builder
-
bisectBatchOnFunctionError
public EventSourceMappingState.Builder bisectBatchOnFunctionError(@Nullable com.pulumi.core.Output<java.lang.Boolean> bisectBatchOnFunctionError)
- Parameters:
bisectBatchOnFunctionError- Whether to split the batch in two and retry if the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.- Returns:
- builder
-
bisectBatchOnFunctionError
public EventSourceMappingState.Builder bisectBatchOnFunctionError(java.lang.Boolean bisectBatchOnFunctionError)
- Parameters:
bisectBatchOnFunctionError- Whether to split the batch in two and retry if the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Defaults to `false`.- Returns:
- builder
-
destinationConfig
public EventSourceMappingState.Builder destinationConfig(@Nullable com.pulumi.core.Output<EventSourceMappingDestinationConfigArgs> destinationConfig)
- Parameters:
destinationConfig- Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.- Returns:
- builder
-
destinationConfig
public EventSourceMappingState.Builder destinationConfig(EventSourceMappingDestinationConfigArgs destinationConfig)
- Parameters:
destinationConfig- Amazon SQS queue, Amazon SNS topic or Amazon S3 bucket (only available for Kafka sources) destination for failed records. Only available for stream sources (DynamoDB and Kinesis) and Kafka sources (Amazon MSK and Self-managed Apache Kafka). See below.- Returns:
- builder
-
documentDbEventSourceConfig
public EventSourceMappingState.Builder documentDbEventSourceConfig(@Nullable com.pulumi.core.Output<EventSourceMappingDocumentDbEventSourceConfigArgs> documentDbEventSourceConfig)
- Parameters:
documentDbEventSourceConfig- Configuration settings for a DocumentDB event source. See below.- Returns:
- builder
-
documentDbEventSourceConfig
public EventSourceMappingState.Builder documentDbEventSourceConfig(EventSourceMappingDocumentDbEventSourceConfigArgs documentDbEventSourceConfig)
- Parameters:
documentDbEventSourceConfig- Configuration settings for a DocumentDB event source. See below.- Returns:
- builder
-
enabled
public EventSourceMappingState.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Whether the mapping is enabled. Defaults to `true`.- Returns:
- builder
-
enabled
public EventSourceMappingState.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Whether the mapping is enabled. Defaults to `true`.- Returns:
- builder
-
eventSourceArn
public EventSourceMappingState.Builder eventSourceArn(@Nullable com.pulumi.core.Output<java.lang.String> eventSourceArn)
- Parameters:
eventSourceArn- Event source ARN - required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. Incompatible with Self Managed Kafka source.- Returns:
- builder
-
eventSourceArn
public EventSourceMappingState.Builder eventSourceArn(java.lang.String eventSourceArn)
- Parameters:
eventSourceArn- Event source ARN - required for Kinesis stream, DynamoDB stream, SQS queue, MQ broker, MSK cluster or DocumentDB change stream. Incompatible with Self Managed Kafka source.- Returns:
- builder
-
filterCriteria
public EventSourceMappingState.Builder filterCriteria(@Nullable com.pulumi.core.Output<EventSourceMappingFilterCriteriaArgs> filterCriteria)
- Parameters:
filterCriteria- Criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. See below.- Returns:
- builder
-
filterCriteria
public EventSourceMappingState.Builder filterCriteria(EventSourceMappingFilterCriteriaArgs filterCriteria)
- Parameters:
filterCriteria- Criteria to use for [event filtering](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) Kinesis stream, DynamoDB stream, SQS queue event sources. See below.- Returns:
- builder
-
functionArn
public EventSourceMappingState.Builder functionArn(@Nullable com.pulumi.core.Output<java.lang.String> functionArn)
- Parameters:
functionArn- ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.)- Returns:
- builder
-
functionArn
public EventSourceMappingState.Builder functionArn(java.lang.String functionArn)
- Parameters:
functionArn- ARN of the Lambda function the event source mapping is sending events to. (Note: this is a computed value that differs from `functionName` above.)- Returns:
- builder
-
functionName
public EventSourceMappingState.Builder functionName(@Nullable com.pulumi.core.Output<java.lang.String> functionName)
- Parameters:
functionName- Name or ARN of the Lambda function that will be subscribing to events. The following arguments are optional:- Returns:
- builder
-
functionName
public EventSourceMappingState.Builder functionName(java.lang.String functionName)
- Parameters:
functionName- Name or ARN of the Lambda function that will be subscribing to events. The following arguments are optional:- Returns:
- builder
-
functionResponseTypes
public EventSourceMappingState.Builder functionResponseTypes(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> functionResponseTypes)
- Parameters:
functionResponseTypes- List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.- Returns:
- builder
-
functionResponseTypes
public EventSourceMappingState.Builder functionResponseTypes(java.util.List<java.lang.String> functionResponseTypes)
- Parameters:
functionResponseTypes- List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.- Returns:
- builder
-
functionResponseTypes
public EventSourceMappingState.Builder functionResponseTypes(java.lang.String... functionResponseTypes)
- Parameters:
functionResponseTypes- List of current response type enums applied to the event source mapping for [AWS Lambda checkpointing](https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-batchfailurereporting). Only available for SQS and stream sources (DynamoDB and Kinesis). Valid values: `ReportBatchItemFailures`.- Returns:
- builder
-
kmsKeyArn
public EventSourceMappingState.Builder kmsKeyArn(@Nullable com.pulumi.core.Output<java.lang.String> kmsKeyArn)
- Parameters:
kmsKeyArn- ARN of the KMS customer managed key that Lambda uses to encrypt your function's filter criteria.- Returns:
- builder
-
kmsKeyArn
public EventSourceMappingState.Builder kmsKeyArn(java.lang.String kmsKeyArn)
- Parameters:
kmsKeyArn- ARN of the KMS customer managed key that Lambda uses to encrypt your function's filter criteria.- Returns:
- builder
-
lastModified
public EventSourceMappingState.Builder lastModified(@Nullable com.pulumi.core.Output<java.lang.String> lastModified)
- Parameters:
lastModified- Date this resource was last modified.- Returns:
- builder
-
lastModified
public EventSourceMappingState.Builder lastModified(java.lang.String lastModified)
- Parameters:
lastModified- Date this resource was last modified.- Returns:
- builder
-
lastProcessingResult
public EventSourceMappingState.Builder lastProcessingResult(@Nullable com.pulumi.core.Output<java.lang.String> lastProcessingResult)
- Parameters:
lastProcessingResult- Result of the last AWS Lambda invocation of your Lambda function.- Returns:
- builder
-
lastProcessingResult
public EventSourceMappingState.Builder lastProcessingResult(java.lang.String lastProcessingResult)
- Parameters:
lastProcessingResult- Result of the last AWS Lambda invocation of your Lambda function.- Returns:
- builder
-
maximumBatchingWindowInSeconds
public EventSourceMappingState.Builder maximumBatchingWindowInSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumBatchingWindowInSeconds)
- Parameters:
maximumBatchingWindowInSeconds- Maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.- Returns:
- builder
-
maximumBatchingWindowInSeconds
public EventSourceMappingState.Builder maximumBatchingWindowInSeconds(java.lang.Integer maximumBatchingWindowInSeconds)
- Parameters:
maximumBatchingWindowInSeconds- Maximum amount of time to gather records before invoking the function, in seconds (between 0 and 300). Records will continue to buffer until either `maximumBatchingWindowInSeconds` expires or `batchSize` has been met. For streaming event sources, defaults to as soon as records are available in the stream. Only available for stream sources (DynamoDB and Kinesis) and SQS standard queues.- Returns:
- builder
-
maximumRecordAgeInSeconds
public EventSourceMappingState.Builder maximumRecordAgeInSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumRecordAgeInSeconds)
- Parameters:
maximumRecordAgeInSeconds- Maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).- Returns:
- builder
-
maximumRecordAgeInSeconds
public EventSourceMappingState.Builder maximumRecordAgeInSeconds(java.lang.Integer maximumRecordAgeInSeconds)
- Parameters:
maximumRecordAgeInSeconds- Maximum age of a record that Lambda sends to a function for processing. Only available for stream sources (DynamoDB and Kinesis). Must be either -1 (forever, and the default value) or between 60 and 604800 (inclusive).- Returns:
- builder
-
maximumRetryAttempts
public EventSourceMappingState.Builder maximumRetryAttempts(@Nullable com.pulumi.core.Output<java.lang.Integer> maximumRetryAttempts)
- Parameters:
maximumRetryAttempts- Maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.- Returns:
- builder
-
maximumRetryAttempts
public EventSourceMappingState.Builder maximumRetryAttempts(java.lang.Integer maximumRetryAttempts)
- Parameters:
maximumRetryAttempts- Maximum number of times to retry when the function returns an error. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of -1 (forever), maximum of 10000.- Returns:
- builder
-
metricsConfig
public EventSourceMappingState.Builder metricsConfig(@Nullable com.pulumi.core.Output<EventSourceMappingMetricsConfigArgs> metricsConfig)
- Parameters:
metricsConfig- CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.- Returns:
- builder
-
metricsConfig
public EventSourceMappingState.Builder metricsConfig(EventSourceMappingMetricsConfigArgs metricsConfig)
- Parameters:
metricsConfig- CloudWatch metrics configuration of the event source. Only available for stream sources (DynamoDB and Kinesis) and SQS queues. See below.- Returns:
- builder
-
parallelizationFactor
public EventSourceMappingState.Builder parallelizationFactor(@Nullable com.pulumi.core.Output<java.lang.Integer> parallelizationFactor)
- Parameters:
parallelizationFactor- Number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.- Returns:
- builder
-
parallelizationFactor
public EventSourceMappingState.Builder parallelizationFactor(java.lang.Integer parallelizationFactor)
- Parameters:
parallelizationFactor- Number of batches to process from each shard concurrently. Only available for stream sources (DynamoDB and Kinesis). Minimum and default of 1, maximum of 10.- Returns:
- builder
-
provisionedPollerConfig
public EventSourceMappingState.Builder provisionedPollerConfig(@Nullable com.pulumi.core.Output<EventSourceMappingProvisionedPollerConfigArgs> provisionedPollerConfig)
- Parameters:
provisionedPollerConfig- Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.- Returns:
- builder
-
provisionedPollerConfig
public EventSourceMappingState.Builder provisionedPollerConfig(EventSourceMappingProvisionedPollerConfigArgs provisionedPollerConfig)
- Parameters:
provisionedPollerConfig- Event poller configuration for the event source. Only valid for Amazon MSK or self-managed Apache Kafka sources. See below.- Returns:
- builder
-
queues
public EventSourceMappingState.Builder queues(@Nullable com.pulumi.core.Output<java.lang.String> queues)
- Parameters:
queues- Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.- Returns:
- builder
-
queues
public EventSourceMappingState.Builder queues(java.lang.String queues)
- Parameters:
queues- Name of the Amazon MQ broker destination queue to consume. Only available for MQ sources. The list must contain exactly one queue name.- Returns:
- builder
-
region
public EventSourceMappingState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public EventSourceMappingState.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
scalingConfig
public EventSourceMappingState.Builder scalingConfig(@Nullable com.pulumi.core.Output<EventSourceMappingScalingConfigArgs> scalingConfig)
- Parameters:
scalingConfig- Scaling configuration of the event source. Only available for SQS queues. See below.- Returns:
- builder
-
scalingConfig
public EventSourceMappingState.Builder scalingConfig(EventSourceMappingScalingConfigArgs scalingConfig)
- Parameters:
scalingConfig- Scaling configuration of the event source. Only available for SQS queues. See below.- Returns:
- builder
-
selfManagedEventSource
public EventSourceMappingState.Builder selfManagedEventSource(@Nullable com.pulumi.core.Output<EventSourceMappingSelfManagedEventSourceArgs> selfManagedEventSource)
- Parameters:
selfManagedEventSource- For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. See below.- Returns:
- builder
-
selfManagedEventSource
public EventSourceMappingState.Builder selfManagedEventSource(EventSourceMappingSelfManagedEventSourceArgs selfManagedEventSource)
- Parameters:
selfManagedEventSource- For Self Managed Kafka sources, the location of the self managed cluster. If set, configuration must also include `sourceAccessConfiguration`. See below.- Returns:
- builder
-
selfManagedKafkaEventSourceConfig
public EventSourceMappingState.Builder selfManagedKafkaEventSourceConfig(@Nullable com.pulumi.core.Output<EventSourceMappingSelfManagedKafkaEventSourceConfigArgs> selfManagedKafkaEventSourceConfig)
- Parameters:
selfManagedKafkaEventSourceConfig- Additional configuration block for Self Managed Kafka sources. Incompatible with `eventSourceArn` and `amazonManagedKafkaEventSourceConfig`. See below.- Returns:
- builder
-
selfManagedKafkaEventSourceConfig
public EventSourceMappingState.Builder selfManagedKafkaEventSourceConfig(EventSourceMappingSelfManagedKafkaEventSourceConfigArgs selfManagedKafkaEventSourceConfig)
- Parameters:
selfManagedKafkaEventSourceConfig- Additional configuration block for Self Managed Kafka sources. Incompatible with `eventSourceArn` and `amazonManagedKafkaEventSourceConfig`. See below.- Returns:
- builder
-
sourceAccessConfigurations
public EventSourceMappingState.Builder sourceAccessConfigurations(@Nullable com.pulumi.core.Output<java.util.List<EventSourceMappingSourceAccessConfigurationArgs>> sourceAccessConfigurations)
- Parameters:
sourceAccessConfigurations- For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.- Returns:
- builder
-
sourceAccessConfigurations
public EventSourceMappingState.Builder sourceAccessConfigurations(java.util.List<EventSourceMappingSourceAccessConfigurationArgs> sourceAccessConfigurations)
- Parameters:
sourceAccessConfigurations- For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.- Returns:
- builder
-
sourceAccessConfigurations
public EventSourceMappingState.Builder sourceAccessConfigurations(EventSourceMappingSourceAccessConfigurationArgs... sourceAccessConfigurations)
- Parameters:
sourceAccessConfigurations- For Self Managed Kafka sources, the access configuration for the source. If set, configuration must also include `selfManagedEventSource`. See below.- Returns:
- builder
-
startingPosition
public EventSourceMappingState.Builder startingPosition(@Nullable com.pulumi.core.Output<java.lang.String> startingPosition)
- Parameters:
startingPosition- Position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis, DynamoDB, MSK or Self Managed Apache Kafka. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType).- Returns:
- builder
-
startingPosition
public EventSourceMappingState.Builder startingPosition(java.lang.String startingPosition)
- Parameters:
startingPosition- Position in the stream where AWS Lambda should start reading. Must be one of `AT_TIMESTAMP` (Kinesis only), `LATEST` or `TRIM_HORIZON` if getting events from Kinesis, DynamoDB, MSK or Self Managed Apache Kafka. Must not be provided if getting events from SQS. More information about these positions can be found in the [AWS DynamoDB Streams API Reference](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_streams_GetShardIterator.html) and [AWS Kinesis API Reference](https://docs.aws.amazon.com/kinesis/latest/APIReference/API_GetShardIterator.html#Kinesis-GetShardIterator-request-ShardIteratorType).- Returns:
- builder
-
startingPositionTimestamp
public EventSourceMappingState.Builder startingPositionTimestamp(@Nullable com.pulumi.core.Output<java.lang.String> startingPositionTimestamp)
- Parameters:
startingPositionTimestamp- Timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.- Returns:
- builder
-
startingPositionTimestamp
public EventSourceMappingState.Builder startingPositionTimestamp(java.lang.String startingPositionTimestamp)
- Parameters:
startingPositionTimestamp- Timestamp in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of the data record which to start reading when using `startingPosition` set to `AT_TIMESTAMP`. If a record with this exact timestamp does not exist, the next later record is chosen. If the timestamp is older than the current trim horizon, the oldest available record is chosen.- Returns:
- builder
-
state
public EventSourceMappingState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- State of the event source mapping.- Returns:
- builder
-
state
public EventSourceMappingState.Builder state(java.lang.String state)
- Parameters:
state- State of the event source mapping.- Returns:
- builder
-
stateTransitionReason
public EventSourceMappingState.Builder stateTransitionReason(@Nullable com.pulumi.core.Output<java.lang.String> stateTransitionReason)
- Parameters:
stateTransitionReason- Reason the event source mapping is in its current state.- Returns:
- builder
-
stateTransitionReason
public EventSourceMappingState.Builder stateTransitionReason(java.lang.String stateTransitionReason)
- Parameters:
stateTransitionReason- Reason the event source mapping is in its current state.- Returns:
- builder
-
tags
public EventSourceMappingState.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public EventSourceMappingState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public EventSourceMappingState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public EventSourceMappingState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
topics
public EventSourceMappingState.Builder topics(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> topics)
- Parameters:
topics- Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.- Returns:
- builder
-
topics
public EventSourceMappingState.Builder topics(java.util.List<java.lang.String> topics)
- Parameters:
topics- Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.- Returns:
- builder
-
topics
public EventSourceMappingState.Builder topics(java.lang.String... topics)
- Parameters:
topics- Name of the Kafka topics. Only available for MSK sources. A single topic name must be specified.- Returns:
- builder
-
tumblingWindowInSeconds
public EventSourceMappingState.Builder tumblingWindowInSeconds(@Nullable com.pulumi.core.Output<java.lang.Integer> tumblingWindowInSeconds)
- Parameters:
tumblingWindowInSeconds- Duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).- Returns:
- builder
-
tumblingWindowInSeconds
public EventSourceMappingState.Builder tumblingWindowInSeconds(java.lang.Integer tumblingWindowInSeconds)
- Parameters:
tumblingWindowInSeconds- Duration in seconds of a processing window for [AWS Lambda streaming analytics](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-windows). The range is between 1 second up to 900 seconds. Only available for stream sources (DynamoDB and Kinesis).- Returns:
- builder
-
useResourceTimeoutForPropagation
public EventSourceMappingState.Builder useResourceTimeoutForPropagation(@Nullable com.pulumi.core.Output<java.lang.Boolean> useResourceTimeoutForPropagation)
- Parameters:
useResourceTimeoutForPropagation- Whether to apply resource level timeout values while retrying eventually consistent API operations. By default the provider uses a 5 minute timeout to allow for propagation in the Lambda service. When set to `true`, this default value is replaced with the configurable resource timeouts. Increased timeout values may be useful in highly active accounts, or regions where propagation delays are inconsistent.- Returns:
- builder
-
useResourceTimeoutForPropagation
public EventSourceMappingState.Builder useResourceTimeoutForPropagation(java.lang.Boolean useResourceTimeoutForPropagation)
- Parameters:
useResourceTimeoutForPropagation- Whether to apply resource level timeout values while retrying eventually consistent API operations. By default the provider uses a 5 minute timeout to allow for propagation in the Lambda service. When set to `true`, this default value is replaced with the configurable resource timeouts. Increased timeout values may be useful in highly active accounts, or regions where propagation delays are inconsistent.- Returns:
- builder
-
uuid
public EventSourceMappingState.Builder uuid(@Nullable com.pulumi.core.Output<java.lang.String> uuid)
- Parameters:
uuid- UUID of the created event source mapping.- Returns:
- builder
-
uuid
public EventSourceMappingState.Builder uuid(java.lang.String uuid)
- Parameters:
uuid- UUID of the created event source mapping.- Returns:
- builder
-
build
public EventSourceMappingState build()
-
-