import { Value } from '../../cloudformation/Value';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type LinkAttributes = {
    Label: Attribute<string>;
    Arn: Attribute<string>;
};
export type Link = AwsResource<'AWS::Oam::Link', LinkProperties, LinkAttributes>;
/**
  Creates a link between a source account and a sink that you have created in a monitoring account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html">the AWS Docs</a>
*/
export declare function link(linkProps: LinkProperties): Link;
/**
  Creates a link between a source account and a sink that you have created in a monitoring account.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-link.html">the AWS Docs</a>
*/
export interface LinkProperties {
    /** <code>SinkIdentifier</code>  <a name="cfn-oam-link-sinkidentifier"></a>
  The ARN of the sink in the monitoring account that you want to link to. You can use <a href="https://docs.aws.amazon.com/OAM/latest/APIReference/API_ListSinks.html">ListSinks</a> to find the ARNs of sinks.<br />
  
  Required: Yes<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    sinkIdentifier: Value<string>;
    /** <p> */
    labelTemplate?: Value<string>;
    /** <code>ResourceTypes</code>  <a name="cfn-oam-link-resourcetypes"></a>
  An array of strings that define which types of data that the source account shares with the monitoring account. Valid values are <code>AWS::CloudWatch::Metric | AWS::Logs::LogGroup | AWS::XRay::Trace</code>.<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> */
    resourceTypes: Value<Value<string>[]>;
    /** <code>Tags</code>  <a name="cfn-oam-link-tags"></a>
  An array of key-value pairs to apply to the link.<br />
  For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html">Tag</a>.<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> */
    tags?: Value<{
        [key: string]: Value<string>;
    }>;
}
