@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-06-22T23:27:50.603Z")
public interface CfnComponentVersionProps
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 java.lang.String |
getInlineRecipe()
The recipe to use to create the component.
|
default java.lang.Object |
getLambdaFunction()
The parameters to create a component from a Lambda function.
|
default java.util.Map<java.lang.String,java.lang.String> |
getTags()
Application-specific metadata to attach to the component version.
|
default java.lang.String getInlineRecipe()
The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.
You must specify either InlineRecipe
or LambdaFunction
.
default java.lang.Object getLambdaFunction()
You must specify either InlineRecipe
or LambdaFunction
.
default java.util.Map<java.lang.String,java.lang.String> getTags()
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 Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide .
This Json
property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags
implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
static CfnComponentVersionProps.Builder builder()
CfnComponentVersionProps.Builder
of CfnComponentVersionProps