PermissionState constructor
- Input<
String?> ? action, - Input<
String?> ? eventSourceToken, - Input? function,
- Input<
String?> ? functionUrlAuthType, - Input<
bool?> ? invokedViaFunctionUrl, - Input<
String?> ? principal, - Input<
String?> ? principalOrgId, - Input<
String?> ? qualifier, - Input<
String?> ? region, - Input<
String?> ? sourceAccount, - Input<
String?> ? sourceArn, - Input<
String?> ? statementId, - Input<
String?> ? statementIdPrefix,
Creates a new PermissionState.
action Lambda action to allow in this statement (e.g., lambda:InvokeFunction)
eventSourceToken Event Source Token for Alexa Skills
function Name or ARN of the Lambda function
functionUrlAuthType Lambda Function URL authentication type. Valid values: AWS_IAM or NONE. Only valid with lambda:InvokeFunctionUrl action
invokedViaFunctionUrl Lambda Function URL invoke permission. Only valid with lambda:InvokeFunction action
principal AWS service or account that invokes the function (e.g., s3.amazonaws.com, sns.amazonaws.com, AWS account ID, or AWS IAM principal)
principalOrgId AWS Organizations ID to grant permission to all accounts under this organization
qualifier Lambda function version or alias name
region Region where this resource will be managed. Defaults to the Region set in the provider configuration
sourceAccount AWS account ID of the source owner for cross-account access, S3, or SES
sourceArn ARN of the source resource granting permission to invoke the Lambda function
statementId Statement identifier. Generated by Pulumi if not provided
statementIdPrefix Statement identifier prefix. Conflicts with statementId
Implementation
const PermissionState({
this.action,
this.eventSourceToken,
this.function,
this.functionUrlAuthType,
this.invokedViaFunctionUrl,
this.principal,
this.principalOrgId,
this.qualifier,
this.region,
this.sourceAccount,
this.sourceArn,
this.statementId,
this.statementIdPrefix,
});