You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-verifiedpermissions): Amazon Verified Permissions now supports encryption of resources by a customer managed KMS key. Customers can now create new encrypted policy stores by passing in their customer managed key during policy store creation.
* <p>A structure that contains the KMS encryption configuration for the policy store. The encryption settings determine what customer-managed KMS key will be used to encrypt all resources within the policy store, and any user-defined context key-value pairs to append during encryption processes.</p> <p>This data type is used as a field that is part of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_EncryptionSettings.html">EncryptionSettings</a> type.</p>
1255
+
* @public
1256
+
*/
1257
+
exportinterfaceKmsEncryptionSettings{
1258
+
/**
1259
+
* <p>The customer-managed KMS key <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a>, alias or ID to be used for encryption processes. </p> <p>Users can provide the full KMS key ARN, a KMS key alias, or a KMS key ID, but it will be mapped to the full KMS key ARN after policy store creation, and referenced when encrypting child resources. </p>
1260
+
* @public
1261
+
*/
1262
+
key: string|undefined;
1263
+
1264
+
/**
1265
+
* <p>User-defined, additional context to be added to encryption processes. </p>
* <p>A structure that contains the encryption configuration for the policy store and child resources. </p> <p>This data type is used as a request parameter in the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreatePolicyStore.html">CreatePolicyStore</a> operation.</p>
1273
+
* @public
1274
+
*/
1275
+
exporttypeEncryptionSettings=
1276
+
|EncryptionSettings.DefaultMember
1277
+
|EncryptionSettings.KmsEncryptionSettingsMember
1278
+
|EncryptionSettings.$UnknownMember;
1279
+
1280
+
/**
1281
+
* @public
1282
+
*/
1283
+
exportnamespaceEncryptionSettings{
1284
+
/**
1285
+
* <p>The KMS encryption settings for this policy store to encrypt data with. It will contain the customer-managed KMS key, and a user-defined encryption context. </p>
1286
+
* @public
1287
+
*/
1288
+
exportinterfaceKmsEncryptionSettingsMember{
1289
+
kmsEncryptionSettings: KmsEncryptionSettings;
1290
+
default?: never;
1291
+
$unknown?: never;
1292
+
}
1293
+
1294
+
/**
1295
+
* Use AWS owned encryption keys for encrypting policy store data.
* <p>A structure that contains Cedar policy validation settings for the policy store. The validation mode determines which validation failures that Cedar considers serious enough to block acceptance of a new or edited static policy or policy template. </p> <p>This data type is used as a request parameter in the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_CreatePolicyStore.html">CreatePolicyStore</a> and <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_UpdatePolicyStore.html">UpdatePolicyStore</a> operations.</p>
* <p>Specifies the encryption settings used to encrypt the policy store and their child resources. Allows for the ability to use a customer owned KMS key for encryption of data.</p> <p>This is an optional field to be used when providing a customer-managed KMS key for encryption.</p>
* <p>A structure that contains the KMS encryption configuration for the policy store. The encryption state shows what customer-managed KMS key is being used to encrypt all resources within the policy store, and any user-defined context key-value pairs added during encryption processes.</p> <p>This data type is used as a field that is part of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_EncryptionState.html">EncryptionState</a> type.</p>
1548
+
* @public
1549
+
*/
1550
+
exportinterfaceKmsEncryptionState{
1551
+
/**
1552
+
* <p>The customer-managed KMS key <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Name (ARN)</a> being used for encryption processes. </p>
1553
+
* @public
1554
+
*/
1555
+
key: string|undefined;
1556
+
1557
+
/**
1558
+
* <p>User-defined, additional context added to encryption processes. </p>
* <p>A structure that contains the encryption configuration for the policy store and child resources.</p> <p>This data type is used as a response parameter field for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_GetPolicyStore.html">GetPolicyStore</a> operation.</p>
1566
+
* @public
1567
+
*/
1568
+
exporttypeEncryptionState=
1569
+
|EncryptionState.DefaultMember
1570
+
|EncryptionState.KmsEncryptionStateMember
1571
+
|EncryptionState.$UnknownMember;
1572
+
1573
+
/**
1574
+
* @public
1575
+
*/
1576
+
exportnamespaceEncryptionState{
1577
+
/**
1578
+
* <p>The KMS encryption settings currently configured for this policy store to encrypt data with. It contains the customer-managed KMS key, and a user-defined encryption context. </p>
1579
+
* @public
1580
+
*/
1581
+
exportinterfaceKmsEncryptionStateMember{
1582
+
kmsEncryptionState: KmsEncryptionState;
1583
+
default?: never;
1584
+
$unknown?: never;
1585
+
}
1586
+
1587
+
/**
1588
+
* Policy store data is encrypted using AWS owned encryption keys.
* <p>Contains information about a principal or resource that can be referenced in a Cedar policy.</p> <p>This data type is used as part of the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_PolicyFilter.html">PolicyFilter</a> structure that is used as a request parameter for the <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/apireference/API_ListPolicies.html">ListPolicies</a> operation..</p>
* <p>A structure that contains the encryption configuration for the policy store.</p>
1923
+
* @public
1924
+
*/
1925
+
encryptionState?: EncryptionState|undefined;
1926
+
1768
1927
/**
1769
1928
* <p>The version of the Cedar language used with policies, policy templates, and schemas in this policy store. For more information, see <a href="https://docs.aws.amazon.com/verifiedpermissions/latest/userguide/cedar4-faq.html">Amazon Verified Permissions upgrade to Cedar v4 FAQ</a>.</p>
* <p>Specifies the updated policy content that you want to replace on the specified policy. The content must be valid Cedar policy language text.</p> <p>You can change only the following elements from the policy definition:</p> <ul> <li> <p>The <code>action</code> referenced by the policy.</p> </li> <li> <p>Any conditional clauses, such as <code>when</code> or <code>unless</code> clauses.</p> </li> </ul> <p>You <b>can't</b> change the following elements:</p> <ul> <li> <p>Changing from <code>static</code> to <code>templateLinked</code>.</p> </li> <li> <p>Changing the effect of the policy from <code>permit</code> or <code>forbid</code>.</p> </li> <li> <p>The <code>principal</code> referenced by the policy.</p> </li> <li> <p>The <code>resource</code> referenced by the policy.</p> </li> </ul>
0 commit comments