Class FunctionCodeLocation

    • Method Detail

      • repositoryType

        public final String repositoryType()

        The service that's hosting the file.

        Returns:
        The service that's hosting the file.
      • location

        public final String location()

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

        Returns:
        A presigned URL that you can use to download the deployment package.
      • imageUri

        public final String imageUri()

        URI of a container image in the Amazon ECR registry.

        Returns:
        URI of a container image in the Amazon ECR registry.
      • resolvedImageUri

        public final String resolvedImageUri()

        The resolved URI for the image.

        Returns:
        The resolved URI for the image.
      • sourceKMSKeyArn

        public final 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.

        Returns:
        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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)