resourcePolicy

@JvmName(name = "idbuxsrcepfwyluo")
suspend fun resourcePolicy(value: Output<TableResourcePolicyArgs>)
@JvmName(name = "thnkbnffpfsqqfml")
suspend fun resourcePolicy(value: TableResourcePolicyArgs?)

Parameters

value

Creates or updates a resource-based policy document that contains the permissions for DDB resources, such as a table's streams. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see Using resource-based policies for and Resource-based policy examples.


@JvmName(name = "nrcysncvlbcjacuj")
suspend fun resourcePolicy(argument: suspend TableResourcePolicyArgsBuilder.() -> Unit)

Parameters

argument

Creates or updates a resource-based policy document that contains the permissions for DDB resources, such as a table's streams. Resource-based policies let you define access permissions by specifying who has access to each resource, and the actions they are allowed to perform on each resource. In a CFNshort template, you can provide the policy in JSON or YAML format because CFNshort converts YAML to JSON before submitting it to DDB. For more information about resource-based policies, see Using resource-based policies for and Resource-based policy examples.