Show / Hide Table of Contents

Class CfnAssetModelPropsMixin

Creates an asset model from specified property and hierarchy definitions.

Inheritance
object
Mixin
CfnAssetModelPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.IoTSiteWise.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAssetModelPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnAssetModelPropsMixin Inherits Mixin Implements IMixin
Remarks

You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

    CloudformationResource: AWS::IoTSiteWise::AssetModel

    Mixin: true

    ExampleMetadata: fixture=_generated

    Examples
    // The code below shows an example of how to instantiate this type.
                 // The values are placeholders you should change.
                 using Amazon.CDK.Mixins.Preview.Mixins;
                 using Amazon.CDK.Mixins.Preview.AWS.IoTSiteWise.Mixins;
    
                 var cfnAssetModelPropsMixin = new CfnAssetModelPropsMixin(new CfnAssetModelMixinProps {
                     AssetModelCompositeModels = new [] { new AssetModelCompositeModelProperty {
                         ComposedAssetModelId = "composedAssetModelId",
                         CompositeModelProperties = new [] { new AssetModelPropertyProperty {
                             DataType = "dataType",
                             DataTypeSpec = "dataTypeSpec",
                             ExternalId = "externalId",
                             Id = "id",
                             LogicalId = "logicalId",
                             Name = "name",
                             Type = new PropertyTypeProperty {
                                 Attribute = new AttributeProperty {
                                     DefaultValue = "defaultValue"
                                 },
                                 Metric = new MetricProperty {
                                     Expression = "expression",
                                     Variables = new [] { new ExpressionVariableProperty {
                                         Name = "name",
                                         Value = new VariableValueProperty {
                                             HierarchyExternalId = "hierarchyExternalId",
                                             HierarchyId = "hierarchyId",
                                             HierarchyLogicalId = "hierarchyLogicalId",
                                             PropertyExternalId = "propertyExternalId",
                                             PropertyId = "propertyId",
                                             PropertyLogicalId = "propertyLogicalId",
                                             PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                 Name = "name"
                                             } }
                                         }
                                     } },
                                     Window = new MetricWindowProperty {
                                         Tumbling = new TumblingWindowProperty {
                                             Interval = "interval",
                                             Offset = "offset"
                                         }
                                     }
                                 },
                                 Transform = new TransformProperty {
                                     Expression = "expression",
                                     Variables = new [] { new ExpressionVariableProperty {
                                         Name = "name",
                                         Value = new VariableValueProperty {
                                             HierarchyExternalId = "hierarchyExternalId",
                                             HierarchyId = "hierarchyId",
                                             HierarchyLogicalId = "hierarchyLogicalId",
                                             PropertyExternalId = "propertyExternalId",
                                             PropertyId = "propertyId",
                                             PropertyLogicalId = "propertyLogicalId",
                                             PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                 Name = "name"
                                             } }
                                         }
                                     } }
                                 },
                                 TypeName = "typeName"
                             },
                             Unit = "unit"
                         } },
                         Description = "description",
                         ExternalId = "externalId",
                         Id = "id",
                         Name = "name",
                         ParentAssetModelCompositeModelExternalId = "parentAssetModelCompositeModelExternalId",
                         Path = new [] { "path" },
                         Type = "type"
                     } },
                     AssetModelDescription = "assetModelDescription",
                     AssetModelExternalId = "assetModelExternalId",
                     AssetModelHierarchies = new [] { new AssetModelHierarchyProperty {
                         ChildAssetModelId = "childAssetModelId",
                         ExternalId = "externalId",
                         Id = "id",
                         LogicalId = "logicalId",
                         Name = "name"
                     } },
                     AssetModelName = "assetModelName",
                     AssetModelProperties = new [] { new AssetModelPropertyProperty {
                         DataType = "dataType",
                         DataTypeSpec = "dataTypeSpec",
                         ExternalId = "externalId",
                         Id = "id",
                         LogicalId = "logicalId",
                         Name = "name",
                         Type = new PropertyTypeProperty {
                             Attribute = new AttributeProperty {
                                 DefaultValue = "defaultValue"
                             },
                             Metric = new MetricProperty {
                                 Expression = "expression",
                                 Variables = new [] { new ExpressionVariableProperty {
                                     Name = "name",
                                     Value = new VariableValueProperty {
                                         HierarchyExternalId = "hierarchyExternalId",
                                         HierarchyId = "hierarchyId",
                                         HierarchyLogicalId = "hierarchyLogicalId",
                                         PropertyExternalId = "propertyExternalId",
                                         PropertyId = "propertyId",
                                         PropertyLogicalId = "propertyLogicalId",
                                         PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                             Name = "name"
                                         } }
                                     }
                                 } },
                                 Window = new MetricWindowProperty {
                                     Tumbling = new TumblingWindowProperty {
                                         Interval = "interval",
                                         Offset = "offset"
                                     }
                                 }
                             },
                             Transform = new TransformProperty {
                                 Expression = "expression",
                                 Variables = new [] { new ExpressionVariableProperty {
                                     Name = "name",
                                     Value = new VariableValueProperty {
                                         HierarchyExternalId = "hierarchyExternalId",
                                         HierarchyId = "hierarchyId",
                                         HierarchyLogicalId = "hierarchyLogicalId",
                                         PropertyExternalId = "propertyExternalId",
                                         PropertyId = "propertyId",
                                         PropertyLogicalId = "propertyLogicalId",
                                         PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                             Name = "name"
                                         } }
                                     }
                                 } }
                             },
                             TypeName = "typeName"
                         },
                         Unit = "unit"
                     } },
                     AssetModelType = "assetModelType",
                     EnforcedAssetModelInterfaceRelationships = new [] { new EnforcedAssetModelInterfaceRelationshipProperty {
                         InterfaceAssetModelId = "interfaceAssetModelId",
                         PropertyMappings = new [] { new EnforcedAssetModelInterfacePropertyMappingProperty {
                             AssetModelPropertyExternalId = "assetModelPropertyExternalId",
                             AssetModelPropertyLogicalId = "assetModelPropertyLogicalId",
                             InterfaceAssetModelPropertyExternalId = "interfaceAssetModelPropertyExternalId"
                         } }
                     } },
                     Tags = new [] { new CfnTag {
                         Key = "key",
                         Value = "value"
                     } }
                 }, new CfnPropertyMixinOptions {
                     Strategy = PropertyMergeStrategy.OVERRIDE
                 });

    Synopsis

    Constructors

    CfnAssetModelPropsMixin(ICfnAssetModelMixinProps, ICfnPropertyMixinOptions?)

    Create a mixin to apply properties to AWS::IoTSiteWise::AssetModel.

    Properties

    CFN_PROPERTY_KEYS

    Creates an asset model from specified property and hierarchy definitions.

    Props

    Creates an asset model from specified property and hierarchy definitions.

    Strategy

    Creates an asset model from specified property and hierarchy definitions.

    Methods

    ApplyTo(IConstruct)

    Apply the mixin properties to the construct.

    Supports(IConstruct)

    Check if this mixin supports the given construct.

    Constructors

    CfnAssetModelPropsMixin(ICfnAssetModelMixinProps, ICfnPropertyMixinOptions?)

    Create a mixin to apply properties to AWS::IoTSiteWise::AssetModel.

    public CfnAssetModelPropsMixin(ICfnAssetModelMixinProps props, ICfnPropertyMixinOptions? options = null)
    Parameters
    props ICfnAssetModelMixinProps

    L1 properties to apply.

    options ICfnPropertyMixinOptions

    Mixin options.

    Remarks

    You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

    You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

      See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

      CloudformationResource: AWS::IoTSiteWise::AssetModel

      Mixin: true

      ExampleMetadata: fixture=_generated

      Properties

      CFN_PROPERTY_KEYS

      Creates an asset model from specified property and hierarchy definitions.

      protected static string[] CFN_PROPERTY_KEYS { get; }
      Property Value

      string[]

      Remarks

      You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

      You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

        See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

        CloudformationResource: AWS::IoTSiteWise::AssetModel

        Mixin: true

        ExampleMetadata: fixture=_generated

        Examples
        // The code below shows an example of how to instantiate this type.
                     // The values are placeholders you should change.
                     using Amazon.CDK.Mixins.Preview.Mixins;
                     using Amazon.CDK.Mixins.Preview.AWS.IoTSiteWise.Mixins;
        
                     var cfnAssetModelPropsMixin = new CfnAssetModelPropsMixin(new CfnAssetModelMixinProps {
                         AssetModelCompositeModels = new [] { new AssetModelCompositeModelProperty {
                             ComposedAssetModelId = "composedAssetModelId",
                             CompositeModelProperties = new [] { new AssetModelPropertyProperty {
                                 DataType = "dataType",
                                 DataTypeSpec = "dataTypeSpec",
                                 ExternalId = "externalId",
                                 Id = "id",
                                 LogicalId = "logicalId",
                                 Name = "name",
                                 Type = new PropertyTypeProperty {
                                     Attribute = new AttributeProperty {
                                         DefaultValue = "defaultValue"
                                     },
                                     Metric = new MetricProperty {
                                         Expression = "expression",
                                         Variables = new [] { new ExpressionVariableProperty {
                                             Name = "name",
                                             Value = new VariableValueProperty {
                                                 HierarchyExternalId = "hierarchyExternalId",
                                                 HierarchyId = "hierarchyId",
                                                 HierarchyLogicalId = "hierarchyLogicalId",
                                                 PropertyExternalId = "propertyExternalId",
                                                 PropertyId = "propertyId",
                                                 PropertyLogicalId = "propertyLogicalId",
                                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                     Name = "name"
                                                 } }
                                             }
                                         } },
                                         Window = new MetricWindowProperty {
                                             Tumbling = new TumblingWindowProperty {
                                                 Interval = "interval",
                                                 Offset = "offset"
                                             }
                                         }
                                     },
                                     Transform = new TransformProperty {
                                         Expression = "expression",
                                         Variables = new [] { new ExpressionVariableProperty {
                                             Name = "name",
                                             Value = new VariableValueProperty {
                                                 HierarchyExternalId = "hierarchyExternalId",
                                                 HierarchyId = "hierarchyId",
                                                 HierarchyLogicalId = "hierarchyLogicalId",
                                                 PropertyExternalId = "propertyExternalId",
                                                 PropertyId = "propertyId",
                                                 PropertyLogicalId = "propertyLogicalId",
                                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                     Name = "name"
                                                 } }
                                             }
                                         } }
                                     },
                                     TypeName = "typeName"
                                 },
                                 Unit = "unit"
                             } },
                             Description = "description",
                             ExternalId = "externalId",
                             Id = "id",
                             Name = "name",
                             ParentAssetModelCompositeModelExternalId = "parentAssetModelCompositeModelExternalId",
                             Path = new [] { "path" },
                             Type = "type"
                         } },
                         AssetModelDescription = "assetModelDescription",
                         AssetModelExternalId = "assetModelExternalId",
                         AssetModelHierarchies = new [] { new AssetModelHierarchyProperty {
                             ChildAssetModelId = "childAssetModelId",
                             ExternalId = "externalId",
                             Id = "id",
                             LogicalId = "logicalId",
                             Name = "name"
                         } },
                         AssetModelName = "assetModelName",
                         AssetModelProperties = new [] { new AssetModelPropertyProperty {
                             DataType = "dataType",
                             DataTypeSpec = "dataTypeSpec",
                             ExternalId = "externalId",
                             Id = "id",
                             LogicalId = "logicalId",
                             Name = "name",
                             Type = new PropertyTypeProperty {
                                 Attribute = new AttributeProperty {
                                     DefaultValue = "defaultValue"
                                 },
                                 Metric = new MetricProperty {
                                     Expression = "expression",
                                     Variables = new [] { new ExpressionVariableProperty {
                                         Name = "name",
                                         Value = new VariableValueProperty {
                                             HierarchyExternalId = "hierarchyExternalId",
                                             HierarchyId = "hierarchyId",
                                             HierarchyLogicalId = "hierarchyLogicalId",
                                             PropertyExternalId = "propertyExternalId",
                                             PropertyId = "propertyId",
                                             PropertyLogicalId = "propertyLogicalId",
                                             PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                 Name = "name"
                                             } }
                                         }
                                     } },
                                     Window = new MetricWindowProperty {
                                         Tumbling = new TumblingWindowProperty {
                                             Interval = "interval",
                                             Offset = "offset"
                                         }
                                     }
                                 },
                                 Transform = new TransformProperty {
                                     Expression = "expression",
                                     Variables = new [] { new ExpressionVariableProperty {
                                         Name = "name",
                                         Value = new VariableValueProperty {
                                             HierarchyExternalId = "hierarchyExternalId",
                                             HierarchyId = "hierarchyId",
                                             HierarchyLogicalId = "hierarchyLogicalId",
                                             PropertyExternalId = "propertyExternalId",
                                             PropertyId = "propertyId",
                                             PropertyLogicalId = "propertyLogicalId",
                                             PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                 Name = "name"
                                             } }
                                         }
                                     } }
                                 },
                                 TypeName = "typeName"
                             },
                             Unit = "unit"
                         } },
                         AssetModelType = "assetModelType",
                         EnforcedAssetModelInterfaceRelationships = new [] { new EnforcedAssetModelInterfaceRelationshipProperty {
                             InterfaceAssetModelId = "interfaceAssetModelId",
                             PropertyMappings = new [] { new EnforcedAssetModelInterfacePropertyMappingProperty {
                                 AssetModelPropertyExternalId = "assetModelPropertyExternalId",
                                 AssetModelPropertyLogicalId = "assetModelPropertyLogicalId",
                                 InterfaceAssetModelPropertyExternalId = "interfaceAssetModelPropertyExternalId"
                             } }
                         } },
                         Tags = new [] { new CfnTag {
                             Key = "key",
                             Value = "value"
                         } }
                     }, new CfnPropertyMixinOptions {
                         Strategy = PropertyMergeStrategy.OVERRIDE
                     });

        Props

        Creates an asset model from specified property and hierarchy definitions.

        protected virtual ICfnAssetModelMixinProps Props { get; }
        Property Value

        ICfnAssetModelMixinProps

        Remarks

        You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

        You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

          See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

          CloudformationResource: AWS::IoTSiteWise::AssetModel

          Mixin: true

          ExampleMetadata: fixture=_generated

          Examples
          // The code below shows an example of how to instantiate this type.
                       // The values are placeholders you should change.
                       using Amazon.CDK.Mixins.Preview.Mixins;
                       using Amazon.CDK.Mixins.Preview.AWS.IoTSiteWise.Mixins;
          
                       var cfnAssetModelPropsMixin = new CfnAssetModelPropsMixin(new CfnAssetModelMixinProps {
                           AssetModelCompositeModels = new [] { new AssetModelCompositeModelProperty {
                               ComposedAssetModelId = "composedAssetModelId",
                               CompositeModelProperties = new [] { new AssetModelPropertyProperty {
                                   DataType = "dataType",
                                   DataTypeSpec = "dataTypeSpec",
                                   ExternalId = "externalId",
                                   Id = "id",
                                   LogicalId = "logicalId",
                                   Name = "name",
                                   Type = new PropertyTypeProperty {
                                       Attribute = new AttributeProperty {
                                           DefaultValue = "defaultValue"
                                       },
                                       Metric = new MetricProperty {
                                           Expression = "expression",
                                           Variables = new [] { new ExpressionVariableProperty {
                                               Name = "name",
                                               Value = new VariableValueProperty {
                                                   HierarchyExternalId = "hierarchyExternalId",
                                                   HierarchyId = "hierarchyId",
                                                   HierarchyLogicalId = "hierarchyLogicalId",
                                                   PropertyExternalId = "propertyExternalId",
                                                   PropertyId = "propertyId",
                                                   PropertyLogicalId = "propertyLogicalId",
                                                   PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                       Name = "name"
                                                   } }
                                               }
                                           } },
                                           Window = new MetricWindowProperty {
                                               Tumbling = new TumblingWindowProperty {
                                                   Interval = "interval",
                                                   Offset = "offset"
                                               }
                                           }
                                       },
                                       Transform = new TransformProperty {
                                           Expression = "expression",
                                           Variables = new [] { new ExpressionVariableProperty {
                                               Name = "name",
                                               Value = new VariableValueProperty {
                                                   HierarchyExternalId = "hierarchyExternalId",
                                                   HierarchyId = "hierarchyId",
                                                   HierarchyLogicalId = "hierarchyLogicalId",
                                                   PropertyExternalId = "propertyExternalId",
                                                   PropertyId = "propertyId",
                                                   PropertyLogicalId = "propertyLogicalId",
                                                   PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                       Name = "name"
                                                   } }
                                               }
                                           } }
                                       },
                                       TypeName = "typeName"
                                   },
                                   Unit = "unit"
                               } },
                               Description = "description",
                               ExternalId = "externalId",
                               Id = "id",
                               Name = "name",
                               ParentAssetModelCompositeModelExternalId = "parentAssetModelCompositeModelExternalId",
                               Path = new [] { "path" },
                               Type = "type"
                           } },
                           AssetModelDescription = "assetModelDescription",
                           AssetModelExternalId = "assetModelExternalId",
                           AssetModelHierarchies = new [] { new AssetModelHierarchyProperty {
                               ChildAssetModelId = "childAssetModelId",
                               ExternalId = "externalId",
                               Id = "id",
                               LogicalId = "logicalId",
                               Name = "name"
                           } },
                           AssetModelName = "assetModelName",
                           AssetModelProperties = new [] { new AssetModelPropertyProperty {
                               DataType = "dataType",
                               DataTypeSpec = "dataTypeSpec",
                               ExternalId = "externalId",
                               Id = "id",
                               LogicalId = "logicalId",
                               Name = "name",
                               Type = new PropertyTypeProperty {
                                   Attribute = new AttributeProperty {
                                       DefaultValue = "defaultValue"
                                   },
                                   Metric = new MetricProperty {
                                       Expression = "expression",
                                       Variables = new [] { new ExpressionVariableProperty {
                                           Name = "name",
                                           Value = new VariableValueProperty {
                                               HierarchyExternalId = "hierarchyExternalId",
                                               HierarchyId = "hierarchyId",
                                               HierarchyLogicalId = "hierarchyLogicalId",
                                               PropertyExternalId = "propertyExternalId",
                                               PropertyId = "propertyId",
                                               PropertyLogicalId = "propertyLogicalId",
                                               PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                   Name = "name"
                                               } }
                                           }
                                       } },
                                       Window = new MetricWindowProperty {
                                           Tumbling = new TumblingWindowProperty {
                                               Interval = "interval",
                                               Offset = "offset"
                                           }
                                       }
                                   },
                                   Transform = new TransformProperty {
                                       Expression = "expression",
                                       Variables = new [] { new ExpressionVariableProperty {
                                           Name = "name",
                                           Value = new VariableValueProperty {
                                               HierarchyExternalId = "hierarchyExternalId",
                                               HierarchyId = "hierarchyId",
                                               HierarchyLogicalId = "hierarchyLogicalId",
                                               PropertyExternalId = "propertyExternalId",
                                               PropertyId = "propertyId",
                                               PropertyLogicalId = "propertyLogicalId",
                                               PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                   Name = "name"
                                               } }
                                           }
                                       } }
                                   },
                                   TypeName = "typeName"
                               },
                               Unit = "unit"
                           } },
                           AssetModelType = "assetModelType",
                           EnforcedAssetModelInterfaceRelationships = new [] { new EnforcedAssetModelInterfaceRelationshipProperty {
                               InterfaceAssetModelId = "interfaceAssetModelId",
                               PropertyMappings = new [] { new EnforcedAssetModelInterfacePropertyMappingProperty {
                                   AssetModelPropertyExternalId = "assetModelPropertyExternalId",
                                   AssetModelPropertyLogicalId = "assetModelPropertyLogicalId",
                                   InterfaceAssetModelPropertyExternalId = "interfaceAssetModelPropertyExternalId"
                               } }
                           } },
                           Tags = new [] { new CfnTag {
                               Key = "key",
                               Value = "value"
                           } }
                       }, new CfnPropertyMixinOptions {
                           Strategy = PropertyMergeStrategy.OVERRIDE
                       });

          Strategy

          Creates an asset model from specified property and hierarchy definitions.

          protected virtual PropertyMergeStrategy Strategy { get; }
          Property Value

          PropertyMergeStrategy

          Remarks

          You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

          You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

            See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

            CloudformationResource: AWS::IoTSiteWise::AssetModel

            Mixin: true

            ExampleMetadata: fixture=_generated

            Examples
            // The code below shows an example of how to instantiate this type.
                         // The values are placeholders you should change.
                         using Amazon.CDK.Mixins.Preview.Mixins;
                         using Amazon.CDK.Mixins.Preview.AWS.IoTSiteWise.Mixins;
            
                         var cfnAssetModelPropsMixin = new CfnAssetModelPropsMixin(new CfnAssetModelMixinProps {
                             AssetModelCompositeModels = new [] { new AssetModelCompositeModelProperty {
                                 ComposedAssetModelId = "composedAssetModelId",
                                 CompositeModelProperties = new [] { new AssetModelPropertyProperty {
                                     DataType = "dataType",
                                     DataTypeSpec = "dataTypeSpec",
                                     ExternalId = "externalId",
                                     Id = "id",
                                     LogicalId = "logicalId",
                                     Name = "name",
                                     Type = new PropertyTypeProperty {
                                         Attribute = new AttributeProperty {
                                             DefaultValue = "defaultValue"
                                         },
                                         Metric = new MetricProperty {
                                             Expression = "expression",
                                             Variables = new [] { new ExpressionVariableProperty {
                                                 Name = "name",
                                                 Value = new VariableValueProperty {
                                                     HierarchyExternalId = "hierarchyExternalId",
                                                     HierarchyId = "hierarchyId",
                                                     HierarchyLogicalId = "hierarchyLogicalId",
                                                     PropertyExternalId = "propertyExternalId",
                                                     PropertyId = "propertyId",
                                                     PropertyLogicalId = "propertyLogicalId",
                                                     PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                         Name = "name"
                                                     } }
                                                 }
                                             } },
                                             Window = new MetricWindowProperty {
                                                 Tumbling = new TumblingWindowProperty {
                                                     Interval = "interval",
                                                     Offset = "offset"
                                                 }
                                             }
                                         },
                                         Transform = new TransformProperty {
                                             Expression = "expression",
                                             Variables = new [] { new ExpressionVariableProperty {
                                                 Name = "name",
                                                 Value = new VariableValueProperty {
                                                     HierarchyExternalId = "hierarchyExternalId",
                                                     HierarchyId = "hierarchyId",
                                                     HierarchyLogicalId = "hierarchyLogicalId",
                                                     PropertyExternalId = "propertyExternalId",
                                                     PropertyId = "propertyId",
                                                     PropertyLogicalId = "propertyLogicalId",
                                                     PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                         Name = "name"
                                                     } }
                                                 }
                                             } }
                                         },
                                         TypeName = "typeName"
                                     },
                                     Unit = "unit"
                                 } },
                                 Description = "description",
                                 ExternalId = "externalId",
                                 Id = "id",
                                 Name = "name",
                                 ParentAssetModelCompositeModelExternalId = "parentAssetModelCompositeModelExternalId",
                                 Path = new [] { "path" },
                                 Type = "type"
                             } },
                             AssetModelDescription = "assetModelDescription",
                             AssetModelExternalId = "assetModelExternalId",
                             AssetModelHierarchies = new [] { new AssetModelHierarchyProperty {
                                 ChildAssetModelId = "childAssetModelId",
                                 ExternalId = "externalId",
                                 Id = "id",
                                 LogicalId = "logicalId",
                                 Name = "name"
                             } },
                             AssetModelName = "assetModelName",
                             AssetModelProperties = new [] { new AssetModelPropertyProperty {
                                 DataType = "dataType",
                                 DataTypeSpec = "dataTypeSpec",
                                 ExternalId = "externalId",
                                 Id = "id",
                                 LogicalId = "logicalId",
                                 Name = "name",
                                 Type = new PropertyTypeProperty {
                                     Attribute = new AttributeProperty {
                                         DefaultValue = "defaultValue"
                                     },
                                     Metric = new MetricProperty {
                                         Expression = "expression",
                                         Variables = new [] { new ExpressionVariableProperty {
                                             Name = "name",
                                             Value = new VariableValueProperty {
                                                 HierarchyExternalId = "hierarchyExternalId",
                                                 HierarchyId = "hierarchyId",
                                                 HierarchyLogicalId = "hierarchyLogicalId",
                                                 PropertyExternalId = "propertyExternalId",
                                                 PropertyId = "propertyId",
                                                 PropertyLogicalId = "propertyLogicalId",
                                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                     Name = "name"
                                                 } }
                                             }
                                         } },
                                         Window = new MetricWindowProperty {
                                             Tumbling = new TumblingWindowProperty {
                                                 Interval = "interval",
                                                 Offset = "offset"
                                             }
                                         }
                                     },
                                     Transform = new TransformProperty {
                                         Expression = "expression",
                                         Variables = new [] { new ExpressionVariableProperty {
                                             Name = "name",
                                             Value = new VariableValueProperty {
                                                 HierarchyExternalId = "hierarchyExternalId",
                                                 HierarchyId = "hierarchyId",
                                                 HierarchyLogicalId = "hierarchyLogicalId",
                                                 PropertyExternalId = "propertyExternalId",
                                                 PropertyId = "propertyId",
                                                 PropertyLogicalId = "propertyLogicalId",
                                                 PropertyPath = new [] { new PropertyPathDefinitionProperty {
                                                     Name = "name"
                                                 } }
                                             }
                                         } }
                                     },
                                     TypeName = "typeName"
                                 },
                                 Unit = "unit"
                             } },
                             AssetModelType = "assetModelType",
                             EnforcedAssetModelInterfaceRelationships = new [] { new EnforcedAssetModelInterfaceRelationshipProperty {
                                 InterfaceAssetModelId = "interfaceAssetModelId",
                                 PropertyMappings = new [] { new EnforcedAssetModelInterfacePropertyMappingProperty {
                                     AssetModelPropertyExternalId = "assetModelPropertyExternalId",
                                     AssetModelPropertyLogicalId = "assetModelPropertyLogicalId",
                                     InterfaceAssetModelPropertyExternalId = "interfaceAssetModelPropertyExternalId"
                                 } }
                             } },
                             Tags = new [] { new CfnTag {
                                 Key = "key",
                                 Value = "value"
                             } }
                         }, new CfnPropertyMixinOptions {
                             Strategy = PropertyMergeStrategy.OVERRIDE
                         });

            Methods

            ApplyTo(IConstruct)

            Apply the mixin properties to the construct.

            public override IConstruct ApplyTo(IConstruct construct)
            Parameters
            construct IConstruct
            Returns

            IConstruct

            Overrides
            Mixin.ApplyTo(IConstruct)
            Remarks

            You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

            You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

              See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

              CloudformationResource: AWS::IoTSiteWise::AssetModel

              Mixin: true

              ExampleMetadata: fixture=_generated

              Supports(IConstruct)

              Check if this mixin supports the given construct.

              public override bool Supports(IConstruct construct)
              Parameters
              construct IConstruct
              Returns

              bool

              Overrides
              Mixin.Supports(IConstruct)
              Remarks

              You create assets from asset models. With asset models, you can easily create assets of the same type that have standardized definitions. Each asset created from a model inherits the asset model's property and hierarchy definitions. For more information, see Defining asset models in the AWS IoT SiteWise User Guide .

              You can create three types of asset models, ASSET_MODEL , COMPONENT_MODEL , or an INTERFACE .

                See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotsitewise-assetmodel.html

                CloudformationResource: AWS::IoTSiteWise::AssetModel

                Mixin: true

                ExampleMetadata: fixture=_generated

                Implements

                IMixin
                Back to top Generated by DocFX