putComponentPolicy
inline suspend fun ImagebuilderClient.putComponentPolicy(crossinline block: PutComponentPolicyRequest.Builder.() -> Unit): PutComponentPolicyResponse
Applies a policy to a component. We recommend that you call the RAM API CreateResourceShare to share resources. If you call the Image Builder API PutComponentPolicy
, you must also call the RAM API PromoteResourceShareCreatedFromPolicy in order for the resource to be visible to all principals with whom the resource is shared.