import { Value } from '../../../cloudformation/Value';
import { MetricDefinitionProps } from './MetricDefinitionProps';
/**
  Creates or updates a destination to receive extended metrics from CloudWatch RUM. You can send extended metrics to CloudWatch or to a CloudWatch Evidently experiment.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rum-appmonitor-metricdestination.html">the AWS Docs</a>
*/
export interface MetricDestinationProps {
    /** <code>Destination</code>  <a name="cfn-rum-appmonitor-metricdestination-destination"></a>
  Defines the destination to send the metrics to. Valid values are <code>CloudWatch</code> and <code>Evidently</code>. If you specify <code>Evidently</code>, you must also specify the ARN of the CloudWatchEvidently experiment that is to be the destination and an IAM role that has permission to write to the experiment.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    destination: Value<string>;
    /** <code>IamRoleArn</code>  <a name="cfn-rum-appmonitor-metricdestination-iamrolearn"></a>
  This parameter is required if <code>Destination</code> is <code>Evidently</code>. If <code>Destination</code> is <code>CloudWatch</code>, do not use this parameter.<br />
  This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    iamRoleArn?: Value<string>;
    /** <code>MetricDefinitions</code>  <a name="cfn-rum-appmonitor-metricdestination-metricdefinitions"></a>
  An array of structures which define the metrics that you want to send.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    metricDefinitions?: MetricDefinitionProps[];
    /** <code>DestinationArn</code>  <a name="cfn-rum-appmonitor-metricdestination-destinationarn"></a>
  Use this parameter only if <code>Destination</code> is <code>Evidently</code>. This parameter specifies the ARN of the Evidently experiment that will receive the extended metrics.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    destinationArn?: Value<string>;
}
