resourcePolicy

@JvmName(name = "iwhvqrheuoclgtqh")
suspend fun resourcePolicy(value: Output<GlobalTableResourcePolicyArgs>)
@JvmName(name = "hjdcicxjlfiwjpax")
suspend fun resourcePolicy(value: GlobalTableResourcePolicyArgs?)

Parameters

value

A resource-based policy document that contains permissions to add to the specified replica of a DynamoDB global table. 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 CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see Using resource-based policies for DynamoDB and Resource-based policy examples .


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

Parameters

argument

A resource-based policy document that contains permissions to add to the specified replica of a DynamoDB global table. 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 CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see Using resource-based policies for DynamoDB and Resource-based policy examples .