import { Value } from '../../../cloudformation/Value';
/**
  Each alias (“endpoint”) is a fully-qualified name and port number that other tasks (“clients”) can use to connect to this service.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecs-service-serviceconnectclientalias.html">the AWS Docs</a>
*/
export interface ServiceConnectClientAliasProps {
    /** <code>DnsName</code>  <a name="cfn-ecs-service-serviceconnectclientalias-dnsname"></a>
  The <code>dnsName</code> is the name that you use in the applications of client tasks to connect to this service. The name must be a valid DNS name but doesn’t need to be fully-qualified. The name can include up to 127 characters. The name can include lowercase letters, numbers, underscores (_), hyphens (-), and periods (.). The name can’t start with a hyphen.<br />
  If this parameter isn’t specified, the default value of <code>discoveryName.namespace</code> is used. If the <code>discoveryName</code> isn’t specified, the port mapping name from the task definition is used in <code>portName.namespace</code>.<br />
  To avoid changing your applications in client Amazon ECS services, set this to the same name that the client application uses by default. For example, a few common names are <code>database</code>, <code>db</code>, or the lowercase name of a database, such as <code>mysql</code> or <code>redis</code>. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the
  Amazon Elastic Container Service Developer Guide: 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> */
    dnsName?: Value<string>;
    /** <code>Port</code>  <a name="cfn-ecs-service-serviceconnectclientalias-port"></a>
  The listening port number for the Service Connect proxy. This port is available inside of all of the tasks within the same namespace.<br />
  To avoid changing your applications in client Amazon ECS services, set this to the same port that the client application uses by default. For more information, see <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html">Service Connect</a> in the
  Amazon Elastic Container Service Developer Guide: br />
  
  Required: Yes<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>65535</code><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> */
    port: Value<number>;
}
