@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
61 lines (60 loc) • 2.18 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource schema for AWS::IoTSiteWise::AssetModel
*/
export declare function getAssetModel(args: GetAssetModelArgs, opts?: pulumi.InvokeOptions): Promise<GetAssetModelResult>;
export interface GetAssetModelArgs {
/**
* The ID of the asset model.
*/
assetModelId: string;
}
export interface GetAssetModelResult {
/**
* The ARN of the asset model, which has the following format.
*/
readonly assetModelArn?: string;
/**
* The composite asset models that are part of this asset model. Composite asset models are asset models that contain specific properties.
*/
readonly assetModelCompositeModels?: outputs.iotsitewise.AssetModelCompositeModel[];
/**
* A description for the asset model.
*/
readonly assetModelDescription?: string;
/**
* The external ID of the asset model.
*/
readonly assetModelExternalId?: string;
/**
* The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model.
*/
readonly assetModelHierarchies?: outputs.iotsitewise.AssetModelHierarchy[];
/**
* The ID of the asset model.
*/
readonly assetModelId?: string;
/**
* A unique, friendly name for the asset model.
*/
readonly assetModelName?: string;
/**
* The property definitions of the asset model. You can specify up to 200 properties per asset model.
*/
readonly assetModelProperties?: outputs.iotsitewise.AssetModelProperty[];
/**
* A list of key-value pairs that contain metadata for the asset model.
*/
readonly tags?: outputs.Tag[];
}
/**
* Resource schema for AWS::IoTSiteWise::AssetModel
*/
export declare function getAssetModelOutput(args: GetAssetModelOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAssetModelResult>;
export interface GetAssetModelOutputArgs {
/**
* The ID of the asset model.
*/
assetModelId: pulumi.Input<string>;
}