public static final class Permission.Jsii$Pojo extends Object implements Permission
Permission.Permission.Builder, Permission.Jsii$Pojo, Permission.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
protected String |
_action |
protected String |
_eventSourceToken |
protected software.amazon.awscdk.PolicyPrincipal |
_principal |
protected Object |
_sourceAccount |
protected software.amazon.awscdk.Arn |
_sourceArn |
| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Pojo()
Constructor used by builders.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderprotected String _action
protected String _eventSourceToken
protected software.amazon.awscdk.PolicyPrincipal _principal
protected Object _sourceAccount
protected software.amazon.awscdk.Arn _sourceArn
public String getAction()
PermissiongetAction in interface Permissionpublic void setAction(String value)
PermissionsetAction in interface Permissionpublic String getEventSourceToken()
PermissiongetEventSourceToken in interface Permissionpublic void setEventSourceToken(String value)
PermissionsetEventSourceToken in interface Permissionpublic software.amazon.awscdk.PolicyPrincipal getPrincipal()
PermissiongetPrincipal in interface Permissionpublic void setPrincipal(software.amazon.awscdk.PolicyPrincipal value)
PermissionsetPrincipal in interface Permissionpublic Object getSourceAccount()
PermissiongetSourceAccount in interface Permissionpublic void setSourceAccount(Object value)
PermissionsetSourceAccount in interface Permissionpublic software.amazon.awscdk.Arn getSourceArn()
PermissiongetSourceArn in interface Permissionpublic void setSourceArn(software.amazon.awscdk.Arn value)
PermissionsetSourceArn in interface PermissionCopyright © 2018. All rights reserved.