AWSEC2CreateVpcEndpointRequest

Objective-C

@interface AWSEC2CreateVpcEndpointRequest

Swift

class AWSEC2CreateVpcEndpointRequest

Contains the parameters for CreateVpcEndpoint.

Required parameters: [VpcId, ServiceName]

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable clientToken;

    Swift

    var clientToken: String? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable policyDocument;

    Swift

    var policyDocument: String? { get set }
  • (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

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable privateDnsEnabled;

    Swift

    var privateDnsEnabled: NSNumber? { get set }
  • (Gateway endpoint) One or more route table IDs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable routeTableIds;

    Swift

    var routeTableIds: [String]? { get set }
  • (Interface endpoint) The ID of one or more security groups to associate with the endpoint network interface.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable securityGroupIds;

    Swift

    var securityGroupIds: [String]? { get set }
  • The service name. To get a list of available services, use the DescribeVpcEndpointServices request, or get the name from the service provider.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable serviceName;

    Swift

    var serviceName: String? { get set }
  • (Interface endpoint) The ID of one or more subnets in which to create an endpoint network interface.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable subnetIds;

    Swift

    var subnetIds: [String]? { get set }
  • The tags to associate with the endpoint.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2TagSpecification *> *_Nullable tagSpecifications;

    Swift

    var tagSpecifications: [AWSEC2TagSpecification]? { get set }
  • The type of endpoint.

    Default: Gateway

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2VpcEndpointType vpcEndpointType;

    Swift

    var vpcEndpointType: AWSEC2VpcEndpointType { get set }
  • The ID of the VPC in which the endpoint will be used.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable vpcId;

    Swift

    var vpcId: String? { get set }