resourcePolicy

@JvmName(name = "cgqjcjfdubxeksan")
suspend fun resourcePolicy(value: Output<AppMonitorResourcePolicyArgs>)
@JvmName(name = "tfwmdjapgqiyalkf")
suspend fun resourcePolicy(value: AppMonitorResourcePolicyArgs?)

Parameters

value

Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see Using resource-based policies with CloudWatch RUM .


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

Parameters

argument

Use this structure to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see Using resource-based policies with CloudWatch RUM .