Class FunctionState.Builder

  • Enclosing class:
    FunctionState

    public static final class FunctionState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • architectures

        public FunctionState.Builder architectures​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> architectures)
        Parameters:
        architectures - Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.
        Returns:
        builder
      • architectures

        public FunctionState.Builder architectures​(java.util.List<java.lang.String> architectures)
        Parameters:
        architectures - Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.
        Returns:
        builder
      • architectures

        public FunctionState.Builder architectures​(java.lang.String... architectures)
        Parameters:
        architectures - Instruction set architecture for your Lambda function. Valid values are `["x8664"]` and `["arm64"]`. Default is `["x8664"]`. Removing this attribute, function's architecture stays the same.
        Returns:
        builder
      • arn

        public FunctionState.Builder arn​(@Nullable
                                         com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN identifying your Lambda Function.
        Returns:
        builder
      • arn

        public FunctionState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN identifying your Lambda Function.
        Returns:
        builder
      • capacityProviderConfig

        public FunctionState.Builder capacityProviderConfig​(@Nullable
                                                            com.pulumi.core.Output<FunctionCapacityProviderConfigArgs> capacityProviderConfig)
        Parameters:
        capacityProviderConfig - Configuration block for Lambda Capacity Provider. See below.
        Returns:
        builder
      • code

        public FunctionState.Builder code​(@Nullable
                                          com.pulumi.core.Output<com.pulumi.asset.Archive> code)
        Parameters:
        code - Path to the function's deployment package within the local filesystem. Conflicts with `imageUri` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
        Returns:
        builder
      • code

        public FunctionState.Builder code​(com.pulumi.asset.Archive code)
        Parameters:
        code - Path to the function's deployment package within the local filesystem. Conflicts with `imageUri` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
        Returns:
        builder
      • codeSha256

        public FunctionState.Builder codeSha256​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> codeSha256)
        Parameters:
        codeSha256 - Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `sourceCodeHash` argument instead.
        Returns:
        builder
      • codeSha256

        public FunctionState.Builder codeSha256​(java.lang.String codeSha256)
        Parameters:
        codeSha256 - Base64-encoded representation the source code package file. Use this argument to trigger updates when the function source code changes. For OCI, this value is relayed directly from the image digest. For zip files, this value is the Base64 encoded SHA-256 hash of the `.zip` file. Layers are not included in the calculation. To trigger updates using a non-standard hashing algorithm, use the `sourceCodeHash` argument instead.
        Returns:
        builder
      • codeSigningConfigArn

        public FunctionState.Builder codeSigningConfigArn​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> codeSigningConfigArn)
        Parameters:
        codeSigningConfigArn - ARN of a code-signing configuration to enable code signing for this function.
        Returns:
        builder
      • codeSigningConfigArn

        public FunctionState.Builder codeSigningConfigArn​(java.lang.String codeSigningConfigArn)
        Parameters:
        codeSigningConfigArn - ARN of a code-signing configuration to enable code signing for this function.
        Returns:
        builder
      • deadLetterConfig

        public FunctionState.Builder deadLetterConfig​(@Nullable
                                                      com.pulumi.core.Output<FunctionDeadLetterConfigArgs> deadLetterConfig)
        Parameters:
        deadLetterConfig - Configuration block for dead letter queue. See below.
        Returns:
        builder
      • description

        public FunctionState.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - Description of what your Lambda Function does.
        Returns:
        builder
      • description

        public FunctionState.Builder description​(java.lang.String description)
        Parameters:
        description - Description of what your Lambda Function does.
        Returns:
        builder
      • durableConfig

        public FunctionState.Builder durableConfig​(@Nullable
                                                   com.pulumi.core.Output<FunctionDurableConfigArgs> durableConfig)
        Parameters:
        durableConfig - Configuration block for durable function settings. See below. `durableConfig` may only be available in [limited regions](https://builder.aws.com/build/capabilities), including `us-east-2`.
        Returns:
        builder
      • durableConfig

        public FunctionState.Builder durableConfig​(FunctionDurableConfigArgs durableConfig)
        Parameters:
        durableConfig - Configuration block for durable function settings. See below. `durableConfig` may only be available in [limited regions](https://builder.aws.com/build/capabilities), including `us-east-2`.
        Returns:
        builder
      • environment

        public FunctionState.Builder environment​(@Nullable
                                                 com.pulumi.core.Output<FunctionEnvironmentArgs> environment)
        Parameters:
        environment - Configuration block for environment variables. See below.
        Returns:
        builder
      • ephemeralStorage

        public FunctionState.Builder ephemeralStorage​(@Nullable
                                                      com.pulumi.core.Output<FunctionEphemeralStorageArgs> ephemeralStorage)
        Parameters:
        ephemeralStorage - Amount of ephemeral storage (`/tmp`) to allocate for the Lambda Function. See below.
        Returns:
        builder
      • ephemeralStorage

        public FunctionState.Builder ephemeralStorage​(FunctionEphemeralStorageArgs ephemeralStorage)
        Parameters:
        ephemeralStorage - Amount of ephemeral storage (`/tmp`) to allocate for the Lambda Function. See below.
        Returns:
        builder
      • fileSystemConfig

        public FunctionState.Builder fileSystemConfig​(@Nullable
                                                      com.pulumi.core.Output<FunctionFileSystemConfigArgs> fileSystemConfig)
        Parameters:
        fileSystemConfig - Configuration block for EFS or S3 Files file system. See below.
        Returns:
        builder
      • handler

        public FunctionState.Builder handler​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> handler)
        Parameters:
        handler - Function entry point in your code. Required if `packageType` is `Zip`.
        Returns:
        builder
      • handler

        public FunctionState.Builder handler​(java.lang.String handler)
        Parameters:
        handler - Function entry point in your code. Required if `packageType` is `Zip`.
        Returns:
        builder
      • imageConfig

        public FunctionState.Builder imageConfig​(@Nullable
                                                 com.pulumi.core.Output<FunctionImageConfigArgs> imageConfig)
        Parameters:
        imageConfig - Container image configuration values. See below.
        Returns:
        builder
      • imageUri

        public FunctionState.Builder imageUri​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> imageUri)
        Parameters:
        imageUri - ECR image URI containing the function's deployment package. Conflicts with `filename` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
        Returns:
        builder
      • imageUri

        public FunctionState.Builder imageUri​(java.lang.String imageUri)
        Parameters:
        imageUri - ECR image URI containing the function's deployment package. Conflicts with `filename` and `s3Bucket`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
        Returns:
        builder
      • invokeArn

        public FunctionState.Builder invokeArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> invokeArn)
        Parameters:
        invokeArn - ARN to be used for invoking Lambda Function from API Gateway - to be used in `aws.apigateway.Integration`'s `uri`.
        Returns:
        builder
      • invokeArn

        public FunctionState.Builder invokeArn​(java.lang.String invokeArn)
        Parameters:
        invokeArn - ARN to be used for invoking Lambda Function from API Gateway - to be used in `aws.apigateway.Integration`'s `uri`.
        Returns:
        builder
      • kmsKeyArn

        public FunctionState.Builder kmsKeyArn​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt environment variables. If not provided when environment variables are in use, AWS Lambda uses a default service key. If provided when environment variables are not in use, the AWS Lambda API does not save this configuration.
        Returns:
        builder
      • kmsKeyArn

        public FunctionState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - ARN of the KMS key used to encrypt environment variables. If not provided when environment variables are in use, AWS Lambda uses a default service key. If provided when environment variables are not in use, the AWS Lambda API does not save this configuration.
        Returns:
        builder
      • lastModified

        public FunctionState.Builder lastModified​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> lastModified)
        Parameters:
        lastModified - Date this resource was last modified.
        Returns:
        builder
      • lastModified

        public FunctionState.Builder lastModified​(java.lang.String lastModified)
        Parameters:
        lastModified - Date this resource was last modified.
        Returns:
        builder
      • layers

        public FunctionState.Builder layers​(@Nullable
                                            com.pulumi.core.Output<java.util.List<java.lang.String>> layers)
        Parameters:
        layers - List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function.
        Returns:
        builder
      • layers

        public FunctionState.Builder layers​(java.util.List<java.lang.String> layers)
        Parameters:
        layers - List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function.
        Returns:
        builder
      • layers

        public FunctionState.Builder layers​(java.lang.String... layers)
        Parameters:
        layers - List of Lambda Layer Version ARNs (maximum of 5) to attach to your Lambda Function.
        Returns:
        builder
      • loggingConfig

        public FunctionState.Builder loggingConfig​(@Nullable
                                                   com.pulumi.core.Output<FunctionLoggingConfigArgs> loggingConfig)
        Parameters:
        loggingConfig - Configuration block for advanced logging settings. See below.
        Returns:
        builder
      • memorySize

        public FunctionState.Builder memorySize​(@Nullable
                                                com.pulumi.core.Output<java.lang.Integer> memorySize)
        Parameters:
        memorySize - Amount of memory in MB your Lambda Function can use at runtime. Valid value between 128 MB to 32,768 MB (32 GB), in 1 MB increments. Defaults to 128.
        Returns:
        builder
      • memorySize

        public FunctionState.Builder memorySize​(java.lang.Integer memorySize)
        Parameters:
        memorySize - Amount of memory in MB your Lambda Function can use at runtime. Valid value between 128 MB to 32,768 MB (32 GB), in 1 MB increments. Defaults to 128.
        Returns:
        builder
      • name

        public FunctionState.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Unique name for your Lambda Function.
        Returns:
        builder
      • name

        public FunctionState.Builder name​(java.lang.String name)
        Parameters:
        name - Unique name for your Lambda Function.
        Returns:
        builder
      • packageType

        public FunctionState.Builder packageType​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> packageType)
        Parameters:
        packageType - Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.
        Returns:
        builder
      • packageType

        public FunctionState.Builder packageType​(java.lang.String packageType)
        Parameters:
        packageType - Lambda deployment package type. Valid values are `Zip` and `Image`. Defaults to `Zip`.
        Returns:
        builder
      • publish

        public FunctionState.Builder publish​(@Nullable
                                             com.pulumi.core.Output<java.lang.Boolean> publish)
        Parameters:
        publish - Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
        Returns:
        builder
      • publish

        public FunctionState.Builder publish​(java.lang.Boolean publish)
        Parameters:
        publish - Whether to publish creation/change as new Lambda Function Version. Defaults to `false`.
        Returns:
        builder
      • publishTo

        public FunctionState.Builder publishTo​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> publishTo)
        Parameters:
        publishTo - Whether to publish to a alias or version number. Omit for regular version publishing. Option is `LATEST_PUBLISHED`.
        Returns:
        builder
      • publishTo

        public FunctionState.Builder publishTo​(java.lang.String publishTo)
        Parameters:
        publishTo - Whether to publish to a alias or version number. Omit for regular version publishing. Option is `LATEST_PUBLISHED`.
        Returns:
        builder
      • qualifiedArn

        public FunctionState.Builder qualifiedArn​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> qualifiedArn)
        Parameters:
        qualifiedArn - ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`).
        Returns:
        builder
      • qualifiedArn

        public FunctionState.Builder qualifiedArn​(java.lang.String qualifiedArn)
        Parameters:
        qualifiedArn - ARN identifying your Lambda Function Version (if versioning is enabled via `publish = true`).
        Returns:
        builder
      • qualifiedInvokeArn

        public FunctionState.Builder qualifiedInvokeArn​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> qualifiedInvokeArn)
        Parameters:
        qualifiedInvokeArn - Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `aws.apigateway.Integration`'s `uri`.
        Returns:
        builder
      • qualifiedInvokeArn

        public FunctionState.Builder qualifiedInvokeArn​(java.lang.String qualifiedInvokeArn)
        Parameters:
        qualifiedInvokeArn - Qualified ARN (ARN with lambda version number) to be used for invoking Lambda Function from API Gateway - to be used in `aws.apigateway.Integration`'s `uri`.
        Returns:
        builder
      • region

        public FunctionState.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 FunctionState.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
      • replaceSecurityGroupsOnDestroy

        public FunctionState.Builder replaceSecurityGroupsOnDestroy​(@Nullable
                                                                    com.pulumi.core.Output<java.lang.Boolean> replaceSecurityGroupsOnDestroy)
        Parameters:
        replaceSecurityGroupsOnDestroy - Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
        Returns:
        builder
      • replaceSecurityGroupsOnDestroy

        public FunctionState.Builder replaceSecurityGroupsOnDestroy​(java.lang.Boolean replaceSecurityGroupsOnDestroy)
        Parameters:
        replaceSecurityGroupsOnDestroy - Whether to replace the security groups on the function's VPC configuration prior to destruction. Default is `false`.
        Returns:
        builder
      • replacementSecurityGroupIds

        public FunctionState.Builder replacementSecurityGroupIds​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> replacementSecurityGroupIds)
        Parameters:
        replacementSecurityGroupIds - List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.
        Returns:
        builder
      • replacementSecurityGroupIds

        public FunctionState.Builder replacementSecurityGroupIds​(java.util.List<java.lang.String> replacementSecurityGroupIds)
        Parameters:
        replacementSecurityGroupIds - List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.
        Returns:
        builder
      • replacementSecurityGroupIds

        public FunctionState.Builder replacementSecurityGroupIds​(java.lang.String... replacementSecurityGroupIds)
        Parameters:
        replacementSecurityGroupIds - List of security group IDs to assign to the function's VPC configuration prior to destruction. Required if `replaceSecurityGroupsOnDestroy` is `true`.
        Returns:
        builder
      • reservedConcurrentExecutions

        public FunctionState.Builder reservedConcurrentExecutions​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.Integer> reservedConcurrentExecutions)
        Parameters:
        reservedConcurrentExecutions - Amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`.
        Returns:
        builder
      • reservedConcurrentExecutions

        public FunctionState.Builder reservedConcurrentExecutions​(java.lang.Integer reservedConcurrentExecutions)
        Parameters:
        reservedConcurrentExecutions - Amount of reserved concurrent executions for this lambda function. A value of `0` disables lambda from being triggered and `-1` removes any concurrency limitations. Defaults to Unreserved Concurrency Limits `-1`.
        Returns:
        builder
      • responseStreamingInvokeArn

        public FunctionState.Builder responseStreamingInvokeArn​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> responseStreamingInvokeArn)
        Parameters:
        responseStreamingInvokeArn - ARN to be used for invoking Lambda Function from API Gateway with response streaming - to be used in `aws.apigateway.Integration`'s `uri`.
        Returns:
        builder
      • responseStreamingInvokeArn

        public FunctionState.Builder responseStreamingInvokeArn​(java.lang.String responseStreamingInvokeArn)
        Parameters:
        responseStreamingInvokeArn - ARN to be used for invoking Lambda Function from API Gateway with response streaming - to be used in `aws.apigateway.Integration`'s `uri`.
        Returns:
        builder
      • role

        public FunctionState.Builder role​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> role)
        Parameters:
        role - ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources. The following arguments are optional:
        Returns:
        builder
      • role

        public FunctionState.Builder role​(java.lang.String role)
        Parameters:
        role - ARN of the function's execution role. The role provides the function's identity and access to AWS services and resources. The following arguments are optional:
        Returns:
        builder
      • runtime

        public FunctionState.Builder runtime​(@Nullable
                                             com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​Runtime>> runtime)
        Parameters:
        runtime - Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
        Returns:
        builder
      • runtime

        public FunctionState.Builder runtime​(com.pulumi.core.Either<java.lang.String,​Runtime> runtime)
        Parameters:
        runtime - Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
        Returns:
        builder
      • runtime

        public FunctionState.Builder runtime​(java.lang.String runtime)
        Parameters:
        runtime - Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
        Returns:
        builder
      • runtime

        public FunctionState.Builder runtime​(Runtime runtime)
        Parameters:
        runtime - Identifier of the function's runtime. Required if `packageType` is `Zip`. See [Runtimes](https://docs.aws.amazon.com/lambda/latest/dg/API_CreateFunction.html#SSS-CreateFunction-request-Runtime) for valid values.
        Returns:
        builder
      • s3Bucket

        public FunctionState.Builder s3Bucket​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> s3Bucket)
        Parameters:
        s3Bucket - S3 bucket location containing the function's deployment package. Conflicts with `filename` and `imageUri`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
        Returns:
        builder
      • s3Bucket

        public FunctionState.Builder s3Bucket​(java.lang.String s3Bucket)
        Parameters:
        s3Bucket - S3 bucket location containing the function's deployment package. Conflicts with `filename` and `imageUri`. One of `filename`, `imageUri`, or `s3Bucket` must be specified.
        Returns:
        builder
      • s3Key

        public FunctionState.Builder s3Key​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> s3Key)
        Parameters:
        s3Key - S3 key of an object containing the function's deployment package. Required if `s3Bucket` is set.
        Returns:
        builder
      • s3Key

        public FunctionState.Builder s3Key​(java.lang.String s3Key)
        Parameters:
        s3Key - S3 key of an object containing the function's deployment package. Required if `s3Bucket` is set.
        Returns:
        builder
      • s3ObjectVersion

        public FunctionState.Builder s3ObjectVersion​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> s3ObjectVersion)
        Parameters:
        s3ObjectVersion - Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.
        Returns:
        builder
      • s3ObjectVersion

        public FunctionState.Builder s3ObjectVersion​(java.lang.String s3ObjectVersion)
        Parameters:
        s3ObjectVersion - Object version containing the function's deployment package. Conflicts with `filename` and `imageUri`.
        Returns:
        builder
      • signingJobArn

        public FunctionState.Builder signingJobArn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> signingJobArn)
        Parameters:
        signingJobArn - ARN of the signing job.
        Returns:
        builder
      • signingJobArn

        public FunctionState.Builder signingJobArn​(java.lang.String signingJobArn)
        Parameters:
        signingJobArn - ARN of the signing job.
        Returns:
        builder
      • signingProfileVersionArn

        public FunctionState.Builder signingProfileVersionArn​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> signingProfileVersionArn)
        Parameters:
        signingProfileVersionArn - ARN of the signing profile version.
        Returns:
        builder
      • signingProfileVersionArn

        public FunctionState.Builder signingProfileVersionArn​(java.lang.String signingProfileVersionArn)
        Parameters:
        signingProfileVersionArn - ARN of the signing profile version.
        Returns:
        builder
      • skipDestroy

        public FunctionState.Builder skipDestroy​(@Nullable
                                                 com.pulumi.core.Output<java.lang.Boolean> skipDestroy)
        Parameters:
        skipDestroy - Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
        Returns:
        builder
      • skipDestroy

        public FunctionState.Builder skipDestroy​(java.lang.Boolean skipDestroy)
        Parameters:
        skipDestroy - Whether to retain the old version of a previously deployed Lambda Layer. Default is `false`.
        Returns:
        builder
      • snapStart

        public FunctionState.Builder snapStart​(@Nullable
                                               com.pulumi.core.Output<FunctionSnapStartArgs> snapStart)
        Parameters:
        snapStart - Configuration block for snap start settings. See below.
        Returns:
        builder
      • sourceCodeHash

        public FunctionState.Builder sourceCodeHash​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> sourceCodeHash)
        Parameters:
        sourceCodeHash - User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `codeSha256` argument instead.
        Returns:
        builder
      • sourceCodeHash

        public FunctionState.Builder sourceCodeHash​(java.lang.String sourceCodeHash)
        Parameters:
        sourceCodeHash - User-defined hash of the source code package file. Use this argument to trigger updates when the local function source code changes. This is a synthetic argument tracked only by the AWS provider and does not need to match the hashing algorithm used by Lambda to compute the `CodeSha256` response value. Out-of-band changes to the source code _will not_ be captured by this argument. To include out-of-band source code changes as an update trigger, use the `codeSha256` argument instead.
        Returns:
        builder
      • sourceCodeSize

        public FunctionState.Builder sourceCodeSize​(@Nullable
                                                    com.pulumi.core.Output<java.lang.Integer> sourceCodeSize)
        Parameters:
        sourceCodeSize - Size in bytes of the function .zip file.
        Returns:
        builder
      • sourceCodeSize

        public FunctionState.Builder sourceCodeSize​(java.lang.Integer sourceCodeSize)
        Parameters:
        sourceCodeSize - Size in bytes of the function .zip file.
        Returns:
        builder
      • sourceKmsKeyArn

        public FunctionState.Builder sourceKmsKeyArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> sourceKmsKeyArn)
        Parameters:
        sourceKmsKeyArn - ARN of the KMS key used to encrypt the function's `.zip` deployment package. Conflicts with `imageUri`.
        Returns:
        builder
      • sourceKmsKeyArn

        public FunctionState.Builder sourceKmsKeyArn​(java.lang.String sourceKmsKeyArn)
        Parameters:
        sourceKmsKeyArn - ARN of the KMS key used to encrypt the function's `.zip` deployment package. Conflicts with `imageUri`.
        Returns:
        builder
      • tags

        public FunctionState.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of tags for the Lambda function. 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 FunctionState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of tags for the Lambda function. 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 FunctionState.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 FunctionState.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
      • timeout

        public FunctionState.Builder timeout​(@Nullable
                                             com.pulumi.core.Output<java.lang.Integer> timeout)
        Parameters:
        timeout - Amount of time your Lambda Function has to run in seconds. Defaults to 3. Valid between 1 and 900.
        Returns:
        builder
      • timeout

        public FunctionState.Builder timeout​(java.lang.Integer timeout)
        Parameters:
        timeout - Amount of time your Lambda Function has to run in seconds. Defaults to 3. Valid between 1 and 900.
        Returns:
        builder
      • tracingConfig

        public FunctionState.Builder tracingConfig​(@Nullable
                                                   com.pulumi.core.Output<FunctionTracingConfigArgs> tracingConfig)
        Parameters:
        tracingConfig - Configuration block for X-Ray tracing. See below.
        Returns:
        builder
      • useResourceTimeoutForPropagation

        public FunctionState.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 FunctionState.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
      • version

        public FunctionState.Builder version​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> version)
        Parameters:
        version - Latest published version of your Lambda Function.
        Returns:
        builder
      • version

        public FunctionState.Builder version​(java.lang.String version)
        Parameters:
        version - Latest published version of your Lambda Function.
        Returns:
        builder