All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.lambda.outputs.EventSourceMappingScalingConfig Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.lambda.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EventSourceMappingScalingConfig {
    /**
     * @return Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be greater than or equal to `2`. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase the concurrency beyond 1000.
     * 
     */
    private @Nullable Integer maximumConcurrency;

    private EventSourceMappingScalingConfig() {}
    /**
     * @return Limits the number of concurrent instances that the Amazon SQS event source can invoke. Must be greater than or equal to `2`. See [Configuring maximum concurrency for Amazon SQS event sources](https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-max-concurrency). You need to raise a [Service Quota Ticket](https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html) to increase the concurrency beyond 1000.
     * 
     */
    public Optional maximumConcurrency() {
        return Optional.ofNullable(this.maximumConcurrency);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(EventSourceMappingScalingConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer maximumConcurrency;
        public Builder() {}
        public Builder(EventSourceMappingScalingConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.maximumConcurrency = defaults.maximumConcurrency;
        }

        @CustomType.Setter
        public Builder maximumConcurrency(@Nullable Integer maximumConcurrency) {

            this.maximumConcurrency = maximumConcurrency;
            return this;
        }
        public EventSourceMappingScalingConfig build() {
            final var _resultValue = new EventSourceMappingScalingConfig();
            _resultValue.maximumConcurrency = maximumConcurrency;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy