Class GetLayerVersionArgs.Builder

  • Enclosing class:
    GetLayerVersionArgs

    public static final class GetLayerVersionArgs.Builder
    extends java.lang.Object
    • Method Detail

      • compatibleArchitecture

        public GetLayerVersionArgs.Builder compatibleArchitecture​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> compatibleArchitecture)
        Parameters:
        compatibleArchitecture - 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.
        Returns:
        builder
      • compatibleArchitecture

        public GetLayerVersionArgs.Builder compatibleArchitecture​(java.lang.String compatibleArchitecture)
        Parameters:
        compatibleArchitecture - 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.
        Returns:
        builder
      • compatibleRuntime

        public GetLayerVersionArgs.Builder compatibleRuntime​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> compatibleRuntime)
        Parameters:
        compatibleRuntime - 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.
        Returns:
        builder
      • compatibleRuntime

        public GetLayerVersionArgs.Builder compatibleRuntime​(java.lang.String compatibleRuntime)
        Parameters:
        compatibleRuntime - 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.
        Returns:
        builder
      • layerName

        public GetLayerVersionArgs.Builder layerName​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> layerName)
        Parameters:
        layerName - Name of the Lambda layer. One of `layerName` or `layerVersionArn` is required.
        Returns:
        builder
      • layerName

        public GetLayerVersionArgs.Builder layerName​(java.lang.String layerName)
        Parameters:
        layerName - Name of the Lambda layer. One of `layerName` or `layerVersionArn` is required.
        Returns:
        builder
      • layerVersionArn

        public GetLayerVersionArgs.Builder layerVersionArn​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> layerVersionArn)
        Parameters:
        layerVersionArn - 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.
        Returns:
        builder
      • layerVersionArn

        public GetLayerVersionArgs.Builder layerVersionArn​(java.lang.String layerVersionArn)
        Parameters:
        layerVersionArn - 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.
        Returns:
        builder
      • region

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

        public GetLayerVersionArgs.Builder version​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Integer> version)
        Parameters:
        version - Specific layer version. Only valid with `layerName`. Conflicts with `compatibleRuntime`, `compatibleArchitecture`, and `layerVersionArn`. If omitted, the latest available layer version will be used.
        Returns:
        builder
      • version

        public GetLayerVersionArgs.Builder version​(java.lang.Integer version)
        Parameters:
        version - Specific layer version. Only valid with `layerName`. Conflicts with `compatibleRuntime`, `compatibleArchitecture`, and `layerVersionArn`. If omitted, the latest available layer version will be used.
        Returns:
        builder