Show / Hide Table of Contents

Class PermissionState

Inheritance
System.Object
InputArgs
ResourceArgs
PermissionState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Lambda
Assembly: Pulumi.Aws.dll
Syntax
public sealed class PermissionState : ResourceArgs

Constructors

View Source

PermissionState()

Declaration
public PermissionState()

Properties

View Source

Action

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.