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 UpdateRepositoryEncryptionKey operation. Updates the Key Management Service encryption key used to encrypt and decrypt a CodeCommit repository.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CodeCommit.AmazonCodeCommitRequest
      Amazon.CodeCommit.Model.UpdateRepositoryEncryptionKeyRequest

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

Syntax

C#
public class UpdateRepositoryEncryptionKeyRequest : AmazonCodeCommitRequest
         IAmazonWebServiceRequest

The UpdateRepositoryEncryptionKeyRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property KmsKeyId System.String

Gets and sets the property KmsKeyId.

The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to programmatically retrieve a key ID. For more information about acceptable values for keyID, see KeyId in the Decrypt API description in the Key Management Service API Reference.

Public Property RepositoryName System.String

Gets and sets the property RepositoryName.

The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.

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