Class GetFunctionResult


  • public final class GetFunctionResult
    extends java.lang.Object
    • Method Detail

      • architectures

        public java.util.List<java.lang.String> architectures()
        Returns:
        Instruction set architecture for the Lambda function.
      • arn

        public java.lang.String arn()
        Returns:
        ARN of the Amazon EFS Access Point that provides access to the file system.
      • capacityProviderConfigs

        public java.util.List<GetFunctionCapacityProviderConfig> capacityProviderConfigs()
        Returns:
        Configuration for Lambda function's capacity provider. See `capacityProviderConfig` below.
      • codeSha256

        public java.lang.String codeSha256()
        Returns:
        Base64-encoded representation of raw SHA-256 sum of the zip file.
      • codeSigningConfigArn

        public java.lang.String codeSigningConfigArn()
        Returns:
        ARN for a Code Signing Configuration.
      • deadLetterConfig

        public GetFunctionDeadLetterConfig deadLetterConfig()
        Returns:
        Configuration for the function's dead letter queue. See `deadLetterConfig` below.
      • description

        public java.lang.String description()
        Returns:
        Description of what your Lambda Function does.
      • durableConfigs

        public java.util.List<GetFunctionDurableConfig> durableConfigs()
        Returns:
        Configuration for the function's durable settings. See `durableConfig` below.
      • environment

        public GetFunctionEnvironment environment()
        Returns:
        Lambda environment's configuration settings. See `environment` below.
      • ephemeralStorages

        public java.util.List<GetFunctionEphemeralStorage> ephemeralStorages()
        Returns:
        Amount of ephemeral storage (`/tmp`) allocated for the Lambda Function. See `ephemeralStorage` below.
      • fileSystemConfigs

        public java.util.List<GetFunctionFileSystemConfig> fileSystemConfigs()
        Returns:
        Connection settings for an Amazon EFS file system. See `fileSystemConfig` below.
      • functionName

        public java.lang.String functionName()
      • handler

        public java.lang.String handler()
        Returns:
        Function entrypoint in your code.
      • id

        public java.lang.String id()
        Returns:
        The provider-assigned unique ID for this managed resource.
      • imageUri

        public java.lang.String imageUri()
        Returns:
        URI of the container image.
      • invokeArn

        public java.lang.String invokeArn()
        Returns:
        ARN to be used for invoking Lambda Function from API Gateway. **Note:** Starting with `v4.51.0` of the provider, this will not include the qualifier.
      • kmsKeyArn

        public java.lang.String kmsKeyArn()
        Returns:
        ARN for the KMS encryption key.
      • lastModified

        public java.lang.String lastModified()
        Returns:
        Date this resource was last modified.
      • layers

        public java.util.List<java.lang.String> layers()
        Returns:
        List of Lambda Layer ARNs attached to your Lambda Function.
      • loggingConfigs

        public java.util.List<GetFunctionLoggingConfig> loggingConfigs()
        Returns:
        Advanced logging settings. See `loggingConfig` below.
      • memorySize

        public java.lang.Integer memorySize()
        Returns:
        Amount of memory in MB your Lambda Function can use at runtime.
      • qualifiedArn

        public java.lang.String qualifiedArn()
        Returns:
        Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN identifying your Lambda Function. See also `arn`.
      • qualifiedInvokeArn

        public java.lang.String qualifiedInvokeArn()
        Returns:
        Qualified (`:QUALIFIER` or `:VERSION` suffix) ARN to be used for invoking Lambda Function from API Gateway. See also `invokeArn`.
      • qualifier

        public java.util.Optional<java.lang.String> qualifier()
      • region

        public java.lang.String region()
      • reservedConcurrentExecutions

        public java.lang.Integer reservedConcurrentExecutions()
        Returns:
        Amount of reserved concurrent executions for this Lambda function or `-1` if unreserved.
      • responseStreamingInvokeArn

        public java.lang.String responseStreamingInvokeArn()
        Returns:
        ARN to be used for invoking Lambda Function from API Gateway with response streaming.
      • role

        public java.lang.String role()
        Returns:
        IAM role attached to the Lambda Function.
      • runtime

        public java.lang.String runtime()
        Returns:
        Runtime environment for the Lambda function.
      • signingJobArn

        public java.lang.String signingJobArn()
        Returns:
        ARN of a signing job.
      • signingProfileVersionArn

        public java.lang.String signingProfileVersionArn()
        Returns:
        ARN for a signing profile version.
      • sourceCodeHash

        @Deprecated
        public java.lang.String sourceCodeHash()
        Deprecated.
        source_code_hash is deprecated. Use codeSha256 instead.
        Returns:
        (**Deprecated** use `codeSha256` instead) Base64-encoded representation of raw SHA-256 sum of the zip file.
      • sourceCodeSize

        public java.lang.Integer sourceCodeSize()
        Returns:
        Size in bytes of the function .zip file.
      • sourceKmsKeyArn

        public java.lang.String sourceKmsKeyArn()
        Returns:
        ARN of the KMS key used to encrypt the function's `.zip` deployment package.
      • tags

        public java.util.Map<java.lang.String,​java.lang.String> tags()
        Returns:
        Map of tags assigned to the Lambda Function.
      • tenancyConfigs

        public java.util.List<GetFunctionTenancyConfig> tenancyConfigs()
        Returns:
        Tenancy settings of the function. See `tenancyConfig` below.
      • timeout

        public java.lang.Integer timeout()
        Returns:
        Function execution time at which Lambda should terminate the function.
      • tracingConfig

        public GetFunctionTracingConfig tracingConfig()
        Returns:
        Tracing settings of the function. See `tracingConfig` below.
      • version

        public java.lang.String version()
        Returns:
        Version of the Lambda function returned. If `qualifier` is not set, this will resolve to the most recent published version. If no published version of the function exists, `version` will resolve to `$LATEST`.
      • vpcConfig

        public GetFunctionVpcConfig vpcConfig()
        Returns:
        VPC configuration associated with your Lambda function. See `vpcConfig` below.