Skip to content

Create Vpc Origin

cloudfront_create_vpc_origin R Documentation

Create an Amazon CloudFront VPC origin

Description

Create an Amazon CloudFront VPC origin.

Usage

cloudfront_create_vpc_origin(VpcOriginEndpointConfig, Tags)

Arguments

VpcOriginEndpointConfig

[required] The VPC origin endpoint configuration.

Tags

Value

A list with the following syntax:

list(
  VpcOrigin = list(
    Id = "string",
    Arn = "string",
    Status = "string",
    CreatedTime = as.POSIXct(
      "2015-01-01"
    ),
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    VpcOriginEndpointConfig = list(
      Name = "string",
      Arn = "string",
      HTTPPort = 123,
      HTTPSPort = 123,
      OriginProtocolPolicy = "http-only"|"match-viewer"|"https-only",
      OriginSslProtocols = list(
        Quantity = 123,
        Items = list(
          "SSLv3"|"TLSv1"|"TLSv1.1"|"TLSv1.2"
        )
      )
    )
  ),
  Location = "string",
  ETag = "string"
)

Request syntax

svc$create_vpc_origin(
  VpcOriginEndpointConfig = list(
    Name = "string",
    Arn = "string",
    HTTPPort = 123,
    HTTPSPort = 123,
    OriginProtocolPolicy = "http-only"|"match-viewer"|"https-only",
    OriginSslProtocols = list(
      Quantity = 123,
      Items = list(
        "SSLv3"|"TLSv1"|"TLSv1.1"|"TLSv1.2"
      )
    )
  ),
  Tags = list(
    Items = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)