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.

Proposed access control configuration for a KMS key. You can propose a configuration for a new KMS key or an existing KMS key that you own by specifying the key policy and KMS grant configuration. If the configuration is for an existing key and you do not specify the key policy, the access preview uses the existing policy for the key. If the access preview is for a new resource and you do not specify the key policy, then the access preview uses the default key policy. The proposed key policy cannot be an empty string. For more information, see Default key policy. For more information about key policy limits, see Resource quotas.

Inheritance Hierarchy

System.Object
  Amazon.AccessAnalyzer.Model.KmsKeyConfiguration

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

Syntax

C#
public class KmsKeyConfiguration

The KmsKeyConfiguration type exposes the following members

Constructors

NameDescription
Public Method KmsKeyConfiguration()

Properties

NameTypeDescription
Public Property Grants System.Collections.Generic.List<Amazon.AccessAnalyzer.Model.KmsGrantConfiguration>

Gets and sets the property Grants.

A list of proposed grant configurations for the KMS key. If the proposed grant configuration is for an existing key, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the key.

Public Property KeyPolicies System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property KeyPolicies.

Resource policy configuration for the KMS key. The only valid value for the name of the key policy is default. For more information, see Default key policy.

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