import { Value } from '../../cloudformation/Value';
import { PolicyDocument } from '../../cloudformation/iam/PolicyDocument';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type VPCEndpointAttributes = {
    CreationTimestamp: Attribute<string>;
    NetworkInterfaceIds: Attribute<string[]>;
    Id: Attribute<string>;
    DnsEntries: Attribute<string[]>;
};
export type VPCEndpoint = AwsResource<'AWS::EC2::VPCEndpoint', VPCEndpointProperties, VPCEndpointAttributes>;
/**
  Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS, an AWS Marketplace Partner, or another AWS accounts in your organization. For more information, see the <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/">AWS PrivateLink User Guide</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html">the AWS Docs</a>
*/
export declare function vPCEndpoint(vPCEndpointProps: VPCEndpointProperties): VPCEndpoint;
/**
  Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS, an AWS Marketplace Partner, or another AWS accounts in your organization. For more information, see the <a href="https://docs.aws.amazon.com/vpc/latest/privatelink/">AWS PrivateLink User Guide</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html">the AWS Docs</a>
*/
export interface VPCEndpointProperties {
    /** <code>PrivateDnsEnabled</code>  <a name="cfn-ec2-vpcendpoint-privatednsenabled"></a>
  Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, <code>kinesis.us-east-1.amazonaws.com</code>), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.<br />
  To use a private hosted zone, you must set the following VPC attributes to <code>true</code>: <code>enableDnsHostnames</code> and <code>enableDnsSupport</code>.<br />
  This property is supported only for interface endpoints.<br />
  Default: <code>false</code><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> */
    privateDnsEnabled?: Value<boolean>;
    /** <code>VpcId</code>  <a name="cfn-ec2-vpcendpoint-vpcid"></a>
  The ID of the VPC.<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> */
    vpcId: Value<string>;
    /** <code>RouteTableIds</code>  <a name="cfn-ec2-vpcendpoint-routetableids"></a>
  The IDs of the route tables. Routing is supported only for gateway endpoints.<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> */
    routeTableIds?: Value<Value<string>[]>;
    /** <code>ServiceName</code>  <a name="cfn-ec2-vpcendpoint-servicename"></a>
  The name of the endpoint service.<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> */
    serviceName: Value<string>;
    /** <code>PolicyDocument</code>  <a name="cfn-ec2-vpcendpoint-policydocument"></a>
  An endpoint policy, which controls access to the service from the VPC. The default endpoint policy allows full access to the service. Endpoint policies are supported only for gateway and interface endpoints.<br />
  For CloudFormation templates in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation converts YAML policies to JSON format before calling the API to create or modify the VPC endpoint.<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> */
    policyDocument?: Value<PolicyDocument>;
    /** <code>VpcEndpointType</code>  <a name="cfn-ec2-vpcendpoint-vpcendpointtype"></a>
  The type of endpoint.<br />
  Default: Gateway<br />
  
  Required: No<br />
  
  Allowed values: <code>Gateway | GatewayLoadBalancer | Interface</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    vpcEndpointType?: Value<'Gateway' | 'GatewayLoadBalancer' | 'Interface'>;
    /** <code>SecurityGroupIds</code>  <a name="cfn-ec2-vpcendpoint-securitygroupids"></a>
  The IDs of the security groups to associate with the endpoint network interfaces. If this parameter is not specified, we use the default security group for the VPC. Security groups are supported only for interface endpoints.<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> */
    securityGroupIds?: Value<Value<string>[]>;
    /** <code>SubnetIds</code>  <a name="cfn-ec2-vpcendpoint-subnetids"></a>
  The IDs of the subnets in which to create endpoint network interfaces. You must specify this property for an interface endpoint or a Gateway Load Balancer endpoint. You can’t specify this property for a gateway endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.<br />
  
  Required: Conditional<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> */
    subnetIds?: Value<Value<string>[]>;
}
