getResourcePolicy
inline suspend fun ElasticLoadBalancingV2Client.getResourcePolicy(crossinline block: GetResourcePolicyRequest.Builder.() -> Unit): GetResourcePolicyResponse
Retrieves the resource policy for a specified resource.
Samples
fun main() {
//sampleStart
// This example retrieves the resource policy for the specified trust store.
elasticLoadBalancingV2Client.getResourcePolicy {
resourceArn = "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a067"
}
//sampleEnd
}