security_policy
Gets an individual security_policy
resource
Overview
Name | security_policy |
Type | Resource |
Description | security_policy |
Id | awscc.opensearchserverless.security_policy |
Fields
Name | Datatype | Description |
---|---|---|
description | string | The description of the policy |
policy | string | The JSON policy document that is the content for the policy |
name | string | The name of the policy |
type | string | |
region | string | AWS 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