@Stability(value=Stable) @Internal public static final class FunctionAttributes.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements FunctionAttributes
FunctionAttributessoftware.amazon.jsii.JsiiObject.InitializationModeFunctionAttributes.Builder, FunctionAttributes.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(FunctionAttributes.Builder builder)
Constructor that initializes the object based on literal property values passed by the
FunctionAttributes.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Architecture |
getArchitecture()
The architecture of this Lambda Function (this is an optional attribute and defaults to X86_64).
|
String |
getFunctionArn()
The ARN of the Lambda function.
|
IRole |
getRole()
The IAM execution role associated with this function.
|
Boolean |
getSameEnvironment()
Setting this property informs the CDK that the imported function is in the same environment as the stack.
|
ISecurityGroup |
getSecurityGroup()
The security group of this Lambda, if in a VPC.
|
String |
getSecurityGroupId()
(deprecated) Id of the security group of this Lambda, if in a VPC.
|
Boolean |
getSkipPermissions()
Setting this property informs the CDK that the imported function ALREADY HAS the necessary permissions for what you are trying to do.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(FunctionAttributes.Builder builder)
FunctionAttributes.Builder.public final String getFunctionArn()
FunctionAttributes
Format: arn:
getFunctionArn in interface FunctionAttributespublic final Architecture getArchitecture()
FunctionAttributesDefault: - Architecture.X86_64
getArchitecture in interface FunctionAttributespublic final IRole getRole()
FunctionAttributesIf the role is not specified, any role-related operations will no-op.
getRole in interface FunctionAttributespublic final Boolean getSameEnvironment()
FunctionAttributes
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`.
getSameEnvironment in interface FunctionAttributespublic final ISecurityGroup getSecurityGroup()
FunctionAttributesThis needs to be given in order to support allowing connections to this Lambda.
getSecurityGroup in interface FunctionAttributespublic final String getSecurityGroupId()
FunctionAttributesThis needs to be given in order to support allowing connections to this Lambda.
getSecurityGroupId in interface FunctionAttributespublic final Boolean getSkipPermissions()
FunctionAttributesWhen 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
getSkipPermissions in interface FunctionAttributes@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2023. All rights reserved.