Skip to content

Create Domain Name

apigatewayv2_create_domain_name R Documentation

Creates a domain name

Description

Creates a domain name.

Usage

apigatewayv2_create_domain_name(DomainName, DomainNameConfigurations,
  MutualTlsAuthentication, Tags)

Arguments

DomainName

[required] The domain name.

DomainNameConfigurations

The domain name configurations.

MutualTlsAuthentication

The mutual TLS authentication configuration for a custom domain name.

Tags

The collection of tags associated with a domain name.

Value

A list with the following syntax:

list(
  ApiMappingSelectionExpression = "string",
  DomainName = "string",
  DomainNameConfigurations = list(
    list(
      ApiGatewayDomainName = "string",
      CertificateArn = "string",
      CertificateName = "string",
      CertificateUploadDate = as.POSIXct(
        "2015-01-01"
      ),
      DomainNameStatus = "AVAILABLE"|"UPDATING"|"PENDING_CERTIFICATE_REIMPORT"|"PENDING_OWNERSHIP_VERIFICATION",
      DomainNameStatusMessage = "string",
      EndpointType = "REGIONAL"|"EDGE",
      HostedZoneId = "string",
      SecurityPolicy = "TLS_1_0"|"TLS_1_2",
      OwnershipVerificationCertificateArn = "string"
    )
  ),
  MutualTlsAuthentication = list(
    TruststoreUri = "string",
    TruststoreVersion = "string",
    TruststoreWarnings = list(
      "string"
    )
  ),
  Tags = list(
    "string"
  )
)

Request syntax

svc$create_domain_name(
  DomainName = "string",
  DomainNameConfigurations = list(
    list(
      ApiGatewayDomainName = "string",
      CertificateArn = "string",
      CertificateName = "string",
      CertificateUploadDate = as.POSIXct(
        "2015-01-01"
      ),
      DomainNameStatus = "AVAILABLE"|"UPDATING"|"PENDING_CERTIFICATE_REIMPORT"|"PENDING_OWNERSHIP_VERIFICATION",
      DomainNameStatusMessage = "string",
      EndpointType = "REGIONAL"|"EDGE",
      HostedZoneId = "string",
      SecurityPolicy = "TLS_1_0"|"TLS_1_2",
      OwnershipVerificationCertificateArn = "string"
    )
  ),
  MutualTlsAuthentication = list(
    TruststoreUri = "string",
    TruststoreVersion = "string"
  ),
  Tags = list(
    "string"
  )
)