salmon-fish-42319
12/10/2021, 5:51 PMconst policyElastiCache = new aws.iam.Policy("FooServiceElastiCache", {
path: "/",
description: "Foo Service ElastiCache",
policy: aws.iam.getPolicyDocument({
version: "2012-10-17",
statements: [
{
actions: [ "elaticache:Describe*", "elasticache:List*"],
effect: "Allow",
resources: [redis.arn]
}
]
}),
});