Class GetLayerVersionPlainArgs


  • public final class GetLayerVersionPlainArgs
    extends com.pulumi.resources.InvokeArgs
    • Method Detail

      • compatibleArchitecture

        public java.util.Optional<java.lang.String> compatibleArchitecture()
        Returns:
        Specific architecture the layer version must support. Only valid with `layerName`. Conflicts with `version` and `layerVersionArn`. If specified, the latest available layer version supporting the provided architecture will be used.
      • compatibleRuntime

        public java.util.Optional<java.lang.String> compatibleRuntime()
        Returns:
        Specific runtime the layer version must support. Only valid with `layerName`. Conflicts with `version` and `layerVersionArn`. If specified, the latest available layer version supporting the provided runtime will be used.
      • layerName

        public java.util.Optional<java.lang.String> layerName()
        Returns:
        Name of the Lambda layer. One of `layerName` or `layerVersionArn` is required.
      • layerVersionArn

        public java.util.Optional<java.lang.String> layerVersionArn()
        Returns:
        ARN of the Lambda layer version. Can be a full ARN with version (e.g., `arn:aws:lambda:region:account:layer:name:1`) or without version (e.g., `arn:aws:lambda:region:account:layer:name`). When the version is omitted, the latest version will be retrieved (requires `lambda:ListLayerVersions` permission). Use the full ARN with version for cross-account layers where you don't have list permissions. One of `layerName` or `layerVersionArn` is required.
      • region

        public java.util.Optional<java.lang.String> region()
        Returns:
        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.
      • version

        public java.util.Optional<java.lang.Integer> version()
        Returns:
        Specific layer version. Only valid with `layerName`. Conflicts with `compatibleRuntime`, `compatibleArchitecture`, and `layerVersionArn`. If omitted, the latest available layer version will be used.