Interface CfnFunctionDefinitionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFunctionDefinitionMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.greengrass.*;
Object tags;
Object variables;
CfnFunctionDefinitionMixinProps cfnFunctionDefinitionMixinProps = CfnFunctionDefinitionMixinProps.builder()
.initialVersion(FunctionDefinitionVersionProperty.builder()
.defaultConfig(DefaultConfigProperty.builder()
.execution(ExecutionProperty.builder()
.isolationMode("isolationMode")
.runAs(RunAsProperty.builder()
.gid(123)
.uid(123)
.build())
.build())
.build())
.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()
.permission("permission")
.resourceId("resourceId")
.build()))
.variables(variables)
.build())
.execArgs("execArgs")
.executable("executable")
.memorySize(123)
.pinned(false)
.timeout(123)
.build())
.id("id")
.build()))
.build())
.name("name")
.tags(tags)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnFunctionDefinitionMixinPropsstatic final classAn implementation forCfnFunctionDefinitionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe function definition version to include when the function definition is created.default StringgetName()The name of the function definition.default ObjectgetTags()Application-specific metadata to attach to the function definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInitialVersion
The function definition version to include when the function definition is created.A function definition version contains a list of
functionproperty types.To associate a function definition version after the function definition is created, create an
AWS::Greengrass::FunctionDefinitionVersionresource and specify the ID of this function definition.Returns union: either
IResolvableorCfnFunctionDefinitionPropsMixin.FunctionDefinitionVersionProperty- See Also:
-
getName
The name of the function definition.- See Also:
-
getTags
Application-specific metadata to attach to the function definition.You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- See Also:
-
builder
-