public static final class IFunction.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements IFunction
software.amazon.jsii.JsiiObject.InitializationModeIFunction.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEventSource(IEventSource source) |
void |
addPermission(String id,
Permission permission)
Adds a permission to the Lambda resource policy.
|
void |
addToRolePolicy(software.amazon.awscdk.services.iam.PolicyStatement statement) |
software.amazon.awscdk.services.s3.notifications.BucketNotificationDestinationProps |
asBucketNotificationDestination(String bucketArn,
String bucketId)
Registers this resource to receive notifications for the specified bucket.
|
software.amazon.awscdk.services.stepfunctions.StepFunctionsTaskResourceProps |
asStepFunctionsTaskResource(software.amazon.awscdk.services.stepfunctions.Task callingTask)
Return the properties required for using this object as a Task resource.
|
FunctionAttributes |
export()
Export this Function (without the role).
|
software.amazon.awscdk.services.ec2.Connections |
getConnections() |
List<software.amazon.awscdk.IConstruct> |
getDependencyRoots()
The set of constructs that form the root of this dependable.
|
String |
getFunctionArn()
The ARN fo the function.
|
String |
getFunctionName()
The name of the function.
|
software.amazon.awscdk.services.iam.IPrincipal |
getGrantPrincipal()
The principal to grant permissions to.
|
String |
getId()
Logical ID of this Function.
|
Boolean |
getIsBoundToVpc()
Whether or not this Lambda function was bound to a VPC.
|
software.amazon.awscdk.ConstructNode |
getNode()
The construct node in the scope tree.
|
software.amazon.awscdk.services.iam.IRole |
getRole()
The IAM role associated with this function.
|
software.amazon.awscdk.services.iam.Grant |
grantInvoke(software.amazon.awscdk.services.iam.IGrantable identity)
Grant the given identity permissions to invoke this Lambda.
|
software.amazon.awscdk.services.logs.LogSubscriptionDestination |
logSubscriptionDestination(software.amazon.awscdk.services.logs.ILogGroup sourceLogGroup)
Return the properties required to send subscription events to this destination.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metric(String metricName)
Return the given named metric for this Lambda Return the given named metric for this Function.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metric(String metricName,
software.amazon.awscdk.services.cloudwatch.MetricOptions props)
Return the given named metric for this Lambda Return the given named metric for this Function.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricDuration()
Metric for the Duration of this Lambda How long execution of this Lambda takes.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricDuration(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
Metric for the Duration of this Lambda How long execution of this Lambda takes.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricErrors()
How many invocations of this Lambda fail.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricErrors(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
How many invocations of this Lambda fail.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricInvocations()
Metric for the number of invocations of this Lambda How often this Lambda is invoked.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricInvocations(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
Metric for the number of invocations of this Lambda How often this Lambda is invoked.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricThrottles()
Metric for the number of throttled invocations of this Lambda How often this Lambda is throttled.
|
software.amazon.awscdk.services.cloudwatch.Metric |
metricThrottles(software.amazon.awscdk.services.cloudwatch.MetricOptions props)
Metric for the number of throttled invocations of this Lambda How often this Lambda is throttled.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected Jsii$Proxy(software.amazon.jsii.JsiiObject.InitializationMode mode)
public String getFunctionArn()
getFunctionArn in interface IFunctionpublic String getFunctionName()
getFunctionName in interface IFunctionpublic Boolean getIsBoundToVpc()
getIsBoundToVpc in interface IFunction@Nullable public software.amazon.awscdk.services.iam.IRole getRole()
public software.amazon.awscdk.ConstructNode getNode()
getNode in interface software.amazon.awscdk.IConstructpublic List<software.amazon.awscdk.IConstruct> getDependencyRoots()
getDependencyRoots in interface software.amazon.awscdk.IDependablepublic software.amazon.awscdk.services.ec2.Connections getConnections()
getConnections in interface software.amazon.awscdk.services.ec2.IConnectablepublic software.amazon.awscdk.services.iam.IPrincipal getGrantPrincipal()
getGrantPrincipal in interface software.amazon.awscdk.services.iam.IGrantablepublic void addEventSource(IEventSource source)
addEventSource in interface IFunctionpublic void addPermission(String id, Permission permission)
addPermission in interface IFunctionid - The id ƒor the permission construct.public void addToRolePolicy(software.amazon.awscdk.services.iam.PolicyStatement statement)
addToRolePolicy in interface IFunctionpublic FunctionAttributes export()
public software.amazon.awscdk.services.iam.Grant grantInvoke(software.amazon.awscdk.services.iam.IGrantable identity)
grantInvoke in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metric(String metricName, @Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
public software.amazon.awscdk.services.cloudwatch.Metric metric(String metricName)
public software.amazon.awscdk.services.cloudwatch.Metric metricDuration(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricDuration in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricDuration()
metricDuration in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricErrors(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricErrors in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricErrors()
metricErrors in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricInvocations(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricInvocations in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricInvocations()
metricInvocations in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricThrottles(@Nullable software.amazon.awscdk.services.cloudwatch.MetricOptions props)
metricThrottles in interface IFunctionpublic software.amazon.awscdk.services.cloudwatch.Metric metricThrottles()
metricThrottles in interface IFunctionpublic software.amazon.awscdk.services.logs.LogSubscriptionDestination logSubscriptionDestination(software.amazon.awscdk.services.logs.ILogGroup sourceLogGroup)
logSubscriptionDestination in interface software.amazon.awscdk.services.logs.ILogSubscriptionDestinationpublic software.amazon.awscdk.services.s3.notifications.BucketNotificationDestinationProps asBucketNotificationDestination(String bucketArn, String bucketId)
asBucketNotificationDestination in interface software.amazon.awscdk.services.s3.notifications.IBucketNotificationDestinationbucketArn - The ARN of the bucket.bucketId - A unique ID of this bucket in the stack.public software.amazon.awscdk.services.stepfunctions.StepFunctionsTaskResourceProps asStepFunctionsTaskResource(software.amazon.awscdk.services.stepfunctions.Task callingTask)
asStepFunctionsTaskResource in interface software.amazon.awscdk.services.stepfunctions.IStepFunctionsTaskResourceCopyright © 2019. All rights reserved.