@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.690Z") @Stability(value=Stable) public interface CfnFunctionDefinitionProps extends software.amazon.jsii.JsiiSerializable
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 tags;
Object variables;
CfnFunctionDefinitionProps cfnFunctionDefinitionProps = CfnFunctionDefinitionProps.builder()
.name("name")
// the properties below are optional
.initialVersion(FunctionDefinitionVersionProperty.builder()
.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())
.tags(tags)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnFunctionDefinitionProps.Builder
A builder for
CfnFunctionDefinitionProps |
static class |
CfnFunctionDefinitionProps.Jsii$Proxy
An implementation for
CfnFunctionDefinitionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnFunctionDefinitionProps.Builder |
builder() |
default Object |
getInitialVersion()
`AWS::Greengrass::FunctionDefinition.InitialVersion`.
|
String |
getName()
`AWS::Greengrass::FunctionDefinition.Name`.
|
default Object |
getTags()
`AWS::Greengrass::FunctionDefinition.Tags`.
|
@Stability(value=Stable) @Nullable default Object getInitialVersion()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getTags()
@Stability(value=Stable) static CfnFunctionDefinitionProps.Builder builder()
CfnFunctionDefinitionProps.Builder of CfnFunctionDefinitionPropsCopyright © 2021. All rights reserved.