resourcePolicy

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

Parameters

value

A resource-based policy document that contains permissions to add to the specified table. 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. When you attach a resource-based policy while creating a table, the policy creation is strongly consistent. For information about the considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.


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

Parameters

argument

A resource-based policy document that contains permissions to add to the specified table. 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. When you attach a resource-based policy while creating a table, the policy creation is strongly consistent. For information about the considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.