UNPKG

typed-aws

Version:

Helps you write AWS CloudFormation in TypeScript

40 lines (39 loc) 1.68 kB
import { CfnResource, Resolvable } from '../../base'; export declare type CustomMetric_Type = 'AWS::IoT::CustomMetric'; export declare const CustomMetric_Type = "AWS::IoT::CustomMetric"; /** * A custom metric published by your devices to Device Defender. {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html} */ export default function CustomMetric(props: CustomMetric_Properties): CfnResource<CustomMetric_Properties>; /** * A custom metric published by your devices to Device Defender. {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html} */ export declare type CustomMetric_Properties = { /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-metricname} */ MetricName?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-displayname} */ DisplayName?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-metrictype} */ MetricType: Resolvable<'string-list' | 'ip-address-list' | 'number-list' | 'number'>; MetricArn?: Resolvable<string>; /** * {@link * http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-custommetric.html#cfn-iot-custommetric-tags} */ Tags?: Tag[]; }; export declare type Tag = { Key: Resolvable<string>; Value: Resolvable<string>; };