resourcePolicy

@JvmName(name = "pdedmemhvgmxelrp")
suspend fun resourcePolicy(value: Output<GlobalTableResourcePolicyArgs>)
@JvmName(name = "vdvqhrxainfgppwm")
suspend fun resourcePolicy(value: GlobalTableResourcePolicyArgs)

Parameters

value

A resource-based policy document that contains the permissions for the specified stream of a DynamoDB global table replica. 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 . You can update the ResourcePolicy property if you've specified more than one table using the AWS ::DynamoDB::GlobalTable resource.


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

Parameters

argument

A resource-based policy document that contains the permissions for the specified stream of a DynamoDB global table replica. 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 . You can update the ResourcePolicy property if you've specified more than one table using the AWS ::DynamoDB::GlobalTable resource.