@Generated(value="jsii-pacmak/0.7.8 (build 100f5ad)", date="2018-10-26T17:58:07.469Z") public interface Permission extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Permission.Builder
A builder for
Permission |
static class |
Permission.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
static Permission.Builder |
builder() |
String |
getAction()
The Lambda actions that you want to allow in this statement.
|
String |
getEventSourceToken()
A unique token that must be supplied by the principal invoking the
function.
|
software.amazon.awscdk.services.iam.PolicyPrincipal |
getPrincipal()
The entity for which you are granting permission to invoke the Lambda
function.
|
String |
getSourceAccount()
The AWS account ID (without hyphens) of the source owner.
|
String |
getSourceArn()
The ARN of a resource that is invoking your function.
|
void |
setAction(String value)
The Lambda actions that you want to allow in this statement.
|
void |
setEventSourceToken(String value)
A unique token that must be supplied by the principal invoking the
function.
|
void |
setPrincipal(software.amazon.awscdk.services.iam.PolicyPrincipal value)
The entity for which you are granting permission to invoke the Lambda
function.
|
void |
setSourceAccount(String value)
The AWS account ID (without hyphens) of the source owner.
|
void |
setSourceArn(String value)
The ARN of a resource that is invoking your function.
|
software.amazon.awscdk.services.iam.PolicyPrincipal getPrincipal()
void setPrincipal(software.amazon.awscdk.services.iam.PolicyPrincipal value)
String getAction()
void setAction(String value)
String getEventSourceToken()
void setEventSourceToken(String value)
String getSourceAccount()
void setSourceAccount(String value)
String getSourceArn()
void setSourceArn(String value)
static Permission.Builder builder()
Permission.Builder of PermissionCopyright © 2018. All rights reserved.