Skip to content

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

permission(input)

Parameters

Returns Object

InputArgs

actions

Type string[]

The IAM actions that can be performed.

{
actions: ["s3:*"]
}

resources

Type Input<string>[]

The resourcess specified using the IAM ARN format.

{
resources: ["arn:aws:s3:::my-bucket/*"]
}