Package com.pulumi.aws.lambda.inputs
Class GetLayerVersionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.lambda.inputs.GetLayerVersionArgs.Builder
-
- Enclosing class:
- GetLayerVersionArgs
public static final class GetLayerVersionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(GetLayerVersionArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetLayerVersionArgsbuild()GetLayerVersionArgs.BuildercompatibleArchitecture(com.pulumi.core.Output<java.lang.String> compatibleArchitecture)GetLayerVersionArgs.BuildercompatibleArchitecture(java.lang.String compatibleArchitecture)GetLayerVersionArgs.BuildercompatibleRuntime(com.pulumi.core.Output<java.lang.String> compatibleRuntime)GetLayerVersionArgs.BuildercompatibleRuntime(java.lang.String compatibleRuntime)GetLayerVersionArgs.BuilderlayerName(com.pulumi.core.Output<java.lang.String> layerName)GetLayerVersionArgs.BuilderlayerName(java.lang.String layerName)GetLayerVersionArgs.BuilderlayerVersionArn(com.pulumi.core.Output<java.lang.String> layerVersionArn)GetLayerVersionArgs.BuilderlayerVersionArn(java.lang.String layerVersionArn)GetLayerVersionArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)GetLayerVersionArgs.Builderregion(java.lang.String region)GetLayerVersionArgs.Builderversion(com.pulumi.core.Output<java.lang.Integer> version)GetLayerVersionArgs.Builderversion(java.lang.Integer version)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(GetLayerVersionArgs defaults)
-
-
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
-
build
public GetLayerVersionArgs build()
-
-