PermissionState constructor

const PermissionState({
  1. Input<String?>? action,
  2. Input<String?>? eventSourceToken,
  3. Input? function,
  4. Input<String?>? functionUrlAuthType,
  5. Input<bool?>? invokedViaFunctionUrl,
  6. Input<String?>? principal,
  7. Input<String?>? principalOrgId,
  8. Input<String?>? qualifier,
  9. Input<String?>? region,
  10. Input<String?>? sourceAccount,
  11. Input<String?>? sourceArn,
  12. Input<String?>? statementId,
  13. 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,
});