policy

@JvmName(name = "wefsoymuwfnamvav")
suspend fun policy(value: Output<ResourcePolicyPolicyArgs>)
@JvmName(name = "wuurvkurfumlnmsy")
suspend fun policy(value: ResourcePolicyPolicyArgs?)

Parameters

value

A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.


@JvmName(name = "kylgjnrgrvbpjrhl")
suspend fun policy(argument: suspend ResourcePolicyPolicyArgsBuilder.() -> Unit)

Parameters

argument

A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.