@Stability(value=Stable)
public static interface CfnComponentVersion.ComponentDependencyRequirementProperty
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.*;
ComponentDependencyRequirementProperty componentDependencyRequirementProperty = ComponentDependencyRequirementProperty.builder()
.dependencyType("dependencyType")
.versionRequirement("versionRequirement")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnComponentVersion.ComponentDependencyRequirementProperty.Builder
|
static class |
CfnComponentVersion.ComponentDependencyRequirementProperty.Jsii$Proxy
An implementation for
CfnComponentVersion.ComponentDependencyRequirementProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnComponentVersion.ComponentDependencyRequirementProperty.Builder |
builder() |
default String |
getDependencyType()
The type of this dependency.
|
default String |
getVersionRequirement()
The component version requirement for the component dependency.
|
@Stability(value=Stable) @Nullable default String getDependencyType()
SOFT – The component doesn't restart if the dependency changes state.HARD – The component restarts if the dependency changes state.
Default: HARD
@Stability(value=Stable) @Nullable default String getVersionRequirement()
AWS IoT Greengrass uses semantic version constraints. For more information, see Semantic Versioning .
@Stability(value=Stable) static CfnComponentVersion.ComponentDependencyRequirementProperty.Builder builder()
Copyright © 2022. All rights reserved.