CreateVpcEndpointRequest
public struct CreateVpcEndpointRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to Ensure Idempotency.
Declaration
Swift
public let clientToken: String?
-
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.
Declaration
Swift
public let dryRun: Bool?
-
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.
Declaration
Swift
public let policyDocument: String?
-
(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. Default: true
Declaration
Swift
public let privateDnsEnabled: Bool?
-
(Gateway endpoint) One or more route table IDs.
Declaration
Swift
public let routeTableIds: [String]?
-
(Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.
Declaration
Swift
public let securityGroupIds: [String]?
-
The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.
Declaration
Swift
public let serviceName: String
-
(Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.
Declaration
Swift
public let subnetIds: [String]?
-
The tags to associate with the endpoint.
Declaration
Swift
public let tagSpecifications: [TagSpecification]?
-
The type of endpoint. Default: Gateway
Declaration
Swift
public let vpcEndpointType: VpcEndpointType?
-
The ID of the VPC in which the endpoint will be used.
Declaration
Swift
public let vpcId: String
-
init(clientToken:dryRun:policyDocument:privateDnsEnabled:routeTableIds:securityGroupIds:serviceName:subnetIds:tagSpecifications:vpcEndpointType:vpcId:)
Undocumented
Declaration
Swift
public init(clientToken: String? = nil, dryRun: Bool? = nil, policyDocument: String? = nil, privateDnsEnabled: Bool? = nil, routeTableIds: [String]? = nil, securityGroupIds: [String]? = nil, serviceName: String, subnetIds: [String]? = nil, tagSpecifications: [TagSpecification]? = nil, vpcEndpointType: VpcEndpointType? = nil, vpcId: String)