@Stability(value=Stable)
public static interface CfnFunctionDefinitionVersion.FunctionProperty
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;
FunctionProperty functionProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunctionDefinitionVersion.FunctionProperty.Builder
A builder for
CfnFunctionDefinitionVersion.FunctionProperty |
static class |
CfnFunctionDefinitionVersion.FunctionProperty.Jsii$Proxy
An implementation for
CfnFunctionDefinitionVersion.FunctionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunctionDefinitionVersion.FunctionProperty.Builder |
builder() |
String |
getFunctionArn()
`CfnFunctionDefinitionVersion.FunctionProperty.FunctionArn`.
|
Object |
getFunctionConfiguration()
`CfnFunctionDefinitionVersion.FunctionProperty.FunctionConfiguration`.
|
String |
getId()
`CfnFunctionDefinitionVersion.FunctionProperty.Id`.
|
@Stability(value=Stable) @NotNull String getFunctionArn()
@Stability(value=Stable) @NotNull Object getFunctionConfiguration()
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) static CfnFunctionDefinitionVersion.FunctionProperty.Builder builder()
Copyright © 2021. All rights reserved.