Learn R Programming

paws.compute (version 0.1.12)

ec2_create_vpc_endpoint_service_configuration: Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect

Description

Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect.

To create an endpoint service configuration, you must first create one of the following for your service:

For more information, see VPC Endpoint Services in the Amazon Virtual Private Cloud User Guide.

If you set the private DNS name, you must prove that you own the private DNS domain name. For more information, see VPC Endpoint Service Private DNS Name Verification in the Amazon Virtual Private Cloud User Guide.

Usage

ec2_create_vpc_endpoint_service_configuration(DryRun,
  AcceptanceRequired, PrivateDnsName, NetworkLoadBalancerArns,
  GatewayLoadBalancerArns, ClientToken, TagSpecifications)

Value

A list with the following syntax:

list(
  ServiceConfiguration = list(
    ServiceType = list(
      list(
        ServiceType = "Interface"|"Gateway"|"GatewayLoadBalancer"
      )
    ),
    ServiceId = "string",
    ServiceName = "string",
    ServiceState = "Pending"|"Available"|"Deleting"|"Deleted"|"Failed",
    AvailabilityZones = list(
      "string"
    ),
    AcceptanceRequired = TRUE|FALSE,
    ManagesVpcEndpoints = TRUE|FALSE,
    NetworkLoadBalancerArns = list(
      "string"
    ),
    GatewayLoadBalancerArns = list(
      "string"
    ),
    BaseEndpointDnsNames = list(
      "string"
    ),
    PrivateDnsName = "string",
    PrivateDnsNameConfiguration = list(
      State = "pendingVerification"|"verified"|"failed",
      Type = "string",
      Value = "string",
      Name = "string"
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  ),
  ClientToken = "string"
)

Arguments

DryRun

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.

AcceptanceRequired

Indicates whether requests from service consumers to create an endpoint to your service must be accepted. To accept a request, use accept_vpc_endpoint_connections.

PrivateDnsName

(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

NetworkLoadBalancerArns

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

GatewayLoadBalancerArns

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

ClientToken

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

TagSpecifications

The tags to associate with the service.

Request syntax

svc$create_vpc_endpoint_service_configuration(
  DryRun = TRUE|FALSE,
  AcceptanceRequired = TRUE|FALSE,
  PrivateDnsName = "string",
  NetworkLoadBalancerArns = list(
    "string"
  ),
  GatewayLoadBalancerArns = list(
    "string"
  ),
  ClientToken = "string",
  TagSpecifications = list(
    list(
      ResourceType = "client-vpn-endpoint"|"customer-gateway"|"dedicated-host"|"dhcp-options"|"egress-only-internet-gateway"|"elastic-ip"|"elastic-gpu"|"export-image-task"|"export-instance-task"|"fleet"|"fpga-image"|"host-reservation"|"image"|"import-image-task"|"import-snapshot-task"|"instance"|"internet-gateway"|"key-pair"|"launch-template"|"local-gateway-route-table-vpc-association"|"natgateway"|"network-acl"|"network-interface"|"network-insights-analysis"|"network-insights-path"|"placement-group"|"reserved-instances"|"route-table"|"security-group"|"snapshot"|"spot-fleet-request"|"spot-instances-request"|"subnet"|"traffic-mirror-filter"|"traffic-mirror-session"|"traffic-mirror-target"|"transit-gateway"|"transit-gateway-attachment"|"transit-gateway-connect-peer"|"transit-gateway-multicast-domain"|"transit-gateway-route-table"|"volume"|"vpc"|"vpc-peering-connection"|"vpn-connection"|"vpn-gateway"|"vpc-flow-log",
      Tags = list(
        list(
          Key = "string",
          Value = "string"
        )
      )
    )
  )
)