@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.726Z") @Stability(value=Stable) public interface CfnComponentVersionProps 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.greengrassv2.*;
CfnComponentVersionProps cfnComponentVersionProps = CfnComponentVersionProps.builder()
.inlineRecipe("inlineRecipe")
.lambdaFunction(LambdaFunctionRecipeSourceProperty.builder()
.componentDependencies(Map.of(
"componentDependenciesKey", ComponentDependencyRequirementProperty.builder()
.dependencyType("dependencyType")
.versionRequirement("versionRequirement")
.build()))
.componentLambdaParameters(LambdaExecutionParametersProperty.builder()
.environmentVariables(Map.of(
"environmentVariablesKey", "environmentVariables"))
.eventSources(List.of(LambdaEventSourceProperty.builder()
.topic("topic")
.type("type")
.build()))
.execArgs(List.of("execArgs"))
.inputPayloadEncodingType("inputPayloadEncodingType")
.linuxProcessParams(LambdaLinuxProcessParamsProperty.builder()
.containerParams(LambdaContainerParamsProperty.builder()
.devices(List.of(LambdaDeviceMountProperty.builder()
.addGroupOwner(false)
.path("path")
.permission("permission")
.build()))
.memorySizeInKb(123)
.mountRoSysfs(false)
.volumes(List.of(LambdaVolumeMountProperty.builder()
.addGroupOwner(false)
.destinationPath("destinationPath")
.permission("permission")
.sourcePath("sourcePath")
.build()))
.build())
.isolationMode("isolationMode")
.build())
.maxIdleTimeInSeconds(123)
.maxInstancesCount(123)
.maxQueueSize(123)
.pinned(false)
.statusTimeoutInSeconds(123)
.timeoutInSeconds(123)
.build())
.componentName("componentName")
.componentPlatforms(List.of(ComponentPlatformProperty.builder()
.attributes(Map.of(
"attributesKey", "attributes"))
.name("name")
.build()))
.componentVersion("componentVersion")
.lambdaArn("lambdaArn")
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentVersionProps.Builder
A builder for
CfnComponentVersionProps |
static class |
CfnComponentVersionProps.Jsii$Proxy
An implementation for
CfnComponentVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentVersionProps.Builder |
builder() |
default String |
getInlineRecipe()
`AWS::GreengrassV2::ComponentVersion.InlineRecipe`.
|
default Object |
getLambdaFunction()
`AWS::GreengrassV2::ComponentVersion.LambdaFunction`.
|
default Map<String,String> |
getTags()
`AWS::GreengrassV2::ComponentVersion.Tags`.
|
@Stability(value=Stable) @Nullable default String getInlineRecipe()
@Stability(value=Stable) @Nullable default Object getLambdaFunction()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) static CfnComponentVersionProps.Builder builder()
CfnComponentVersionProps.Builder of CfnComponentVersionPropsCopyright © 2021. All rights reserved.