Returns information about configured OpenSearch Serverless security policies¶
Description¶
Returns information about configured OpenSearch Serverless security policies.
Usage¶
Arguments¶
-
type[required] The type of policy.
-
resourceResource filters (can be collection or indexes) that policies can apply to.
-
nextTokenIf your initial
list_security_policiesoperation returns anextToken, you can include the returnednextTokenin subsequentlist_security_policiesoperations, which returns results in the next page. -
maxResultsAn optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. The default is 20.
Value¶
A list with the following syntax:
list(
securityPolicySummaries = list(
list(
type = "encryption"|"network",
name = "string",
policyVersion = "string",
description = "string",
createdDate = 123,
lastModifiedDate = 123
)
),
nextToken = "string"
)