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.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.CfnPermissionProps
CfnPermissionProps.Builder, CfnPermissionProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(CfnPermissionProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnPermissionProps.Builder
.protected
Jsii$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.JsonNode
final boolean
final String
The action that the principal can use on the function.final String
For Alexa Smart Home functions, a token that the invoker must supply.final String
The name or ARN of the Lambda function, version, or alias.final String
The type of authentication that your function URL uses.final String
The AWS service , AWS account , IAM user, or IAM role that invokes the function.final String
The identifier for your organization in AWS Organizations .final String
For AWS service , the ID of the AWS account that owns the resource.final String
For AWS services , the ARN of the AWS resource that invokes the function.final int
hashCode()
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:CfnPermissionProps
The action that the principal can use on the function.For example,
lambda:InvokeFunction
orlambda:GetFunction
.- Specified by:
getAction
in interfaceCfnPermissionProps
- See Also:
-
getFunctionName
Description copied from interface:CfnPermissionProps
The 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:
getFunctionName
in interfaceCfnPermissionProps
- See Also:
- Function ARN –
-
getPrincipal
Description copied from interface:CfnPermissionProps
The AWS service , AWS account , IAM user, or IAM role that invokes the function.If you specify a service, use
SourceArn
orSourceAccount
to limit who can invoke the function through that service.- Specified by:
getPrincipal
in interfaceCfnPermissionProps
- See Also:
-
getEventSourceToken
Description copied from interface:CfnPermissionProps
For Alexa Smart Home functions, a token that the invoker must supply.- Specified by:
getEventSourceToken
in interfaceCfnPermissionProps
- See Also:
-
getFunctionUrlAuthType
Description copied from interface:CfnPermissionProps
The type of authentication that your function URL uses.Set to
AWS_IAM
if you want to restrict access to authenticated users only. Set toNONE
if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs .- Specified by:
getFunctionUrlAuthType
in interfaceCfnPermissionProps
- See Also:
-
getPrincipalOrgId
Description copied from interface:CfnPermissionProps
The identifier for your organization in AWS Organizations .Use this to grant permissions to all the AWS accounts under this organization.
- Specified by:
getPrincipalOrgId
in interfaceCfnPermissionProps
- See Also:
-
getSourceAccount
Description copied from interface:CfnPermissionProps
For AWS service , the ID of the AWS account that owns the resource.Use this together with
SourceArn
to 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:
getSourceAccount
in interfaceCfnPermissionProps
- See Also:
-
getSourceArn
Description copied from interface:CfnPermissionProps
For 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
StringLike
operator.- Specified by:
getSourceArn
in interfaceCfnPermissionProps
- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-