Module Values_7.CreateVpcEndpointRequestSource

Creates a VPC endpoint. A VPC endpoint provides a private connection between the specified VPC and the specified endpoint service. You can use an endpoint service provided by Amazon Web Services, an Amazon Web Services Marketplace Partner, or another Amazon Web Services account. For more information, see the Amazon Web Services PrivateLink User Guide.

Sourcetype nonrec t = {
  1. dryRun : Values_0.Boolean.t option;
    (*

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    *)
  2. vpcEndpointType : Values_1.VpcEndpointType.t option;
    (*

    The type of endpoint. Default: Gateway

    *)
  3. vpcId : Values_0.VpcId.t;
    (*

    The ID of the VPC.

    *)
  4. serviceName : Values_0.String_.t option;
    (*

    The name of the endpoint service.

    *)
  5. policyDocument : Values_0.String_.t option;
    (*

    (Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format. If this parameter is not specified, we attach a default policy that allows full access to the service.

    *)
  6. routeTableIds : Values_3.VpcEndpointRouteTableIdList.t option;
    (*

    (Gateway endpoint) The route table IDs.

    *)
  7. subnetIds : Values_3.VpcEndpointSubnetIdList.t option;
    (*

    (Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to create endpoint network interfaces. For a Gateway Load Balancer endpoint, you can specify only one subnet.

    *)
  8. securityGroupIds : Values_3.VpcEndpointSecurityGroupIdList.t option;
    (*

    (Interface endpoint) 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.

    *)
  9. ipAddressType : Values_1.IpAddressType.t option;
    (*

    The IP address type for the endpoint.

    *)
  10. dnsOptions : Values_3.DnsOptionsSpecification.t option;
    (*

    The DNS options for the endpoint.

    *)
  11. clientToken : Values_0.String_.t option;
    (*

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

    *)
  12. privateDnsEnabled : Values_0.Boolean.t option;
    (*

    (Interface endpoint) Indicates 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, kinesis.us-east-1.amazonaws.com), 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. To use a private hosted zone, you must set the following VPC attributes to true: enableDnsHostnames and enableDnsSupport. Use ModifyVpcAttribute to set the VPC attributes.

    *)
  13. tagSpecifications : Values_0.TagSpecificationList.t option;
    (*

    The tags to associate with the endpoint.

    *)
  14. subnetConfigurations : Values_3.SubnetConfigurationsList.t option;
    (*

    The subnet configurations for the endpoint.

    *)
  15. serviceNetworkArn : Values_1.ServiceNetworkArn.t option;
    (*

    The Amazon Resource Name (ARN) of a service network that will be associated with the VPC endpoint of type service-network.

    *)
  16. resourceConfigurationArn : Values_1.ResourceConfigurationArn.t option;
    (*

    The Amazon Resource Name (ARN) of a resource configuration that will be associated with the VPC endpoint of type resource.

    *)
  17. serviceRegion : Values_0.String_.t option;
    (*

    The Region where the service is hosted. The default is the current Region.

    *)
}
Sourceval context_ : string
Sourceval make : ?dryRun:??? -> ?vpcEndpointType:??? -> ?serviceName:??? -> ?policyDocument:??? -> ?routeTableIds:??? -> ?subnetIds:??? -> ?securityGroupIds:??? -> ?ipAddressType:??? -> ?dnsOptions:??? -> ?clientToken:??? -> ?privateDnsEnabled:??? -> ?tagSpecifications:??? -> ?subnetConfigurations:??? -> ?serviceNetworkArn:??? -> ?resourceConfigurationArn:??? -> ?serviceRegion:??? -> vpcId:Values_0.VpcId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `List of [> `String of Values_0.RouteTableId.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of Values_0.SubnetId.t ]) list ] list | `String of Values_0.VpcId.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `List of [> `String of string ] list | `String of Values_0.String_.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t