Interface FunctionCodeLocation.Builder

    • Method Detail

      • repositoryType

        FunctionCodeLocation.Builder repositoryType​(String repositoryType)

        The service that's hosting the file.

        Parameters:
        repositoryType - The service that's hosting the file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        FunctionCodeLocation.Builder location​(String location)

        A presigned URL that you can use to download the deployment package.

        Parameters:
        location - A presigned URL that you can use to download the deployment package.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageUri

        FunctionCodeLocation.Builder imageUri​(String imageUri)

        URI of a container image in the Amazon ECR registry.

        Parameters:
        imageUri - URI of a container image in the Amazon ECR registry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resolvedImageUri

        FunctionCodeLocation.Builder resolvedImageUri​(String resolvedImageUri)

        The resolved URI for the image.

        Parameters:
        resolvedImageUri - The resolved URI for the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceKMSKeyArn

        FunctionCodeLocation.Builder sourceKMSKeyArn​(String sourceKMSKeyArn)

        The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.

        Parameters:
        sourceKMSKeyArn - The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's .zip deployment package. If you don't provide a customer managed key, Lambda uses an Amazon Web Services owned key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.