Header menu logo FsCDK

GrantBuilder Type

Constructors

Constructor Description

GrantBuilder()

Full Usage: GrantBuilder()

Returns: GrantBuilder
Returns: GrantBuilder

Instance members

Instance member Description

this.Combine

Full Usage: this.Combine

Parameters:
Returns: GrantConfig
state1 : GrantConfig
state2 : GrantConfig
Returns: GrantConfig

customAccess grantFunc

Full Usage: customAccess grantFunc

Parameters:
    grantFunc : Table -> Function -> unit - A function that takes the table and Lambda function to apply custom grants.

Returns: GrantConfig

Applies custom grant logic.

grantFunc : Table -> Function -> unit

A function that takes the table and Lambda function to apply custom grants.

Returns: GrantConfig

this.Delay

Full Usage: this.Delay

Parameters:
Returns: GrantConfig
Modifiers: inline
f : unit -> GrantConfig
Returns: GrantConfig

this.For

Full Usage: this.For

Parameters:
Returns: GrantConfig
Modifiers: inline
config : GrantConfig
f : unit -> GrantConfig
Returns: GrantConfig

lambda lambdaConstructId

Full Usage: lambda lambdaConstructId

Parameters:
    lambdaConstructId : string - The construct ID of the Lambda function.

Returns: GrantConfig

Sets the Lambda function for the grant.

lambdaConstructId : string

The construct ID of the Lambda function.

Returns: GrantConfig

readAccess

Full Usage: readAccess

Returns: GrantConfig

Grants read access to the table.

Returns: GrantConfig

readWriteAccess

Full Usage: readWriteAccess

Returns: GrantConfig

Grants read and write access to the table.

Returns: GrantConfig

this.Run

Full Usage: this.Run

Parameters:
Returns: GrantSpec
config : GrantConfig
Returns: GrantSpec

table tableConstructId

Full Usage: table tableConstructId

Parameters:
    tableConstructId : string - The construct ID of the table.

Returns: GrantConfig

Sets the DynamoDB table for the grant.

tableConstructId : string

The construct ID of the table.

Returns: GrantConfig

writeAccess

Full Usage: writeAccess

Returns: GrantConfig

Grants write access to the table.

Returns: GrantConfig

this.Yield

Full Usage: this.Yield

Parameters:
    () : unit

Returns: GrantConfig
() : unit
Returns: GrantConfig

this.Zero

Full Usage: this.Zero

Returns: GrantConfig
Returns: GrantConfig

Type something to start searching.