getComponentPolicy

Retrieves a component policy.

Samples

// The following example retrieves the resource policy that s applied to a component that the owner
// shared with another account.
val resp = imagebuilderClient.getComponentPolicy {
    componentArn = "arn:aws:imagebuilder:us-west-2:111122223333:component/my-shared-component/1.0.0/1"
}