-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnAsset_AssetHierarchyProperty.go
46 lines (43 loc) · 2.28 KB
/
CfnAsset_AssetHierarchyProperty.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
35
36
37
38
39
40
41
42
43
44
45
package awsiotsitewise
// Describes an asset hierarchy that contains a hierarchy's name and ID.
//
// 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"
//
// assetHierarchyProperty := &AssetHierarchyProperty{
// ChildAssetId: jsii.String("childAssetId"),
//
// // the properties below are optional
// ExternalId: jsii.String("externalId"),
// Id: jsii.String("id"),
// LogicalId: jsii.String("logicalId"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html
//
type CfnAsset_AssetHierarchyProperty struct {
// The Id of the child asset.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-childassetid
//
ChildAssetId *string `field:"required" json:"childAssetId" yaml:"childAssetId"`
// The external ID of the hierarchy, if it has one.
//
// When you update an asset hierarchy, you may assign an external ID if it doesn't already have one. You can't change the external ID of an asset hierarchy that already has one. For more information, see [Using external IDs](https://docs.aws.amazon.com/iot-sitewise/latest/userguide/object-ids.html#external-ids) in the *AWS IoT SiteWise User Guide* .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-externalid
//
ExternalId *string `field:"optional" json:"externalId" yaml:"externalId"`
// The ID of the hierarchy. This ID is a `hierarchyId` .
//
// > This is a return value and can't be set.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-id
//
Id *string `field:"optional" json:"id" yaml:"id"`
// The ID of the hierarchy.
//
// This ID is a `hierarchyId` .
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotsitewise-asset-assethierarchy.html#cfn-iotsitewise-asset-assethierarchy-logicalid
//
LogicalId *string `field:"optional" json:"logicalId" yaml:"logicalId"`
}