Skip to content

Update Origin Access Control

cloudfront_update_origin_access_control R Documentation

Updates a CloudFront origin access control

Description

Updates a CloudFront origin access control.

Usage

cloudfront_update_origin_access_control(OriginAccessControlConfig, Id,
  IfMatch)

Arguments

OriginAccessControlConfig

[required] An origin access control.

Id

[required] The unique identifier of the origin access control that you are updating.

IfMatch

The current version (ETag value) of the origin access control that you are updating.

Value

A list with the following syntax:

list(
  OriginAccessControl = list(
    Id = "string",
    OriginAccessControlConfig = list(
      Name = "string",
      Description = "string",
      SigningProtocol = "sigv4",
      SigningBehavior = "never"|"always"|"no-override",
      OriginAccessControlOriginType = "s3"|"mediastore"|"mediapackagev2"|"lambda"
    )
  ),
  ETag = "string"
)

Request syntax

svc$update_origin_access_control(
  OriginAccessControlConfig = list(
    Name = "string",
    Description = "string",
    SigningProtocol = "sigv4",
    SigningBehavior = "never"|"always"|"no-override",
    OriginAccessControlOriginType = "s3"|"mediastore"|"mediapackagev2"|"lambda"
  ),
  Id = "string",
  IfMatch = "string"
)