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.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lambda.FunctionAttributes
FunctionAttributes.Builder, FunctionAttributes.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(FunctionAttributes.Builder builder) Constructor that initializes the object based on literal property values passed by theFunctionAttributes.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 ArchitectureThe architecture of this Lambda Function (this is an optional attribute and defaults to X86_64).final StringThe ARN of the Lambda function.final IRolegetRole()The IAM execution role associated with this function.final BooleanSetting this property informs the CDK that the imported function is in the same environment as the stack.final ISecurityGroupThe security group of this Lambda, if in a VPC.final String(deprecated) Id of the security group of this Lambda, if in a VPC.final BooleanSetting this property informs the CDK that the imported function ALREADY HAS the necessary permissions for what you are trying to do.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 theFunctionAttributes.Builder.
-
-
Method Details
-
getFunctionArn
Description copied from interface:FunctionAttributesThe ARN of the Lambda function.Format: arn:
:lambda: :<account-id>:function:<function-name> - Specified by:
getFunctionArnin interfaceFunctionAttributes
-
getArchitecture
Description copied from interface:FunctionAttributesThe architecture of this Lambda Function (this is an optional attribute and defaults to X86_64).Default: - Architecture.X86_64
- Specified by:
getArchitecturein interfaceFunctionAttributes
-
getRole
Description copied from interface:FunctionAttributesThe IAM execution role associated with this function.If the role is not specified, any role-related operations will no-op.
- Specified by:
getRolein interfaceFunctionAttributes
-
getSameEnvironment
Description copied from interface:FunctionAttributesSetting 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
envproperty, 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:
getSameEnvironmentin interfaceFunctionAttributes
-
getSecurityGroup
Description copied from interface:FunctionAttributesThe 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:
getSecurityGroupin interfaceFunctionAttributes
-
getSecurityGroupId
Description copied from interface:FunctionAttributes(deprecated) Id of 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:
getSecurityGroupIdin interfaceFunctionAttributes
-
getSkipPermissions
Description copied from interface:FunctionAttributesSetting 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:
getSkipPermissionsin interfaceFunctionAttributes
-
$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()
-