AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateKeyGroup operation. Updates a key group.

When you update a key group, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a key group:

  1. Get the current key group with GetKeyGroup or GetKeyGroupConfig.

  2. Locally modify the fields in the key group that you want to update. For example, add or remove public key IDs.

  3. Call UpdateKeyGroup with the entire key group object, including the fields that you modified and those that you didn't.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFront.AmazonCloudFrontRequest
      Amazon.CloudFront.Model.UpdateKeyGroupRequest

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateKeyGroupRequest : AmazonCloudFrontRequest
         IAmazonWebServiceRequest

The UpdateKeyGroupRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateKeyGroupRequest()

Properties

NameTypeDescription
Public Property Id System.String

Gets and sets the property Id.

The identifier of the key group that you are updating.

Public Property IfMatch System.String

Gets and sets the property IfMatch.

The version of the key group that you are updating. The version is the key group's ETag value.

Public Property KeyGroupConfig Amazon.CloudFront.Model.KeyGroupConfig

Gets and sets the property KeyGroupConfig.

The key group configuration.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5