@Stability(value=Stable)
public static interface CfnFunctionDefinitionVersion.FunctionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
// 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;
FunctionConfigurationProperty functionConfigurationProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder
|
static class |
CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Jsii$Proxy
An implementation for
CfnFunctionDefinitionVersion.FunctionConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder |
builder() |
default String |
getEncodingType()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.EncodingType`.
|
default Object |
getEnvironment()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Environment`.
|
default String |
getExecArgs()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.ExecArgs`.
|
default String |
getExecutable()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Executable`.
|
default Number |
getMemorySize()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.MemorySize`.
|
default Object |
getPinned()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Pinned`.
|
default Number |
getTimeout()
`CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Timeout`.
|
@Stability(value=Stable) @Nullable default String getEncodingType()
@Stability(value=Stable) @Nullable default Object getEnvironment()
@Stability(value=Stable) @Nullable default String getExecArgs()
@Stability(value=Stable) @Nullable default String getExecutable()
@Stability(value=Stable) @Nullable default Number getMemorySize()
@Stability(value=Stable) @Nullable default Object getPinned()
@Stability(value=Stable) @Nullable default Number getTimeout()
@Stability(value=Stable) static CfnFunctionDefinitionVersion.FunctionConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.