public interface Permission
extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Permission.Builder
A fluent step builder class for
Permission. |
static class |
Permission.Jsii$Pojo
A PoJo (plain-old-java-object) class that implements
Permission. |
static class |
Permission.Jsii$Proxy
A proxy class which for javascript object literal which adhere to this interface.
|
| 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.PolicyPrincipal |
getPrincipal()
The entity for which you are granting permission to invoke the Lambda
function.
|
Object |
getSourceAccount()
The AWS account ID (without hyphens) of the source owner.
|
software.amazon.awscdk.Arn |
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.PolicyPrincipal value)
The entity for which you are granting permission to invoke the Lambda
function.
|
void |
setSourceAccount(Object value)
The AWS account ID (without hyphens) of the source owner.
|
void |
setSourceArn(software.amazon.awscdk.Arn value)
The ARN of a resource that is invoking your function.
|
String getAction()
void setAction(String value)
String getEventSourceToken()
void setEventSourceToken(String value)
software.amazon.awscdk.PolicyPrincipal getPrincipal()
void setPrincipal(software.amazon.awscdk.PolicyPrincipal value)
Object getSourceAccount()
void setSourceAccount(Object value)
software.amazon.awscdk.Arn getSourceArn()
void setSourceArn(software.amazon.awscdk.Arn value)
static Permission.Builder builder()
Copyright © 2018. All rights reserved.