@Generated(value="jsii-pacmak/0.7.8 (build 100f5ad)", date="2018-10-26T17:58:07.456Z") public class Alias extends FunctionRef
| Modifier | Constructor and Description |
|---|---|
|
Alias(software.amazon.awscdk.Construct parent,
String name,
AliasProps props) |
protected |
Alias(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPermission(String name,
Permission permission)
Adds a permission to the Lambda resource policy.
|
protected Boolean |
getCanCreatePermissions()
Whether the addPermission() call adds any permissions
True for new Lambdas, false for imported Lambdas (they might live in different accounts).
|
String |
getFunctionArn()
ARN of this alias
Used to be able to use Alias in place of a regular Lambda.
|
String |
getFunctionName()
ARN of this alias
Used to be able to use Alias in place of a regular Lambda.
|
software.amazon.awscdk.services.iam.Role |
getRole()
Role associated with this alias
|
addToPipeline, addToPipeline, addToRolePolicy, asBucketNotificationDestination, asEventRuleTarget, asStepFunctionsTaskResource, export, getConnections, getIsBoundToVpc, grantInvoke, grantInvoke, import_, logSubscriptionDestination, metric, metric, metricAll, metricAll, metricAllConcurrentExecutions, metricAllConcurrentExecutions, metricAllDuration, metricAllDuration, metricAllErrors, metricAllErrors, metricAllInvocations, metricAllInvocations, metricAllThrottles, metricAllThrottles, metricAllUnreservedConcurrentExecutions, metricAllUnreservedConcurrentExecutions, metricDuration, metricDuration, metricErrors, metricErrors, metricInvocations, metricInvocations, metricThrottles, metricThrottlesaddChild, addError, addInfo, addMetadata, addMetadata, addMetadata, addWarning, ancestors, ancestors, findChild, getChildren, getContext, getId, getLocked, getMetadata, getParent, getPath, getUniqueId, lock, requireContext, required, setContext, setContext, toString, toTreeString, toTreeString, tryFindChild, unlock, validate, validateTreeprotected Alias(software.amazon.jsii.JsiiObject.InitializationMode mode)
public Alias(software.amazon.awscdk.Construct parent,
String name,
AliasProps props)
public void addPermission(String name, Permission permission)
addPermission in class FunctionRefname - The id ƒor the permission constructprotected Boolean getCanCreatePermissions()
getCanCreatePermissions in class FunctionRefpublic String getFunctionArn()
getFunctionArn in class FunctionRefpublic String getFunctionName()
getFunctionName in class FunctionRef@Nullable public software.amazon.awscdk.services.iam.Role getRole()
getRole in class FunctionRefCopyright © 2018. All rights reserved.