PermissionState class
Input properties used for looking up and filtering Permission resources.
Constructors
-
PermissionState({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.
actionLambda action to allow in this statement (e.g.,lambda:InvokeFunction)eventSourceTokenEvent Source Token for Alexa SkillsfunctionName or ARN of the Lambda functionfunctionUrlAuthTypeLambda Function URL authentication type. Valid values:AWS_IAMorNONE. Only valid withlambda:InvokeFunctionUrlactioninvokedViaFunctionUrlLambda Function URL invoke permission. Only valid withlambda:InvokeFunctionactionprincipalAWS service or account that invokes the function (e.g.,s3.amazonaws.com,sns.amazonaws.com, AWS account ID, or AWS IAM principal)principalOrgIdAWS Organizations ID to grant permission to all accounts under this organizationqualifierLambda function version or alias nameregionRegion where this resource will be managed. Defaults to the Region set in the provider configurationsourceAccountAWS account ID of the source owner for cross-account access, S3, or SESsourceArnARN of the source resource granting permission to invoke the Lambda functionstatementIdStatement identifier. Generated by Pulumi if not providedstatementIdPrefixStatement identifier prefix. Conflicts withstatementIdconst -
PermissionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
action
→ Input<
String?> ? -
Lambda action to allow in this statement (e.g.,
lambda:InvokeFunction)final -
eventSourceToken
→ Input<
String?> ? -
Event Source Token for Alexa Skills
final
- function → Input?
-
Name or ARN of the Lambda function
final
-
functionUrlAuthType
→ Input<
String?> ? -
Lambda Function URL authentication type. Valid values:
AWS_IAMorNONE. Only valid withlambda:InvokeFunctionUrlactionfinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
invokedViaFunctionUrl
→ Input<
bool?> ? -
Lambda Function URL invoke permission. Only valid with
lambda:InvokeFunctionactionfinal -
principal
→ Input<
String?> ? -
AWS service or account that invokes the function (e.g.,
s3.amazonaws.com,sns.amazonaws.com, AWS account ID, or AWS IAM principal)final -
principalOrgId
→ Input<
String?> ? -
AWS Organizations ID to grant permission to all accounts under this organization
final
-
qualifier
→ Input<
String?> ? -
Lambda function version or alias name
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceAccount
→ Input<
String?> ? -
AWS account ID of the source owner for cross-account access, S3, or SES
final
-
sourceArn
→ Input<
String?> ? -
ARN of the source resource granting permission to invoke the Lambda function
final
-
statementId
→ Input<
String?> ? -
Statement identifier. Generated by Pulumi if not provided
final
-
statementIdPrefix
→ Input<
String?> ? -
Statement identifier prefix. Conflicts with
statementIdfinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited