aws ram promote-permission-created-from-policy
When you attach a resource-based policy to a resource, RAM automatically creates a resource share of featureSet=CREATED_FROM_POLICY with a managed permission that has the same IAM permissions as the original resource-based policy. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--client-tokenSpecifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--nameSpecifies a name for the promoted customer managed permission.--permission-arnSpecifies the Amazon Resource Name (ARN) of the CREATED_FROM_POLICY permission that you want to promote.