Skip to main content

security_policy

Gets an individual security_policy resource

Overview

Namesecurity_policy
TypeResource
Descriptionsecurity_policy
Idawscc.opensearchserverless.security_policy

Fields

NameDatatypeDescription
descriptionstringThe description of the policy
policystringThe JSON policy document that is the content for the policy
namestringThe name of the policy
typestring
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
description,
policy,
name,
type
FROM awscc.opensearchserverless.security_policy
WHERE data__Identifier = '<Type>|<Name>';

Permissions

To operate on the security_policy resource, the following permissions are required:

Update

aoss:GetSecurityPolicy,
aoss:UpdateSecurityPolicy,
kms:DescribeKey,
kms:CreateGrant

Delete

aoss:GetSecurityPolicy,
aoss:DeleteSecurityPolicy

Read

aoss:GetSecurityPolicy,
kms:DescribeKey