Class PermissionState
Inherited Members
Namespace: Pulumi.Aws.Lambda
Assembly: Pulumi.Aws.dll
Syntax
public sealed class PermissionState : ResourceArgs
Constructors
View SourcePermissionState()
Declaration
public PermissionState()
Properties
View SourceAction
The AWS Lambda action you want to allow in this statement. (e.g. lambda:InvokeFunction)
Declaration
public Input<string> Action { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
EventSourceToken
The Event Source Token to validate. Used with Alexa Skills.
Declaration
public Input<string> EventSourceToken { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Function
Name of the Lambda function whose resource policy you are updating
Declaration
public Input<string> Function { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Principal
The principal who is getting this permission.
e.g. s3.amazonaws.com, an AWS account ID, or any valid AWS service principal
such as events.amazonaws.com or sns.amazonaws.com.
Declaration
public Input<string> Principal { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Qualifier
Query parameter to specify function version or alias name.
The permission will then apply to the specific qualified ARN.
e.g. arn:aws:lambda:aws-region:acct-id:function:function-name:2
Declaration
public Input<string> Qualifier { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceAccount
This parameter is used for S3 and SES. The AWS account ID (without a hyphen) of the source owner.
Declaration
public Input<string> SourceAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceArn
When granting Amazon S3 or CloudWatch Events permission to invoke your function, you should specify this field with the Amazon Resource Name (ARN) for the S3 Bucket or CloudWatch Events Rule as its value. This ensures that only events generated from the specified bucket or rule can invoke the function. API Gateway ARNs have a unique structure described here.
Declaration
public Input<string> SourceArn { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StatementId
A unique statement identifier. By default generated by this provider.
Declaration
public Input<string> StatementId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StatementIdPrefix
A statement identifier prefix. This provider will generate a unique suffix. Conflicts with statement_id.
Declaration
public Input<string> StatementIdPrefix { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |