Class FunctionAttributes.Jsii$Proxy
- All Implemented Interfaces:
FunctionAttributes
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- FunctionAttributes
FunctionAttributes
-
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.FunctionAttributes
FunctionAttributes.Builder, FunctionAttributes.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(FunctionAttributes.Builder builder) Constructor that initializes the object based on literal property values passed by theFunctionAttributes.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 Architecture
The architecture of this Lambda Function (this is an optional attribute and defaults to X86_64).final String
The ARN of the Lambda function.final IRole
getRole()
The IAM execution role associated with this function.final Boolean
Setting this property informs the CDK that the imported function is in the same environment as the stack.final ISecurityGroup
The security group of this Lambda, if in a VPC.final Boolean
Setting this property informs the CDK that the imported function ALREADY HAS the necessary permissions for what you are trying to do.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 theFunctionAttributes.Builder
.
-
-
Method Details
-
getFunctionArn
Description copied from interface:FunctionAttributes
The ARN of the Lambda function.Format: arn:
:lambda: :<account-id>:function:<function-name> - Specified by:
getFunctionArn
in interfaceFunctionAttributes
-
getArchitecture
Description copied from interface:FunctionAttributes
The architecture of this Lambda Function (this is an optional attribute and defaults to X86_64).Default: - Architecture.X86_64
- Specified by:
getArchitecture
in interfaceFunctionAttributes
-
getRole
Description copied from interface:FunctionAttributes
The IAM execution role associated with this function.If the role is not specified, any role-related operations will no-op.
- Specified by:
getRole
in interfaceFunctionAttributes
-
getSameEnvironment
Description copied from interface:FunctionAttributes
Setting this property informs the CDK that the imported function is in the same environment as the stack.This affects certain behaviours such as, whether this function's permission can be modified. When not configured, the CDK attempts to auto-determine this. For environment agnostic stacks, i.e., stacks where the account is not specified with the
env
property, this is determined to be false.Set this to property ONLY IF the imported function is in the same account as the stack it's imported in.
Default: - depends: true, if the Stack is configured with an explicit `env` (account and region) and the account is the same as this function. For environment-agnostic stacks this will default to `false`.
- Specified by:
getSameEnvironment
in interfaceFunctionAttributes
-
getSecurityGroup
Description copied from interface:FunctionAttributes
The security group of this Lambda, if in a VPC.This needs to be given in order to support allowing connections to this Lambda.
- Specified by:
getSecurityGroup
in interfaceFunctionAttributes
-
getSkipPermissions
Description copied from interface:FunctionAttributes
Setting this property informs the CDK that the imported function ALREADY HAS the necessary permissions for what you are trying to do.When not configured, the CDK attempts to auto-determine whether or not additional permissions are necessary on the function when grant APIs are used. If the CDK tried to add permissions on an imported lambda, it will fail.
Set this property ONLY IF you are committing to manage the imported function's permissions outside of CDK. You are acknowledging that your CDK code alone will have insufficient permissions to access the imported function.
Default: false
- Specified by:
getSkipPermissions
in interfaceFunctionAttributes
-
$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()
-