mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
fix(lambda): return VpcConfig, SnapStart and LoggingConfig from every read path (#2527)
* fix(lambda): return VpcConfig, SnapStart and LoggingConfig CreateFunction and UpdateFunctionConfiguration accepted all three with a 200 and then omitted them from every read path, so a VPC-attached function read back unattached. Terraform refreshes aws_lambda_function.vpc_config, snap_start and logging_config on every plan, which made the resource permanently non-converging rather than cosmetically incomplete. VpcConfig was already stored but never serialised; SnapStart and LoggingConfig were dropped on the floor entirely. The response shapes are not the request shapes, per the AWS service model: - VpcConfigResponse adds VpcId, which VpcConfig has no member for. Resolved from the first subnet through Ec2Service, and left off when EC2 does not know the subnet — Lambda still accepts unmanaged subnet ids. - SnapStartResponse adds OptimizationStatus, which SnapStart has no member for. On only for a published version with ApplyOn=PublishedVersions. SnapStart and LoggingConfig are always present in a response, as on AWS: unset reads back as ApplyOn=None/OptimizationStatus=Off and LogFormat=Text with the default /aws/lambda/<name> log group. LogFormat=JSON additionally returns both log levels, defaulting to INFO. RuntimeVersionConfig is returned for managed runtimes. All of it is carried into PublishVersion snapshots. LoggingConfig is replaced wholesale on update rather than merged, matching AWS. Both enums are validated against the model's enum sets before any field is mutated, alongside the existing Layers and EFS pre-checks — updateFunction- Configuration mutates the live store object, so a late throw would leave a rejected update half-applied. * fix(lambda): validate LogGroup and stop storing Text-format log levels pgermosen's review on #2527 flagged two loose ends in LoggingConfig handling. LogGroup accepted any non-blank string instead of AWS's documented 1-512 character, [.\-_/#A-Za-z0-9]+ constraint. Separately, ApplicationLogLevel and SystemLogLevel were stored regardless of LogFormat but only ever surfaced by putLoggingConfig when the format is JSON, so a Text-format function could accept a log level, persist it, and never show it on any read path — the same accepted-then- forgotten shape this PR exists to remove. applyLoggingConfig now only keeps the levels when the resolved format is JSON, so nothing is stored that isn't observable. Also switches the two SnapStart integration tests off nodejs20.x, which AWS's SnapStart guide does not support, onto java21, and adds coverage for the LogGroup constraint, the JSON-only log level validation errors, the VpcConfig detach path, and the parity error wording pgermosen's review called out as unasserted. docs/services/lambda.md is updated to describe the LogGroup constraint and the Text-format no-op behavior.
This commit is contained in:
1 parent
1be97c9333
commit
94795dd67b
6 files changed
+853
-1
No files matched your search
@@ -28,9 +28,13 @@ import jakarta.ws.rs.core.UriBuilder;
|
||||
import jakarta.ws.rs.core.UriInfo;
|
||||
import org.jboss.logging.Logger;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.time.Instant;
|
||||
import java.time.ZoneOffset;
|
||||
import java.time.format.DateTimeFormatter;
|
||||
import java.util.HexFormat;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -660,8 +664,109 @@ public class LambdaController {
|
||||
fn.getEnvironment().forEach(vars::put);
|
||||
}
|
||||
|
||||
putVpcConfig(node, fn);
|
||||
putSnapStart(node, fn);
|
||||
putLoggingConfig(node, fn);
|
||||
putRuntimeVersionConfig(node, fn);
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
Map<String, Object> result = objectMapper.convertValue(node, Map.class);
|
||||
return result;
|
||||
}
|
||||
|
||||
/**
|
||||
* VpcConfigResponse, not VpcConfig: the response shape adds VpcId, which the request shape
|
||||
* has no member for. Emitted only while the function is actually attached to a VPC — AWS
|
||||
* omits the block entirely once the last subnet and security group are removed.
|
||||
*/
|
||||
private void putVpcConfig(ObjectNode node, LambdaFunction fn) {
|
||||
Map<String, Object> vpcConfig = fn.getVpcConfig();
|
||||
List<String> subnetIds = stringList(vpcConfig, "SubnetIds");
|
||||
List<String> securityGroupIds = stringList(vpcConfig, "SecurityGroupIds");
|
||||
if (subnetIds.isEmpty() && securityGroupIds.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
ObjectNode vpcNode = node.putObject("VpcConfig");
|
||||
ArrayNode subnetNode = vpcNode.putArray("SubnetIds");
|
||||
subnetIds.forEach(subnetNode::add);
|
||||
ArrayNode securityGroupNode = vpcNode.putArray("SecurityGroupIds");
|
||||
securityGroupIds.forEach(securityGroupNode::add);
|
||||
if (fn.getVpcId() != null) {
|
||||
vpcNode.put("VpcId", fn.getVpcId());
|
||||
}
|
||||
vpcNode.put("Ipv6AllowedForDualStack",
|
||||
Boolean.TRUE.equals(vpcConfig.get("Ipv6AllowedForDualStack")));
|
||||
}
|
||||
|
||||
/**
|
||||
* SnapStartResponse, not SnapStart: the response adds OptimizationStatus, which the request
|
||||
* shape has no member for. AWS only reports {@code On} for a published version whose snapshot
|
||||
* has been optimized; {@code $LATEST} is always {@code Off} even with ApplyOn set.
|
||||
*/
|
||||
private void putSnapStart(ObjectNode node, LambdaFunction fn) {
|
||||
String applyOn = fn.getSnapStartApplyOn() != null ? fn.getSnapStartApplyOn() : "None";
|
||||
boolean optimized = "PublishedVersions".equals(applyOn) && !"$LATEST".equals(fn.getVersion());
|
||||
node.putObject("SnapStart")
|
||||
.put("ApplyOn", applyOn)
|
||||
.put("OptimizationStatus", optimized ? "On" : "Off");
|
||||
}
|
||||
|
||||
/**
|
||||
* Always present, as on AWS: an unset LoggingConfig still reads back as Text plus the default
|
||||
* {@code /aws/lambda/<name>} log group. The two log levels are JSON-format-only.
|
||||
*/
|
||||
private void putLoggingConfig(ObjectNode node, LambdaFunction fn) {
|
||||
String logFormat = fn.getLogFormat() != null ? fn.getLogFormat() : "Text";
|
||||
ObjectNode logging = node.putObject("LoggingConfig");
|
||||
logging.put("LogFormat", logFormat);
|
||||
if ("JSON".equals(logFormat)) {
|
||||
logging.put("ApplicationLogLevel",
|
||||
fn.getApplicationLogLevel() != null ? fn.getApplicationLogLevel() : "INFO");
|
||||
logging.put("SystemLogLevel",
|
||||
fn.getSystemLogLevel() != null ? fn.getSystemLogLevel() : "INFO");
|
||||
}
|
||||
logging.put("LogGroup", fn.getLogGroup() != null && !fn.getLogGroup().isBlank()
|
||||
? fn.getLogGroup()
|
||||
: "/aws/lambda/" + fn.getFunctionName());
|
||||
}
|
||||
|
||||
/** Managed-runtime only: AWS omits it for container images, which pin their own runtime. */
|
||||
private void putRuntimeVersionConfig(ObjectNode node, LambdaFunction fn) {
|
||||
if ("Image".equals(fn.getPackageType()) || fn.getRuntime() == null || fn.getRuntime().isBlank()) {
|
||||
return;
|
||||
}
|
||||
node.putObject("RuntimeVersionConfig")
|
||||
.put("RuntimeVersionArn", runtimeVersionArn(fn));
|
||||
}
|
||||
|
||||
private static String runtimeVersionArn(LambdaFunction fn) {
|
||||
String region = "us-east-1";
|
||||
String[] arnParts = fn.getFunctionArn() != null ? fn.getFunctionArn().split(":") : new String[0];
|
||||
if (arnParts.length > 3 && !arnParts[3].isBlank()) {
|
||||
region = arnParts[3];
|
||||
}
|
||||
return "arn:aws:lambda:" + region + "::runtime:" + runtimeVersionId(fn.getRuntime());
|
||||
}
|
||||
|
||||
/**
|
||||
* AWS identifies a runtime version by a 64-hex digest. Derived from the runtime name so the
|
||||
* same runtime keeps the same id across restarts — a value that churned would show up as a
|
||||
* perpetual diff in anything that records it.
|
||||
*/
|
||||
private static String runtimeVersionId(String runtime) {
|
||||
try {
|
||||
byte[] digest = MessageDigest.getInstance("SHA-256")
|
||||
.digest(runtime.getBytes(StandardCharsets.UTF_8));
|
||||
return HexFormat.of().formatHex(digest);
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
throw new IllegalStateException("SHA-256 unavailable", e);
|
||||
}
|
||||
}
|
||||
|
||||
private static List<String> stringList(Map<String, Object> config, String key) {
|
||||
if (config == null || !(config.get(key) instanceof List<?> values)) {
|
||||
return List.of();
|
||||
}
|
||||
return values.stream().filter(java.util.Objects::nonNull).map(Object::toString).toList();
|
||||
}
|
||||
}
|
||||
@@ -10,6 +10,8 @@ import io.github.hectorvent.floci.core.storage.StorageFactory;
|
||||
import io.github.hectorvent.floci.core.resource.ExplorerResource;
|
||||
import io.github.hectorvent.floci.core.resource.ResourceProvider;
|
||||
import io.github.hectorvent.floci.core.resource.SupportedResourceType;
|
||||
import io.github.hectorvent.floci.services.ec2.Ec2Service;
|
||||
import io.github.hectorvent.floci.services.ec2.model.Subnet;
|
||||
import io.github.hectorvent.floci.services.lambda.model.EventSourceMapping;
|
||||
import io.github.hectorvent.floci.services.lambda.model.FunctionEventInvokeConfig;
|
||||
import io.github.hectorvent.floci.services.lambda.model.InvocationType;
|
||||
@@ -59,6 +61,7 @@ public class LambdaService implements ResourceProvider {
|
||||
+ "(?:(?:-gov)|(?:-iso(?:b)?))?-[a-z]+-\\d:"
|
||||
+ "\\d{12}:access-point/fsap-[a-f0-9]{17}$");
|
||||
private static final Pattern FILE_SYSTEM_LOCAL_MOUNT_PATH = Pattern.compile("^/mnt/[A-Za-z0-9._-]+$");
|
||||
private static final Pattern LOG_GROUP_PATTERN = Pattern.compile("[.\\-_/#A-Za-z0-9]+");
|
||||
|
||||
private final LambdaFunctionStore functionStore;
|
||||
private final LambdaExecutorService executorService;
|
||||
@@ -77,6 +80,7 @@ public class LambdaService implements ResourceProvider {
|
||||
private final DynamoDbStreamsEventSourcePoller dynamodbStreamsPoller;
|
||||
private final StorageFactory storageFactory;
|
||||
private final LambdaLayerService layerService;
|
||||
private final Ec2Service ec2Service;
|
||||
private Map<String, Integer> versionCounters = new ConcurrentHashMap<>();
|
||||
private Map<String, FunctionEventInvokeConfig> eventInvokeConfigs = new ConcurrentHashMap<>();
|
||||
/**
|
||||
@@ -146,6 +150,7 @@ public class LambdaService implements ResourceProvider {
|
||||
this.dynamodbStreamsPoller = null;
|
||||
this.storageFactory = storageFactory;
|
||||
this.layerService = null;
|
||||
this.ec2Service = null;
|
||||
}
|
||||
|
||||
@Inject
|
||||
@@ -165,7 +170,8 @@ public class LambdaService implements ResourceProvider {
|
||||
KinesisEventSourcePoller kinesisPoller,
|
||||
DynamoDbStreamsEventSourcePoller dynamodbStreamsPoller,
|
||||
StorageFactory storageFactory,
|
||||
LambdaLayerService layerService) {
|
||||
LambdaLayerService layerService,
|
||||
Ec2Service ec2Service) {
|
||||
this.functionStore = functionStore;
|
||||
this.executorService = executorService;
|
||||
this.concurrencyLimiter = concurrencyLimiter;
|
||||
@@ -183,6 +189,7 @@ public class LambdaService implements ResourceProvider {
|
||||
this.dynamodbStreamsPoller = dynamodbStreamsPoller;
|
||||
this.storageFactory = storageFactory;
|
||||
this.layerService = layerService;
|
||||
this.ec2Service = ec2Service;
|
||||
}
|
||||
|
||||
// Real AWS validates a function's Layers eagerly at CreateFunction/UpdateFunctionConfiguration
|
||||
@@ -384,8 +391,12 @@ public class LambdaService implements ResourceProvider {
|
||||
@SuppressWarnings("unchecked")
|
||||
Map<String, Object> vpc = (Map<String, Object>) request.get("VpcConfig");
|
||||
fn.setVpcConfig(vpc);
|
||||
fn.setVpcId(resolveVpcId(region, vpc));
|
||||
}
|
||||
|
||||
applySnapStart(fn, request.get("SnapStart"));
|
||||
applyLoggingConfig(fn, request.get("LoggingConfig"));
|
||||
|
||||
List<LambdaFileSystemConfig> fileSystemConfigs =
|
||||
parseFileSystemConfigs(request.get("FileSystemConfigs"));
|
||||
validateFileSystemVpcConfig(fileSystemConfigs, fn.getVpcConfig());
|
||||
@@ -526,6 +537,12 @@ public class LambdaService implements ResourceProvider {
|
||||
if (request.containsKey("Layers")) {
|
||||
validateLayersResolvable(layerList);
|
||||
}
|
||||
if (request.containsKey("SnapStart")) {
|
||||
validateSnapStart(request.get("SnapStart"));
|
||||
}
|
||||
if (request.containsKey("LoggingConfig")) {
|
||||
validateLoggingConfig(request.get("LoggingConfig"));
|
||||
}
|
||||
|
||||
Map<String, Object> requestedVpcConfig = fn.getVpcConfig();
|
||||
if (request.get("VpcConfig") instanceof Map<?, ?>) {
|
||||
@@ -619,9 +636,18 @@ public class LambdaService implements ResourceProvider {
|
||||
if (request.containsKey("VpcConfig")) {
|
||||
if (request.get("VpcConfig") instanceof Map<?, ?>) {
|
||||
fn.setVpcConfig(requestedVpcConfig);
|
||||
fn.setVpcId(resolveVpcId(region, requestedVpcConfig));
|
||||
}
|
||||
}
|
||||
|
||||
if (request.containsKey("SnapStart")) {
|
||||
applySnapStart(fn, request.get("SnapStart"));
|
||||
}
|
||||
|
||||
if (request.containsKey("LoggingConfig")) {
|
||||
applyLoggingConfig(fn, request.get("LoggingConfig"));
|
||||
}
|
||||
|
||||
if (request.containsKey("FileSystemConfigs")) {
|
||||
fn.setFileSystemConfigs(requestedFileSystemConfigs);
|
||||
}
|
||||
@@ -1137,6 +1163,12 @@ public class LambdaService implements ResourceProvider {
|
||||
snapshot.setVpcConfig(fn.getVpcConfig() == null
|
||||
? null
|
||||
: new java.util.HashMap<>(fn.getVpcConfig()));
|
||||
snapshot.setVpcId(fn.getVpcId());
|
||||
snapshot.setSnapStartApplyOn(fn.getSnapStartApplyOn());
|
||||
snapshot.setLogFormat(fn.getLogFormat());
|
||||
snapshot.setApplicationLogLevel(fn.getApplicationLogLevel());
|
||||
snapshot.setSystemLogLevel(fn.getSystemLogLevel());
|
||||
snapshot.setLogGroup(fn.getLogGroup());
|
||||
snapshot.setFileSystemConfigs(new ArrayList<>(fn.getFileSystemConfigs()));
|
||||
snapshot.setLastModified(System.currentTimeMillis());
|
||||
snapshot.setRevisionId(UUID.randomUUID().toString());
|
||||
@@ -1219,6 +1251,118 @@ public class LambdaService implements ResourceProvider {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The VpcConfig request shape carries no VpcId; VpcConfigResponse does. AWS derives it from
|
||||
* the subnets the function is attached to, so resolve it once at attach time and store it.
|
||||
* A subnet EC2 has never heard of resolves to null rather than failing the call - Floci's
|
||||
* Lambda accepts unmanaged subnet ids, and CreateFunction must not start rejecting them.
|
||||
*/
|
||||
private String resolveVpcId(String region, Map<String, Object> vpcConfig) {
|
||||
if (ec2Service == null || !hasValues(vpcConfig, "SubnetIds")) {
|
||||
return null;
|
||||
}
|
||||
for (Object subnetId : (List<?>) vpcConfig.get("SubnetIds")) {
|
||||
if (subnetId == null) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
List<Subnet> found = ec2Service.describeSubnets(region, List.of(subnetId.toString()), Map.of());
|
||||
if (!found.isEmpty() && found.get(0).getVpcId() != null) {
|
||||
return found.get(0).getVpcId();
|
||||
}
|
||||
} catch (RuntimeException e) {
|
||||
LOG.debugv(e, "Could not resolve VpcId for subnet {0} in {1}", subnetId, region);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private static void validateSnapStart(Object value) {
|
||||
if (!(value instanceof Map<?, ?> snapStart)) {
|
||||
return;
|
||||
}
|
||||
Object applyOn = snapStart.get("ApplyOn");
|
||||
if (applyOn != null && !"None".equals(applyOn) && !"PublishedVersions".equals(applyOn)) {
|
||||
throw new AwsException("ValidationException",
|
||||
"1 validation error detected: Value '" + applyOn + "' at 'snapStart.applyOn' failed to "
|
||||
+ "satisfy constraint: Member must satisfy enum value set: "
|
||||
+ "[PublishedVersions, None]", 400);
|
||||
}
|
||||
}
|
||||
|
||||
private static void applySnapStart(LambdaFunction fn, Object value) {
|
||||
if (!(value instanceof Map<?, ?> snapStart)) {
|
||||
return;
|
||||
}
|
||||
validateSnapStart(value);
|
||||
Object applyOn = snapStart.get("ApplyOn");
|
||||
fn.setSnapStartApplyOn(applyOn instanceof String s && !s.isBlank() ? s : "None");
|
||||
}
|
||||
|
||||
private static void validateLoggingConfig(Object value) {
|
||||
if (!(value instanceof Map<?, ?> logging)) {
|
||||
return;
|
||||
}
|
||||
validateEnum(logging.get("LogFormat"), "loggingConfig.logFormat", List.of("JSON", "Text"));
|
||||
validateEnum(logging.get("ApplicationLogLevel"), "loggingConfig.applicationLogLevel",
|
||||
List.of("TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL"));
|
||||
validateEnum(logging.get("SystemLogLevel"), "loggingConfig.systemLogLevel",
|
||||
List.of("DEBUG", "INFO", "WARN"));
|
||||
validateLogGroup(logging.get("LogGroup"));
|
||||
}
|
||||
|
||||
private static void validateEnum(Object value, String field, List<String> allowed) {
|
||||
if (value == null || allowed.contains(value)) {
|
||||
return;
|
||||
}
|
||||
throw new AwsException("ValidationException",
|
||||
"1 validation error detected: Value '" + value + "' at '" + field + "' failed to satisfy "
|
||||
+ "constraint: Member must satisfy enum value set: ["
|
||||
+ String.join(", ", allowed) + "]", 400);
|
||||
}
|
||||
|
||||
/**
|
||||
* LogGroup is the one LoggingConfig member with a documented length and character
|
||||
* constraint rather than an enum: 1-512 characters, {@code [.\-_/#A-Za-z0-9]+}.
|
||||
*/
|
||||
private static void validateLogGroup(Object value) {
|
||||
if (!(value instanceof String group) || group.isBlank()) {
|
||||
return;
|
||||
}
|
||||
if (group.length() > 512 || !LOG_GROUP_PATTERN.matcher(group).matches()) {
|
||||
throw new AwsException("ValidationException",
|
||||
"1 validation error detected: Value '" + group + "' at 'loggingConfig.logGroup' failed to "
|
||||
+ "satisfy constraint: Member must satisfy regular expression pattern: "
|
||||
+ "[.\\-_/#A-Za-z0-9]+ or member must have length less than or equal to 512", 400);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* LoggingConfig is replaced wholesale, not merged: AWS resets any member the request omits
|
||||
* back to its default, so an update that names only LogFormat drops a previously set LogGroup.
|
||||
*
|
||||
* <p>ApplicationLogLevel and SystemLogLevel are JSON-format-only: {@link #putLoggingConfig}
|
||||
* never surfaces them for a Text-format function. Storing them anyway would leave state
|
||||
* that is accepted, persisted and then never observable through any read path — the same
|
||||
* accepted-then-forgotten shape this fix removes elsewhere — so they are only kept when the
|
||||
* resolved format is JSON.
|
||||
*/
|
||||
private static void applyLoggingConfig(LambdaFunction fn, Object value) {
|
||||
if (!(value instanceof Map<?, ?> logging)) {
|
||||
return;
|
||||
}
|
||||
validateLoggingConfig(value);
|
||||
String format = logging.get("LogFormat") instanceof String f && !f.isBlank() ? f : "Text";
|
||||
boolean json = "JSON".equals(format);
|
||||
fn.setLogFormat(format);
|
||||
fn.setApplicationLogLevel(json && logging.get("ApplicationLogLevel") instanceof String level
|
||||
&& !level.isBlank() ? level : null);
|
||||
fn.setSystemLogLevel(json && logging.get("SystemLogLevel") instanceof String level
|
||||
&& !level.isBlank() ? level : null);
|
||||
fn.setLogGroup(logging.get("LogGroup") instanceof String group && !group.isBlank()
|
||||
? group : null);
|
||||
}
|
||||
|
||||
private static boolean hasValues(Map<String, Object> config, String key) {
|
||||
return config != null
|
||||
&& config.get(key) instanceof List<?> values
|
||||
|
||||
@@ -49,6 +49,16 @@ public class LambdaFunction {
|
||||
private List<String> layers = new ArrayList<>();
|
||||
private String kmsKeyArn;
|
||||
private Map<String, Object> vpcConfig;
|
||||
/**
|
||||
* Resolved at attach time from the first VpcConfig subnet. Response-only: the AWS model's
|
||||
* VpcConfigResponse carries VpcId, while the VpcConfig request shape does not.
|
||||
*/
|
||||
private String vpcId;
|
||||
private String snapStartApplyOn = "None";
|
||||
private String logFormat = "Text";
|
||||
private String applicationLogLevel;
|
||||
private String systemLogLevel;
|
||||
private String logGroup;
|
||||
private List<LambdaFileSystemConfig> fileSystemConfigs = new ArrayList<>();
|
||||
private String codeSha256;
|
||||
|
||||
@@ -169,6 +179,24 @@ public class LambdaFunction {
|
||||
public Map<String, Object> getVpcConfig() { return vpcConfig; }
|
||||
public void setVpcConfig(Map<String, Object> vpcConfig) { this.vpcConfig = vpcConfig; }
|
||||
|
||||
public String getVpcId() { return vpcId; }
|
||||
public void setVpcId(String vpcId) { this.vpcId = vpcId; }
|
||||
|
||||
public String getSnapStartApplyOn() { return snapStartApplyOn; }
|
||||
public void setSnapStartApplyOn(String snapStartApplyOn) { this.snapStartApplyOn = snapStartApplyOn; }
|
||||
|
||||
public String getLogFormat() { return logFormat; }
|
||||
public void setLogFormat(String logFormat) { this.logFormat = logFormat; }
|
||||
|
||||
public String getApplicationLogLevel() { return applicationLogLevel; }
|
||||
public void setApplicationLogLevel(String applicationLogLevel) { this.applicationLogLevel = applicationLogLevel; }
|
||||
|
||||
public String getSystemLogLevel() { return systemLogLevel; }
|
||||
public void setSystemLogLevel(String systemLogLevel) { this.systemLogLevel = systemLogLevel; }
|
||||
|
||||
public String getLogGroup() { return logGroup; }
|
||||
public void setLogGroup(String logGroup) { this.logGroup = logGroup; }
|
||||
|
||||
public List<LambdaFileSystemConfig> getFileSystemConfigs() { return fileSystemConfigs; }
|
||||
public void setFileSystemConfigs(List<LambdaFileSystemConfig> fileSystemConfigs) {
|
||||
this.fileSystemConfigs = fileSystemConfigs == null ? new ArrayList<>() : new ArrayList<>(fileSystemConfigs);
|
||||
|
||||
Reference in new issue
Block a user