@Generated(value="jsii-pacmak/1.46.0 (build cd08c55)", date="2021-11-25T20:11:06.723Z") @Stability(value=Stable) public class CfnComponentVersion extends CfnResource implements IInspectable
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.*;
CfnComponentVersion cfnComponentVersion = CfnComponentVersion.Builder.create(this, "MyCfnComponentVersion")
.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 | Class and Description |
|---|---|
static class |
CfnComponentVersion.Builder
A fluent builder for
CfnComponentVersion. |
static interface |
CfnComponentVersion.ComponentDependencyRequirementProperty
Example:
|
static interface |
CfnComponentVersion.ComponentPlatformProperty
Example:
|
static interface |
CfnComponentVersion.LambdaContainerParamsProperty
Example:
|
static interface |
CfnComponentVersion.LambdaDeviceMountProperty
Example:
|
static interface |
CfnComponentVersion.LambdaEventSourceProperty
Example:
|
static interface |
CfnComponentVersion.LambdaExecutionParametersProperty
Example:
|
static interface |
CfnComponentVersion.LambdaFunctionRecipeSourceProperty
Example:
|
static interface |
CfnComponentVersion.LambdaLinuxProcessParamsProperty
Example:
|
static interface |
CfnComponentVersion.LambdaVolumeMountProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnComponentVersion(software.constructs.Construct scope,
String id)
Create a new `AWS::GreengrassV2::ComponentVersion`.
|
|
CfnComponentVersion(software.constructs.Construct scope,
String id,
CfnComponentVersionProps props)
Create a new `AWS::GreengrassV2::ComponentVersion`.
|
protected |
CfnComponentVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnComponentVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn() |
String |
getAttrComponentName() |
String |
getAttrComponentVersion() |
protected Map<String,Object> |
getCfnProperties() |
String |
getInlineRecipe()
`AWS::GreengrassV2::ComponentVersion.InlineRecipe`.
|
Object |
getLambdaFunction()
`AWS::GreengrassV2::ComponentVersion.LambdaFunction`.
|
TagManager |
getTags()
`AWS::GreengrassV2::ComponentVersion.Tags`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setInlineRecipe(String value)
`AWS::GreengrassV2::ComponentVersion.InlineRecipe`.
|
void |
setLambdaFunction(CfnComponentVersion.LambdaFunctionRecipeSourceProperty value)
`AWS::GreengrassV2::ComponentVersion.LambdaFunction`.
|
void |
setLambdaFunction(IResolvable value)
`AWS::GreengrassV2::ComponentVersion.LambdaFunction`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnComponentVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnComponentVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnComponentVersion(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnComponentVersionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnComponentVersion(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrComponentName()
@Stability(value=Stable) @NotNull public String getAttrComponentVersion()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @Nullable public String getInlineRecipe()
@Stability(value=Stable)
public void setInlineRecipe(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getLambdaFunction()
@Stability(value=Stable)
public void setLambdaFunction(@Nullable
CfnComponentVersion.LambdaFunctionRecipeSourceProperty value)
@Stability(value=Stable)
public void setLambdaFunction(@Nullable
IResolvable value)
@Stability(value=Stable) @NotNull public TagManager getTags()
Copyright © 2021. All rights reserved.