@Stability(value=Experimental) @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(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String functionArn,
IRole role,
Boolean sameEnvironment,
ISecurityGroup securityGroup)
Constructor that initializes the object based on literal property values passed by the
FunctionAttributes.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getFunctionArn()
(experimental) The ARN of the Lambda function.
|
IRole |
getRole()
(experimental) The IAM execution role associated with this function.
|
Boolean |
getSameEnvironment()
(experimental) Setting this property informs the CDK that the imported function is in the same environment as the stack.
|
ISecurityGroup |
getSecurityGroup()
(experimental) The security group of this Lambda, if in a VPC.
|
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(String functionArn, IRole role, Boolean sameEnvironment, ISecurityGroup securityGroup)
FunctionAttributes.Builder.public final String getFunctionArn()
FunctionAttributes
Format: arn:
getFunctionArn 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 FunctionAttributes@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.