Interface CfnComponentVersion.ComponentDependencyRequirementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnComponentVersion.ComponentDependencyRequirementProperty.Jsii$Proxy
- Enclosing class:
CfnComponentVersion
@Stability(Stable)
public static interface CfnComponentVersion.ComponentDependencyRequirementProperty
extends software.amazon.jsii.JsiiSerializable
Contains information about a component dependency for a Lambda function component.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnComponentVersion.ComponentDependencyRequirementProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDependencyType
The type of this dependency. Choose from the following options:.SOFT
– The component doesn't restart if the dependency changes state.HARD
– The component restarts if the dependency changes state.
Default:
HARD
- See Also:
-
getVersionRequirement
The component version requirement for the component dependency.AWS IoT Greengrass uses semantic version constraints. For more information, see Semantic Versioning .
- See Also:
-
builder
@Stability(Stable) static CfnComponentVersion.ComponentDependencyRequirementProperty.Builder builder()
-