AWS Linkable helper
Reference doc for the `sst.aws.permission` helper.
The AWS Permission Linkable helper is used to define the AWS permissions included with the
sst.Linkable
component.
sst.aws.permission({ actions: ["lambda:InvokeFunction"], resources: ["*"]})
Functions
permission
InputArgs
actions
effect?
Type “
allow
”
|
“
deny
”
Default “allow”
Configures whether the permission is allowed or denied.
{ effect: "deny"}
resources
Type Input
<
string
>
[]
The resourcess specified using the IAM ARN format.
{ resources: ["arn:aws:s3:::my-bucket/*"]}