-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnComponentVersion_ComponentDependencyRequirementProperty.go
35 lines (32 loc) · 1.84 KB
/
CfnComponentVersion_ComponentDependencyRequirementProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package awsgreengrassv2
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// componentDependencyRequirementProperty := &ComponentDependencyRequirementProperty{
// DependencyType: jsii.String("dependencyType"),
// VersionRequirement: jsii.String("versionRequirement"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentdependencyrequirement.html
//
type CfnComponentVersion_ComponentDependencyRequirementProperty struct {
// 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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentdependencyrequirement.html#cfn-greengrassv2-componentversion-componentdependencyrequirement-dependencytype
//
DependencyType *string `field:"optional" json:"dependencyType" yaml:"dependencyType"`
// The component version requirement for the component dependency.
//
// AWS IoT Greengrass uses semantic version constraints. For more information, see [Semantic Versioning](https://docs.aws.amazon.com/https://semver.org/) .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-greengrassv2-componentversion-componentdependencyrequirement.html#cfn-greengrassv2-componentversion-componentdependencyrequirement-versionrequirement
//
VersionRequirement *string `field:"optional" json:"versionRequirement" yaml:"versionRequirement"`
}