@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-02T20:25:25.633Z")
public interface CfnFunctionDefinitionVersionProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.greengrass.*; Object variables; CfnFunctionDefinitionVersionProps cfnFunctionDefinitionVersionProps = CfnFunctionDefinitionVersionProps.builder() .functionDefinitionId("functionDefinitionId") .functions(List.of(FunctionProperty.builder() .functionArn("functionArn") .functionConfiguration(FunctionConfigurationProperty.builder() .encodingType("encodingType") .environment(EnvironmentProperty.builder() .accessSysfs(false) .execution(ExecutionProperty.builder() .isolationMode("isolationMode") .runAs(RunAsProperty.builder() .gid(123) .uid(123) .build()) .build()) .resourceAccessPolicies(List.of(ResourceAccessPolicyProperty.builder() .resourceId("resourceId") // the properties below are optional .permission("permission") .build())) .variables(variables) .build()) .execArgs("execArgs") .executable("executable") .memorySize(123) .pinned(false) .timeout(123) .build()) .id("id") .build())) // the properties below are optional .defaultConfig(DefaultConfigProperty.builder() .execution(ExecutionProperty.builder() .isolationMode("isolationMode") .runAs(RunAsProperty.builder() .gid(123) .uid(123) .build()) .build()) .build()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnFunctionDefinitionVersionProps.Builder
A builder for
CfnFunctionDefinitionVersionProps |
static class |
CfnFunctionDefinitionVersionProps.Jsii$Proxy
An implementation for
CfnFunctionDefinitionVersionProps |
Modifier and Type | Method and Description |
---|---|
static CfnFunctionDefinitionVersionProps.Builder |
builder() |
default java.lang.Object |
getDefaultConfig()
The default configuration that applies to all Lambda functions in the group.
|
java.lang.String |
getFunctionDefinitionId()
The ID of the function definition associated with this version.
|
java.lang.Object |
getFunctions()
The functions in this version.
|
java.lang.String getFunctionDefinitionId()
This value is a GUID.
java.lang.Object getFunctions()
default java.lang.Object getDefaultConfig()
Individual Lambda functions can override these settings.
static CfnFunctionDefinitionVersionProps.Builder builder()