Class CfnPermissionProps.Jsii$Proxy
- All Implemented Interfaces:
CfnPermissionProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnPermissionProps
CfnPermissionProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.CfnPermissionProps
CfnPermissionProps.Builder, CfnPermissionProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnPermissionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnPermissionProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringThe action that the principal can use on the function.final StringFor Alexa Smart Home functions, a token that the invoker must supply.final StringThe name or ARN of the Lambda function, version, or alias.final StringThe type of authentication that your function URL uses.final ObjectRestricts thelambda:InvokeFunctionaction to function URL calls.final StringThe AWS service , AWS account , IAM user, or IAM role that invokes the function.final StringThe identifier for your organization in AWS Organizations .final StringFor AWS service , the ID of the AWS account that owns the resource.final StringFor AWS services , the ARN of the AWS resource that invokes the function.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnPermissionProps.Builder.
-
-
Method Details
-
getAction
Description copied from interface:CfnPermissionPropsThe action that the principal can use on the function.For example,
lambda:InvokeFunctionorlambda:GetFunction.- Specified by:
getActionin interfaceCfnPermissionProps- See Also:
-
getFunctionName
Description copied from interface:CfnPermissionPropsThe name or ARN of the Lambda function, version, or alias.Name formats - Function name –
my-function(name-only),my-function:v1(with alias).- Function ARN –
arn:aws:lambda:us-west-2:123456789012:function:my-function. - Partial ARN –
123456789012:function:my-function.
You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
- Specified by:
getFunctionNamein interfaceCfnPermissionProps- See Also:
- Function ARN –
-
getPrincipal
Description copied from interface:CfnPermissionPropsThe AWS service , AWS account , IAM user, or IAM role that invokes the function.If you specify a service, use
SourceArnorSourceAccountto limit who can invoke the function through that service.- Specified by:
getPrincipalin interfaceCfnPermissionProps- See Also:
-
getEventSourceToken
Description copied from interface:CfnPermissionPropsFor Alexa Smart Home functions, a token that the invoker must supply.- Specified by:
getEventSourceTokenin interfaceCfnPermissionProps- See Also:
-
getFunctionUrlAuthType
Description copied from interface:CfnPermissionPropsThe type of authentication that your function URL uses.Set to
AWS_IAMif you want to restrict access to authenticated users only. Set toNONEif you want to bypass IAM authentication to create a public endpoint. For more information, see Control access to Lambda function URLs .- Specified by:
getFunctionUrlAuthTypein interfaceCfnPermissionProps- See Also:
-
getInvokedViaFunctionUrl
Description copied from interface:CfnPermissionPropsRestricts thelambda:InvokeFunctionaction to function URL calls.When set to
true, this prevents the principal from invoking the function by any means other than the function URL. For more information, see Control access to Lambda function URLs .Returns union: either
BooleanorIResolvable- Specified by:
getInvokedViaFunctionUrlin interfaceCfnPermissionProps- See Also:
-
getPrincipalOrgId
Description copied from interface:CfnPermissionPropsThe identifier for your organization in AWS Organizations .Use this to grant permissions to all the AWS accounts under this organization.
- Specified by:
getPrincipalOrgIdin interfaceCfnPermissionProps- See Also:
-
getSourceAccount
Description copied from interface:CfnPermissionPropsFor AWS service , the ID of the AWS account that owns the resource.Use this together with
SourceArnto ensure that the specified account owns the resource. It is possible for an Amazon S3 bucket to be deleted by its owner and recreated by another account.- Specified by:
getSourceAccountin interfaceCfnPermissionProps- See Also:
-
getSourceArn
Description copied from interface:CfnPermissionPropsFor AWS services , the ARN of the AWS resource that invokes the function.For example, an Amazon S3 bucket or Amazon SNS topic.
Note that Lambda configures the comparison using the
StringLikeoperator.- Specified by:
getSourceArnin interfaceCfnPermissionProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-